[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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


Reply to: