Commit e3b10959 authored by Andreas Tille's avatar Andreas Tille
Browse files

Lintian override for Python3 modules

parent 206cdeed
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
python-pyvcf (0.6.8+git20170215.476169c-1) UNRELEASED; urgency=medium
python-pyvcf (0.6.8+git20170215.476169c-1) unstable; urgency=medium

  * d/watch: use git mode
  * drop unneeded get-orig-source target
@@ -7,8 +7,9 @@ python-pyvcf (0.6.8+git20170215.476169c-1) UNRELEASED; urgency=medium
  * Standards-Version: 4.1.5
  * Testsuite: autopkgtest-pkg-python
  * Lintian override for Suggests which is correct
  * Lintian override for Python3 modules

 -- Andreas Tille <tille@debian.org>  Wed, 18 Jul 2018 10:55:07 +0200
 -- Andreas Tille <tille@debian.org>  Sat, 04 Aug 2018 04:03:05 +0200

python-pyvcf (0.6.8-1) unstable; urgency=medium

+4 −0
Original line number Diff line number Diff line
# parser.py is different for Python3 versions - so accept this
python3-pyvcf: python-module-in-wrong-location usr/lib/python3.7/dist-packages/vcf/ usr/lib/python3/dist-packages/vcf/
python3-pyvcf: python-module-in-wrong-location usr/lib/python3.7/dist-packages/vcf/parser.py usr/lib/python3/dist-packages/vcf/parser.py
+7 −0
Original line number Diff line number Diff line
@@ -27,3 +27,10 @@ override_dh_install:
	    mv $${py} $(helperdir)/bin/`basename $${py} .py` ; \
	done
	rm -rf debian/python-$(PYBUILD_NAME)/usr/bin

override_dh_python3:
	dh_python3 --verbose
# parser.py is different for Python3 versions - so do not fiddle around with this
#	# No idea why this installs to python3.7 but should rather be python3
#	vcfp3dir=`find debian/*/usr/lib -type d -name python3.7` ; \
#	if [ "$${vcfp3dir}" != "" ] ; then mv $${vcfp3dir} `dirname $${vcfp3dir}`/python3 ; fi