[med-svn] [Git][med-team/pyranges][master] 4 commits: Enable building with more than one Python3 version

Andreas Tille gitlab at salsa.debian.org
Mon Nov 2 07:32:57 GMT 2020



Andreas Tille pushed to branch master at Debian Med / pyranges


Commits:
501227df by Andreas Tille at 2020-11-01T07:55:28+01:00
Enable building with more than one Python3 version

- - - - -
4398e0f2 by Andreas Tille at 2020-11-01T08:05:29+01:00
Remove __pycache__ dirs

- - - - -
214b3895 by Andreas Tille at 2020-11-01T08:35:12+01:00
Move examples to example package

- - - - -
4aa3a838 by Andreas Tille at 2020-11-02T08:32:22+01:00
Move examples out of the main package

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+pyranges (0.0.79+ds-2) UNRELEASED; urgency=medium
+
+  * Team upload
+  * Move tests out of Python modules dir to examples package
+  * Enable building with more than one Python3 version
+
+ -- Andreas Tille <tille at debian.org>  Sun, 01 Nov 2020 07:48:24 +0100
+
 pyranges (0.0.79+ds-1) unstable; urgency=medium
 
   * Initial release (Closes: #963015)


=====================================
debian/rules
=====================================
@@ -27,8 +27,14 @@ override_dh_install:
 	find debian/ -name *.bam* | xargs rm -rf
 	find debian/ -name 'hi' | xargs rm -rf
 	mkdir -p debian/$(examples)/usr/share/doc/python3-$(PYBUILD_NAME)/examples
-	mv debian/python3-$(PYBUILD_NAME)/usr/lib/python3*/dist-packages/tests/* debian/$(examples)/usr/share/doc/python3-$(PYBUILD_NAME)/examples
-	rmdir debian/python3-$(PYBUILD_NAME)/usr/lib/python3*/dist-packages/tests
+	mv debian/python3-$(PYBUILD_NAME)/usr/lib/python`py3versions -dv`/dist-packages/tests/* debian/$(examples)/usr/share/doc/python3-$(PYBUILD_NAME)/examples
+	rm -rf debian/python3-$(PYBUILD_NAME)/usr/lib/python3*/dist-packages/tests
+	find debian -name __pycache__ -type d | xargs rm -rf
+
+override_dh_python3:
+	dh_python3
+	mkdir -p debian/python3-$(PYBUILD_NAME)-examples/usr/lib/python3/dist-packages/pyranges/example_data
+	mv debian/python3-$(PYBUILD_NAME)/usr/lib/python3/dist-packages/pyranges/example_data debian/python3-$(PYBUILD_NAME)-examples/usr/lib/python3/dist-packages/pyranges
 
 override_dh_auto_test:
 	echo "FIXME: skip tests for the moment"



View it on GitLab: https://salsa.debian.org/med-team/pyranges/-/compare/6e1b18159aa5395cf2cdaa4692401ca42e491763...4aa3a83828f2220432531a3edac92fc3d23653f0

-- 
View it on GitLab: https://salsa.debian.org/med-team/pyranges/-/compare/6e1b18159aa5395cf2cdaa4692401ca42e491763...4aa3a83828f2220432531a3edac92fc3d23653f0
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/20201102/07732d05/attachment-0001.html>


More information about the debian-med-commit mailing list