[med-svn] [Git][med-team/ariba][master] 5 commits: patch-out usage of python3-pkg-resources (Closes: #1125829)

Alexandre Detiste (@detiste-guest) gitlab at salsa.debian.org
Sun Jan 18 21:26:57 GMT 2026



Alexandre Detiste pushed to branch master at Debian Med / ariba


Commits:
8f09c594 by Alexandre Detiste at 2026-01-18T22:23:41+01:00
patch-out usage of python3-pkg-resources (Closes: #1125829)

- - - - -
d0acf72d by Alexandre Detiste at 2026-01-18T22:24:45+01:00
drop "Rules-Requires-Root: no": it is the default now

- - - - -
a978aef7 by Alexandre Detiste at 2026-01-18T22:25:20+01:00
bump Standards-Version to 4.7.3, drop Priority: tag

- - - - -
20305fc7 by Alexandre Detiste at 2026-01-18T22:26:22+01:00
rewrite d/rules in newer & shorter syntax

- - - - -
1e922635 by Alexandre Detiste at 2026-01-18T22:26:51+01:00
release

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/remove_pkg_resources.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+ariba (2.14.7+ds-11) unstable; urgency=medium
+
+  * Team Upload
+  * Patch-out usage of python3-pkg-resources (Closes: #1125829)
+  * Drop "Rules-Requires-Root: no": it is the default now
+  * Bump Standards-Version to 4.7.3, drop Priority: tag
+  * Rewrite d/rules in newer & shorter syntax
+
+ -- Alexandre Detiste <tchet at debian.org>  Sun, 18 Jan 2026 22:26:33 +0100
+
 ariba (2.14.7+ds-10) unstable; urgency=medium
 
   * Stop restricting build to Python 3.13. Thanks to Adrian Bunk for the


=====================================
debian/control
=====================================
@@ -3,7 +3,6 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Sascha Steinbiss <satta at debian.org>,
            Étienne Mollier <emollier at debian.org>
 Section: science
-Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-sequence-python3,
                python3-biopython,
@@ -26,11 +25,10 @@ Build-Depends: debhelper-compat (= 13),
                help2man,
                asciidoctor,
                spades [amd64] <!nocheck>
-Standards-Version: 4.7.0
+Standards-Version: 4.7.3
 Vcs-Browser: https://salsa.debian.org/med-team/ariba
 Vcs-Git: https://salsa.debian.org/med-team/ariba.git
 Homepage: https://github.com/sanger-pathogens/ariba
-Rules-Requires-Root: no
 
 Package: ariba
 Architecture: any
@@ -45,7 +43,6 @@ Depends: ${misc:Depends},
          mummer,
          python3-biopython,
          python3-dendropy,
-         python3-pkg-resources,
          python3-pymummer,
          python3-pysam,
          python3-matplotlib,


=====================================
debian/patches/remove_pkg_resources.patch
=====================================
@@ -0,0 +1,15 @@
+Forward: no, upstream is inactive
+
+--- a/ariba/__init__.py
++++ b/ariba/__init__.py
+@@ -1,9 +1,4 @@
+-from pkg_resources import get_distribution
+-
+-try:
+-    __version__ = get_distribution('ariba').version
+-except:
+-    __version__ = 'local'
++__version__ = '2.14.7'
+ 
+ 
+ __all__ = [


=====================================
debian/patches/series
=====================================
@@ -7,3 +7,4 @@ run-debian-spades-wrapper.patch
 python3.12.patch
 python3.12_syntax_warning.patch
 py3.13.patch
+remove_pkg_resources.patch


=====================================
debian/rules
=====================================
@@ -14,18 +14,15 @@ debfolder := $(CURDIR)/debian
 %:
 	dh $@ --buildsystem=pybuild
 
-override_dh_auto_clean:
+execute_before_dh_auto_clean:
 	rm -rf $(mandir)
-	dh_auto_clean --
 
-override_dh_installman:
+execute_beforte_dh_installman:
 	mkdir -p $(mandir)
 	asciidoctor -a docdate='' -b manpage -o $(mandir)/ariba.1 $(debfolder)/ariba.1.adoc
-	dh_installman --
 
 # Normalize timestamps of test data files modified during test runs (reproducibility fix)
-override_dh_fixperms:
-	dh_fixperms
+execute_after_dh_fixperms:
 	find debian/ariba -path '*/pubmlst_ref_prepare.test_load_fa_and_clusters.in/gene*.tfa' \
 		-printf 'Normalizing timestamp: %p\n' \
 		-exec touch --date="@$(SOURCE_DATE_EPOCH)" {} +



View it on GitLab: https://salsa.debian.org/med-team/ariba/-/compare/9fc84195e6db9675391884832f3f127f49103733...1e9226351a9554a3587b6cfdc67fd46105323da4

-- 
View it on GitLab: https://salsa.debian.org/med-team/ariba/-/compare/9fc84195e6db9675391884832f3f127f49103733...1e9226351a9554a3587b6cfdc67fd46105323da4
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/20260118/c8470871/attachment-0001.htm>


More information about the debian-med-commit mailing list