Source: shatag
Version: 0.4-2
Severity: serious
Tags: patch
Justification: fails to build from source
Now that #683551 is fixed, shatag FTBFS:
| fakeroot debian/rules clean
| dh clean --with python3
| dh_testdir
| debian/rules override_dh_auto_clean
| make[1]: Entering directory `/build/shatag-4yrdWO/shatag-0.4'
| dh_auto_clean
| Can't exec "pyversions": No such file or directory at
/usr/share/perl5/Debian/Debhelper/Buildsystem/python_distutils.pm line 120.
| dh_auto_clean: failed to run pyversions
| make[1]: *** [override_dh_auto_clean] Error 2
The solution is not to use dh_auto_*, since they'd try running setup.py
with python2.X. I also removed non-policy-compliant X-Python-Version
field from debian/control in my patch.
--
Jakub Wilk
diff -Nru shatag-0.4/debian/control shatag-0.4/debian/control
--- shatag-0.4/debian/control 2012-06-16 13:21:21.000000000 +0200
+++ shatag-0.4/debian/control 2013-05-07 01:19:07.000000000 +0200
@@ -10,7 +10,6 @@
Homepage: https://bitbucket.org/maugier/shatag
Standards-Version: 3.9.3
X-Python3-Version: >= 3.2
-X-Python-Version: none
Package: shatag
Architecture: all
diff -Nru shatag-0.4/debian/rules shatag-0.4/debian/rules
--- shatag-0.4/debian/rules 2012-05-18 15:13:55.000000000 +0200
+++ shatag-0.4/debian/rules 2013-05-07 01:19:03.000000000 +0200
@@ -4,17 +4,14 @@
dh $@ --with python3
override_dh_auto_clean:
- dh_auto_clean
rm -rf build shatag.egg-info
override_dh_auto_build:
- dh_auto_build
set -ex; for python in $(shell py3versions -r); do \
$$python setup.py build; \
done;
override_dh_auto_install:
- dh_auto_install
set -ex; for python in $(shell py3versions -r); do \
$$python setup.py install --root=$(CURDIR)/debian/shatag --install-layout=deb; \
done;