[med-svn] [Git][med-team/python-pairix][master] 3 commits: Enable building against two Python3 versions

Andreas Tille gitlab at salsa.debian.org
Thu Oct 29 16:33:21 GMT 2020



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


Commits:
470515ed by Andreas Tille at 2020-10-29T17:17:49+01:00
Enable building against two Python3 versions

- - - - -
f861cb55 by Andreas Tille at 2020-10-29T17:29:43+01:00
Fix typo

- - - - -
ee0a6d59 by Andreas Tille at 2020-10-29T17:31:14+01:00
Do not install VERSION.txt

- - - - -


2 changed files:

- debian/copyright
- debian/rules


Changes:

=====================================
debian/copyright
=====================================
@@ -7,7 +7,7 @@ Copyright: 2016 Soo Lee
            2008-2009 Genome Research Ltd (GRL)
 License: MIT
 
-Files: src/bgzf.c:
+Files: src/bgzf.c
 Copyright: 2008 Broad Institute / Massachusetts Institute of Technology
            2011 Attractive Chaos <attractor at live.co.uk>
 License: MIT


=====================================
debian/rules
=====================================
@@ -12,6 +12,7 @@ export PYBUILD_BEFORE_TEST=cp -a $(CURDIR)/samples {build_dir}; cp -a $(CURDIR)/
 override_dh_installexamples:
 	dh_installexamples
 	mkdir -p debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)/examples
-	mv debian/python3-$(PYBUILD_NAME)/usr/lib/python3*/dist-packages/samples debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)/examples
+	mv debian/python3-$(PYBUILD_NAME)/usr/lib/python`py3versions -d -v`/dist-packages/samples debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)/examples
 	cd debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)/examples && tar caf samples.tar.xz samples && rm -rf samples
-	mv debian/python3-$(PYBUILD_NAME)/usr/lib/python3*/dist-packages/VERSION.txt debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)/examples
+	mv debian/python3-$(PYBUILD_NAME)/usr/lib/python`py3versions -d -v`/dist-packages/VERSION.txt debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)/examples
+	find debian -name VERSION.txt -delete



View it on GitLab: https://salsa.debian.org/med-team/python-pairix/-/compare/6d8281b6e478620a495afaacb73f334b2d637b2f...ee0a6d59642417f26d7a95aaba45781b9287da2d

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pairix/-/compare/6d8281b6e478620a495afaacb73f334b2d637b2f...ee0a6d59642417f26d7a95aaba45781b9287da2d
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/20201029/7ffe16f2/attachment.html>


More information about the debian-med-commit mailing list