[med-svn] [Git][med-team/python-pymummer][master] patch-out pkg_resources
Alexandre Detiste (@detiste-guest)
gitlab at salsa.debian.org
Fri Feb 21 21:30:55 GMT 2025
Alexandre Detiste pushed to branch master at Debian Med / python-pymummer
Commits:
36f79ecd by Alexandre Detiste at 2025-02-21T22:30:38+01:00
patch-out pkg_resources
- - - - -
4 changed files:
- debian/changelog
- debian/control
- + debian/patches/remove_pkg_resources.patch
- + debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+python-pymummer (0.11.0-5) unstable; urgency=medium
+
+ * Team upload.
+ * Patch-out undeclared usage of pkg_resources
+ * Standards-Version: 4.7.0
+
+ -- Alexandre Detiste <tchet at debian.org> Fri, 21 Feb 2025 22:29:47 +0100
+
python-pymummer (0.11.0-4) unstable; urgency=medium
* Team upload.
=====================================
debian/control
=====================================
@@ -12,7 +12,7 @@ Build-Depends: debhelper-compat (= 13),
fastaq,
mummer,
python3-pytest <!nocheck>
-Standards-Version: 4.6.2
+Standards-Version: 4.7.0
Vcs-Browser: https://salsa.debian.org/med-team/python-pymummer
Vcs-Git: https://salsa.debian.org/med-team/python-pymummer.git
Homepage: https://github.com/sanger-pathogens/pymummer
=====================================
debian/patches/remove_pkg_resources.patch
=====================================
@@ -0,0 +1,12 @@
+--- a/pymummer/__init__.py
++++ b/pymummer/__init__.py
+@@ -1,7 +1,7 @@
+-from pkg_resources import get_distribution
++from importlib.metadata import version
+
+ try:
+- __version__ = get_distribution('pymummer').version
++ __version__ = version('pymummer')
+ except:
+ __version__ = 'local'
+
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+remove_pkg_resources.patch
View it on GitLab: https://salsa.debian.org/med-team/python-pymummer/-/commit/36f79ecde997331d7a2b07da383c095b194baa91
--
View it on GitLab: https://salsa.debian.org/med-team/python-pymummer/-/commit/36f79ecde997331d7a2b07da383c095b194baa91
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/20250221/d667cd66/attachment-0001.htm>
More information about the debian-med-commit
mailing list