[med-svn] [Git][med-team/python-gffutils][master] 3 commits: Revert "d/rules: expand existing cleanup after calling dh_install."

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Tue Nov 4 19:55:13 GMT 2025



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


Commits:
ef3ce37b by Étienne Mollier at 2025-11-04T20:47:15+01:00
Revert "d/rules: expand existing cleanup after calling dh_install."

This reverts commit a53eaaa18f8b6b8ff31ede30856aabe2eaf0e7a0.  The
file cleansed is needed by the test suite in autopkgtest context.

- - - - -
77389020 by Étienne Mollier at 2025-11-04T20:53:17+01:00
d/rules: preserve original FBgn0031208.gtf.db.

Closes: #1120066
Thanks: Chris Lamb

- - - - -
c7129091 by Étienne Mollier at 2025-11-04T20:54:38+01:00
d/changelog: ready for upload to unstable.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+python-gffutils (0.13-4) unstable; urgency=medium
+
+  * d/rules: preserve original FBgn0031208.gtf.db.
+    Thanks to Chris Lamb (Closes: #1120066)
+  * d/watch: convert to PyPI watch file v5.
+  * pytest8.4.patch: file the dep3 header.
+
+ -- Étienne Mollier <emollier at debian.org>  Tue, 04 Nov 2025 20:54:03 +0100
+
 python-gffutils (0.13-3) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/rules
=====================================
@@ -14,6 +14,9 @@ export PYBUILD_AFTER_TEST=find . -name tmp.db -delete
 	dh $@ --buildsystem=pybuild
 
 override_dh_auto_build:
+	# Preserve original data file, see #1120066.
+	cp $(CURDIR)/gffutils/test/data/FBgn0031208.gtf.db \
+		$(CURDIR)/gffutils/test/data/FBgn0031208.gtf.db.orig
 	dh_auto_build
 	PYTHONPATH=$(CURDIR) PATH=$(CURDIR)/gffutils/scripts/:$(PATH) \
 		   help2man --version-string=${DEB_VERSION_UPSTREAM} --no-info \
@@ -60,7 +63,12 @@ override_dh_auto_build:
 override_dh_auto_test:
 	PATH=$(CURDIR)/gffutils/scripts/:$(PATH) dh_auto_test
 
+execute_before_dh_auto_install:
+	# Restore original data file, see #1120066.
+	mv -f $(CURDIR)/gffutils/test/data/FBgn0031208.gtf.db.orig \
+		$(CURDIR)/gffutils/test/data/FBgn0031208.gtf.db
+
 override_dh_install:
 	dh_install
 	find debian -name "*.bak" -delete
-	find debian -name "*.db" -delete
+	find debian -name "issue_*.db" -delete



View it on GitLab: https://salsa.debian.org/med-team/python-gffutils/-/compare/6ecbae3a452472a247f96207da08a5fb66eb2c13...c7129091c1f3482fa707ff18b973f770bc76bb06

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-gffutils/-/compare/6ecbae3a452472a247f96207da08a5fb66eb2c13...c7129091c1f3482fa707ff18b973f770bc76bb06
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/20251104/687f8a75/attachment-0001.htm>


More information about the debian-med-commit mailing list