[med-svn] [Git][med-team/python-pyvcf][master] Lintian override for Python3 modules

Andreas Tille gitlab at salsa.debian.org
Sat Aug 4 14:59:16 BST 2018


Andreas Tille pushed to branch master at Debian Med / python-pyvcf


Commits:
e3b10959 by Andreas Tille at 2018-08-04T13:54:31Z
Lintian override for Python3 modules

- - - - -


3 changed files:

- debian/changelog
- + debian/python3-pyvcf.lintian-overrides
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-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 at debian.org>  Wed, 18 Jul 2018 10:55:07 +0200
+ -- Andreas Tille <tille at debian.org>  Sat, 04 Aug 2018 04:03:05 +0200
 
 python-pyvcf (0.6.8-1) unstable; urgency=medium
 


=====================================
debian/python3-pyvcf.lintian-overrides
=====================================
--- /dev/null
+++ b/debian/python3-pyvcf.lintian-overrides
@@ -0,0 +1,4 @@
+# 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
+


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -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



View it on GitLab: https://salsa.debian.org/med-team/python-pyvcf/commit/e3b10959392f24cc1bc7f18325c2d733cc93c832

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pyvcf/commit/e3b10959392f24cc1bc7f18325c2d733cc93c832
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180804/0cb2357f/attachment-0001.html>


More information about the debian-med-commit mailing list