[Python-modules-commits] [python-stopit] 01/01: add python3 support
Adrian Alves
alvesadrian-guest at moszumanska.debian.org
Fri Apr 29 13:03:25 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 fc3caefdde407797179587133c12f9d4a058843b
Author: Adrian Alves <aalves at gmail.com>
Date: Fri Apr 29 10:03:09 2016 -0300
add python3 support
---
debian/control | 12 ++++++++++++
debian/rules | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index b05188f..480a45c 100644
--- a/debian/control
+++ b/debian/control
@@ -19,3 +19,15 @@ Description: Timeout control decorator and context manager
- 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.
+
+Package: python3-stopit
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+XB-Python-Version: ${python: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 package contains the extension built for the Python3 interpreter.
diff --git a/debian/rules b/debian/rules
index 701921f..a99bb09 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
+export PYBUILD_DESTDIR_python2=debian/python-stopit/
+export PYBUILD_DESTDIR_python3=debian/python-stopit/
%:
- dh $@ --with python2
+ 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