override_dh_python3 to fix Py3 shebang.

This commit is contained in:
Thomas Goirand 2015-10-23 22:20:12 +00:00
parent 4d4a0e5a3c
commit cd5fe82825
2 changed files with 9 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
migrate (0.10.0-3) unstable; urgency=medium
* override_dh_python3 to fix Py3 shebang.
-- Thomas Goirand <zigo@debian.org> Fri, 23 Oct 2015 22:18:52 +0000
migrate (0.10.0-2) unstable; urgency=medium
* Uploading to unstable.

3
debian/rules vendored
View File

@ -37,6 +37,9 @@ override_dh_auto_install:
mv $(CURDIR)/debian/python-migrate/usr/bin/migrate-repository $(CURDIR)/debian/python-migrate/usr/bin/python2-migrate-repository
mv $(CURDIR)/debian/python3-migrate/usr/bin/migrate-repository $(CURDIR)/debian/python3-migrate/usr/bin/python3-migrate-repository
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=$(CURDIR) sphinx-build -b html -a -E -N -D today="$(BUILD_DATE)" doc/source debian/python-migrate-doc/usr/share/doc/python-migrate-doc/html/