[Debian-med-packaging] Bug#848479: Please help with creating pure Python 3 package (Was: Bug#848479: openmolar: Should Suggest the metapackage default-mysql-*)

Andreas Tille andreas at an3as.eu
Sat Dec 17 20:14:27 UTC 2016


Hi,

I noticed that openmolar has a new upstream version which I injected
into packaging Git[1].  Upstream moved to Python 3 and so tried I for
the packaging.

Unfortunately I have severe trouble to stop the build system from always
trying pyversions instead of py3versions.  For instance I injected

override_dh_auto_build:
	# No idea why this would call
	#           python setup.py build --force
	# without this override
	python3 setup.py build --force

into d/rules - otherwise I get:

   dh_auto_build
Can't exec "pyversions": No such file or directory at /usr/share/perl5/Debian/Debhelper/Buildsystem/python_distutils.pm line 121.
dh_auto_build: failed to run pyversions
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

I wonder what I might do wrong here.

Any hint would be welcome

     Andreas.

[1] https://anonscm.debian.org/cgit/debian-med/openmolar.git

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list