[Python-modules-commits] [python-stopit] 01/01: python3 compatibility
Adrian Alves
alvesadrian-guest at moszumanska.debian.org
Fri May 6 01:48:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
alvesadrian-guest pushed a commit to branch master
in repository python-stopit.
commit d16834ef2faa7701de9736dd65cef4950db321f4
Author: Adrian Alves <aalves at gmail.com>
Date: Thu May 5 22:48:35 2016 -0300
python3 compatibility
---
debian/control | 24 ++++++++++++++++++++++--
debian/rules | 7 ++++---
2 files changed, 26 insertions(+), 5 deletions(-)
diff --git a/debian/control b/debian/control
index 55ee60f..9c046fd 100644
--- a/debian/control
+++ b/debian/control
@@ -3,12 +3,20 @@ Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Adrian Alves <aalves at gmail.com>
-Build-Depends: debhelper (>= 9), python-all, dh-python, python-setuptools
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-setuptools,
+ python3-all,
+ python3-setuptools
Standards-Version: 3.9.8
Homepage: https://github.com/glenfant/stopit
-XS-Python-Version: all
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-stopit.git
+Build-Depends: debhelper (>= 9), python-all, dh-python, python-setuptools
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-stopit.git
+XS-Python-Version: all
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.2
Package: python-stopit
Architecture: all
@@ -21,3 +29,15 @@ Description: Timeout control decorator and context manager
- two decorators that may stop its decorated callables on timeout.
.
This is the Python 2 compatible package.
+
+Package: python3-stopit
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+XB-Python-Version: ${python3:Versions}
+Description: Timeout control decorator and context manager
+ This Python module provides:
+ - a function that raises an exception in another thread, including the main thread.
+ - two context managers that may stop its inner block activity on timeout.
+ - two decorators that may stop its decorated callables on timeout.
+ .
+ This is the Python 3 compatible package.
diff --git a/debian/rules b/debian/rules
index 5d4af2e..2d3114c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
-export PYBUILD_DESTDIR_python2=debian/python-stopit/
-
+export PYBUILD_NAME=python-stopit
+#export PYBUILD_DESTDIR_python2=debian/python-stopit/
+# Luciano am not sure if we need this ^^^^^
%:
- dh $@ --with python2 --buildsystem=pybuild
+ dh $@ --with python2,python3 --buildsystem=pybuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-stopit.git
More information about the Python-modules-commits
mailing list