From 518887a96674e019dc4d3e7495c888d41cdb3b1b Mon Sep 17 00:00:00 2001 From: Marcin Kulisz Date: Sun, 1 Sep 2019 13:09:32 +0100 Subject: Removing python2 dependencies --- debian/control | 13 ------------- debian/copyright | 2 +- debian/python-fysom.docs | 1 - debian/rules | 2 +- debian/tests/control.autodep8 | 2 +- debian/tests/import | 10 ---------- 6 files changed, 3 insertions(+), 27 deletions(-) delete mode 100644 debian/python-fysom.docs delete mode 100644 debian/tests/import diff --git a/debian/control b/debian/control index 070d662..589f74b 100644 --- a/debian/control +++ b/debian/control @@ -3,9 +3,7 @@ Maintainer: Marcin Kulisz Section: python Priority: optional Build-Depends: debhelper-compat (= 12), - python-all (>= 2.6.6-3), python3-all, - python-setuptools (>= 0.6b3), python3-setuptools, dh-python Standards-Version: 4.4.0 @@ -14,17 +12,6 @@ Homepage: https://pypi.python.org/pypi/fysom Vcs-Git: https://salsa.debian.org/debian/python-fysom.git Vcs-Browser: https://salsa.debian.org/debian/python-fysom -Package: python-fysom -Architecture: all -Depends: ${misc:Depends}, - ${python:Depends} -Description: pYthOn Finite State Machine - This is standalone Python micro-framework providing a finite state machine. - . - Originally implemented in Java by Jake Gordon. - . - This is the Python 2 version of the package. - Package: python3-fysom Architecture: all Depends: ${misc:Depends}, diff --git a/debian/copyright b/debian/copyright index 6ab42f9..54f16c6 100644 --- a/debian/copyright +++ b/debian/copyright @@ -7,7 +7,7 @@ Copyright: 2013-2017 Maximilien Riehl 2011 Jake Gordon 2011 Mansour Behabadi Stefano - 2014-2018 Marcin Kulisz (kuLa) + 2014-2019 Marcin Kulisz (kuLa) License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/debian/python-fysom.docs b/debian/python-fysom.docs deleted file mode 100644 index e845566..0000000 --- a/debian/python-fysom.docs +++ /dev/null @@ -1 +0,0 @@ -README diff --git a/debian/rules b/debian/rules index 551ceee..a7639be 100755 --- a/debian/rules +++ b/debian/rules @@ -3,4 +3,4 @@ export PYBUILD_NAME=fysom %: - dh $@ --with python2,python3 --buildsystem=pybuild + dh $@ --with python3 --buildsystem=pybuild diff --git a/debian/tests/control.autodep8 b/debian/tests/control.autodep8 index b85fdae..cb8e4cf 100644 --- a/debian/tests/control.autodep8 +++ b/debian/tests/control.autodep8 @@ -1,2 +1,2 @@ -Tests: import import3 +Tests: import3 Depends: @ diff --git a/debian/tests/import b/debian/tests/import deleted file mode 100644 index 743e1d0..0000000 --- a/debian/tests/import +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env python -from fysom import Fysom - -fsm = Fysom({'initial': 'green', - 'events': [ - {'name': 'warn', 'src': 'green', 'dst': 'yellow'}, - {'name': 'panic', 'src': 'yellow', 'dst': 'red'}, - {'name': 'calm', 'src': 'red', 'dst': 'yellow'}, - {'name': 'clear', 'src': 'yellow', 'dst': 'green'}]}) -print(fsm.current) -- cgit v1.2.3