[Python-modules-commits] [pykcs11] 01/01: * Build for all supported python3 versions (this is better than the fix proposed in #793553) - Change python3-dev build-dep back to python3-all-dev - Update debian/rules to loop over the list of supported python3 versions during build/install (debian/rules is now doing explicitly for each python3 what it was doing implicitly via the makefile before)
Scott Kitterman
kitterman at moszumanska.debian.org
Wed Dec 30 22:47:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
kitterman pushed a commit to branch master
in repository pykcs11.
commit 90a5236a77ccb3e7d8e47ce023e2aaf6f9a32740
Author: Scott Kitterman <scott at kitterman.com>
Date: Wed Dec 30 17:47:29 2015 -0500
* Build for all supported python3 versions (this is better than the fix
proposed in #793553)
- Change python3-dev build-dep back to python3-all-dev
- Update debian/rules to loop over the list of supported python3 versions
during build/install (debian/rules is now doing explicitly for each
python3 what it was doing implicitly via the makefile before)
---
debian/changelog | 12 ++++++++++++
debian/control | 2 +-
debian/rules | 19 ++++++++++++++++++-
3 files changed, 31 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 58124e2..db3733d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+pykcs11 (1.3.1-2) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Build for all supported python3 versions (this is better than the fix
+ proposed in #793553)
+ - Change python3-dev build-dep back to python3-all-dev
+ - Update debian/rules to loop over the list of supported python3 versions
+ during build/install (debian/rules is now doing explicitly for each
+ python3 what it was doing implicitly via the makefile before)
+
+ -- Scott Kitterman <scott at kitterman.com> Wed, 30 Dec 2015 21:53:00 +0000
+
pykcs11 (1.3.1-1) unstable; urgency=medium
* new upstream version
diff --git a/debian/control b/debian/control
index c9657c8..50261f8 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: pykcs11
Priority: optional
Maintainer: Ludovic Rousseau <rousseau at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 9), swig, python3-dev
+Build-Depends: debhelper (>= 9), swig, python3-all-dev
Standards-Version: 3.9.6
Section: python
Vcs-Git: git://anonscm.debian.org/python-modules/packages/pykcs11.git
diff --git a/debian/rules b/debian/rules
index fdaac92..2b7cf4e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,21 @@
#!/usr/bin/make -f
+build3vers := $(shell py3versions -sv)
+
%:
- PYTHON=python3 dh $@ --with python3
+ dh $@ --with python3
+
+override_dh_auto_build:
+ set -e && for i in $(build3vers); do \
+ cd src ; swig -c++ -python pykcs11.i ; cp pykcs11_wrap.cxx pykcs11_wrap.cpp ; cp LowLevel.py ../PyKCS11 ; \
+ cd .. ; python$$i setup.py build; \
+ done
+
+
+override_dh_auto_install:
+ set -e && for i in $(build3vers); do \
+ python$$i setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-pykcs11; \
+ done
+
+override_dh_auto_clean:
+ python3 setup.py clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pykcs11.git
More information about the Python-modules-commits
mailing list