[med-svn] [Git][med-team/python-pbcore][master] 4 commits: d/rules: remove nudge to use setuptools test.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Tue Sep 3 20:58:18 BST 2024



Étienne Mollier pushed to branch master at Debian Med / python-pbcore


Commits:
10b3d4aa by Étienne Mollier at 2024-09-03T21:54:37+02:00
d/rules: remove nudge to use setuptools test.

Closes: #1080396

- - - - -
ae8729d6 by Étienne Mollier at 2024-09-03T21:56:39+02:00
d/rules; remove unknown files in Python module directory.

- - - - -
21177477 by Étienne Mollier at 2024-09-03T21:57:11+02:00
d/control: declare compliance to standards version 4.7.0.

- - - - -
88352f46 by Étienne Mollier at 2024-09-03T21:57:43+02:00
Ready for upload to unstable.

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+python-pbcore (2.1.2+dfsg-8) unstable; urgency=medium
+
+  * d/rules: remove nudge to use setuptools test. (Closes: #1080396)
+  * d/rules; remove unknown files in Python module directory.
+  * d/control: declare compliance to standards version 4.7.0.
+
+ -- Étienne Mollier <emollier at debian.org>  Tue, 03 Sep 2024 21:57:31 +0200
+
 python-pbcore (2.1.2+dfsg-7) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -23,7 +23,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-xmlschema <!nocheck>,
                pylint,
                python3-coverage
-Standards-Version: 4.6.2
+Standards-Version: 4.7.0
 Vcs-Browser: https://salsa.debian.org/med-team/python-pbcore
 Vcs-Git: https://salsa.debian.org/med-team/python-pbcore.git
 Homepage: https://github.com/PacificBiosciences/pbcore


=====================================
debian/rules
=====================================
@@ -20,10 +20,13 @@ override_dh_install:
 	dh_install
 	mv $(DESTDIR)/usr/bin/.open $(DESTDIR)/usr/bin/pbopen
 	rmdir $(DOCDIR)/usr/share/doc/python3-pbcore/html/_images/
+	rm -vf $(DESTDIR)/usr/lib/python3/dist-packages/coverage.xml
+	rm -vf $(DESTDIR)/usr/lib/python3/dist-packages/nosetests.xml
 
 override_dh_installdocs:
 	dh_installdocs -X _source
 
+override_dh_auto_test: export PYTHONPATH=$(CURDIR)
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	# we need to exclude tests requiring pbtestdata which is not packaged
@@ -31,9 +34,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	mv `grep -l pbtestdata tests/*.py` /tmp/tests_avoid
 	# for whatever reason this test is failing as well - just skip it for the moment
 	mv tests/test_pbdataset_filters.py /tmp/tests_avoid
-	PYBUILD_SYSTEM=custom \
-	PYBUILD_TEST_ARGS="{interpreter} setup.py test" \
-	  dh_auto_test
+	dh_auto_test
 	# copy working test data into doc dir as user examples
 	mkdir -p _tmp/usr/share/doc/python3-$(PYBUILD_NAME)
 	cp -a tests _tmp/usr/share/doc/python3-$(PYBUILD_NAME)



View it on GitLab: https://salsa.debian.org/med-team/python-pbcore/-/compare/c5fc21df057369b57e3b83f7c33739956b24f275...88352f46fef19e6af3a2fbbc5f9b45375a584630

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pbcore/-/compare/c5fc21df057369b57e3b83f7c33739956b24f275...88352f46fef19e6af3a2fbbc5f9b45375a584630
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/20240903/d19c8518/attachment-0001.htm>


More information about the debian-med-commit mailing list