override_dh_python3 to fix Py3 shebang.

This commit is contained in:
Thomas Goirand
2015-10-23 23:48:49 +00:00
parent 0d21fd6b0a
commit 719cd71d82
2 changed files with 9 additions and 0 deletions

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
python-pysaml2 (3.0.0-3) unstable; urgency=medium
* override_dh_python3 to fix Py3 shebang.
-- Thomas Goirand <zigo@debian.org> Fri, 23 Oct 2015 23:48:31 +0000
python-pysaml2 (3.0.0-2) unstable; urgency=medium
* Uploading to unstable.

3
debian/rules vendored
View File

@@ -27,6 +27,9 @@ override_dh_install:
done
rm -rf $(CURDIR)/debian/python*-pysaml2/usr/lib/python*/dist-packages/*.pth
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
set -e && for pyvers in 2.7 $(PYTHON3S) ; do \