[Python-modules-commits] [python-prctl] 05/14: Add a python3 package (Closes: #858448)
Felix Geyer
fgeyer at moszumanska.debian.org
Sat May 6 19:33:46 UTC 2017
This is an automated email from the git hooks/post-receive script.
fgeyer pushed a commit to branch master
in repository python-prctl.
commit a6fad8e5fdfec168b7bce00c44f4cdbf7ec20901
Author: Felix Geyer <fgeyer at debian.org>
Date: Wed May 3 20:55:57 2017 +0200
Add a python3 package (Closes: #858448)
---
debian/control | 14 ++++++++++++--
debian/{docs => python-prctl.docs} | 0
debian/{docs => python3-prctl.docs} | 0
debian/rules | 11 ++++++-----
4 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/debian/control b/debian/control
index 5de8e65..1e7207b 100644
--- a/debian/control
+++ b/debian/control
@@ -3,9 +3,10 @@ Section: python
Priority: extra
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Dennis Kaarsemaker <dennis at kaarsemaker.net>, Andrew Pollock <apollock at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), dh-python, python-all-dev (>= 2.5), libcap-dev (>=2), python-sphinx (>= 0.6)
+Build-Depends: debhelper (>= 7.0.50~), dh-python, python-all-dev (>= 2.5), python3-all-dev, libcap-dev (>=2), python-sphinx (>= 0.6)
Standards-Version: 3.8.4
-XS-Python-Version: >= 2.5
+X-Python-Version: >= 2.5
+X-Python3-Version: >= 3.0
Vcs-Git: http://github.com/seveas/python-prctl
Package: python-prctl
@@ -16,3 +17,12 @@ Description: Python interface to the prctl() syscall
process' behaviour. Usage of the function is fairly messy though, due to
limitations in C and Linux. This module provides a nice non-messy Python(ic)
interface.
+
+Package: python3-prctl
+Architecture: any
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Python interface to the prctl() syscall
+ The Linux prctl() function allows you to control specific characteristics of a
+ process' behaviour. Usage of the function is fairly messy though, due to
+ limitations in C and Linux. This module provides a nice non-messy Python(ic)
+ interface.
diff --git a/debian/docs b/debian/python-prctl.docs
similarity index 100%
copy from debian/docs
copy to debian/python-prctl.docs
diff --git a/debian/docs b/debian/python3-prctl.docs
similarity index 100%
rename from debian/docs
rename to debian/python3-prctl.docs
diff --git a/debian/rules b/debian/rules
index 984175f..aa68de5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,15 @@
#!/usr/bin/make -f
+export PYBUILD_NAME = prctl
export PRCTL_SKIP_KERNEL_CHECK = 1
%:
- dh $@ --with python2
+ dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_build:
- dh_auto_build
- dh_auto_build --sourcedirectory=docs -- html
+ dh_auto_build --buildsystem=pybuild
+ dh_auto_build --buildsystem=makefile --sourcedirectory=docs -- html
override_dh_auto_clean:
- dh_auto_clean
- dh_auto_clean --sourcedirectory=docs
+ dh_auto_clean --buildsystem=pybuild
+ dh_auto_clean --buildsystem=makefile --sourcedirectory=docs
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-prctl.git
More information about the Python-modules-commits
mailing list