override_dh_python3 to fix Py3 shebang.

This commit is contained in:
Thomas Goirand
2015-10-23 23:56:00 +00:00
parent 76ce7275d7
commit 218e9ffce7
2 changed files with 9 additions and 0 deletions

6
debian/changelog vendored
View File

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

3
debian/rules vendored
View File

@@ -24,6 +24,9 @@ override_dh_install:
mv $(CURDIR)/debian/python3-tempest-lib/usr/bin/skip-tracker $(CURDIR)/debian/python3-tempest-lib/usr/bin/python3-skip-tracker
rm -rf $(CURDIR)/debian/python*-tempest-lib/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)))
echo "===> Running tests"