Package: shatag
Severity: normal
Version: 0.4-2
User: debian-pyt...@lists.debian.org
Usertags: tag=python3.3
Tags: patch

Shatag currently generates a versioned shebang
#!/usr/bin/python3.2

Thus it results in an extra python3.2 dependency, instead of simple
python3 (>= 3.2) dependency.

This is incorrect shebang and instead should be
#!/usr/bin/python3

There are a couple of ways to implement this, a quick way is to apply
the attached patch.

diff -Nru shatag-0.4/debian/rules shatag-0.4/debian/rules
--- shatag-0.4/debian/rules	2012-05-18 13:13:55.000000000 +0000
+++ shatag-0.4/debian/rules	2012-11-02 00:23:50.000000000 +0000
@@ -18,3 +18,6 @@
 	set -ex; for python in $(shell py3versions -r); do \
 		$$python setup.py install --root=$(CURDIR)/debian/shatag --install-layout=deb; \
 	done;
+
+override_dh_python3:
+	dh_python3 --shebang=/usr/bin/python3
Regards,

Dmitrijs.

Reply via email to