[med-svn] [Git][med-team/biomaj3-core][master] 5 commits: patch-out usage of python3-pkg-resources (Closes: #1125857)
Alexandre Detiste (@detiste-guest)
gitlab at salsa.debian.org
Mon Aug 31 14:55:36 BST 2026
Alexandre Detiste pushed to branch master at Debian Med / biomaj3-core
Commits:
ac9a1071 by Alexandre Detiste at 2026-08-31T15:49:37+02:00
patch-out usage of python3-pkg-resources (Closes: #1125857)
- - - - -
5d25a24c by Alexandre Detiste at 2026-08-31T15:50:19+02:00
drop "Rules-Requires-Root: no": it is the default now
- - - - -
787877e1 by Alexandre Detiste at 2026-08-31T15:50:51+02:00
bump Standards-Version to 4.7.4, drop Priority: tag
- - - - -
437289f3 by Alexandre Detiste at 2026-08-31T15:51:44+02:00
rewrite d/watch in v5 format
- - - - -
7aa2667c by Alexandre Detiste at 2026-08-31T15:55:27+02:00
release
- - - - -
5 changed files:
- debian/changelog
- debian/control
- + debian/patches/pkg_resources.patch
- + debian/patches/series
- debian/watch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+biomaj3-core (3.0.28-5) unstable; urgency=medium
+
+ * Team upload.
+ * Patch-out usage of python3-pkg-resources (Closes: #1125857)
+ * Drop "Rules-Requires-Root: no": it is the default now
+ * Bump Standards-Version to 4.7.4, drop Priority: tag
+ * Rewrite d/watch in v5 format
+
+ -- Alexandre Detiste <tchet at debian.org> Mon, 31 Aug 2026 15:55:11 +0200
+
biomaj3-core (3.0.28-4) unstable; urgency=medium
* Team upload.
=====================================
debian/control
=====================================
@@ -2,7 +2,6 @@ Source: biomaj3-core
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
Uploaders: Olivier Sallou <osallou at debian.org>
Section: python
-Priority: optional
Build-Depends: debhelper-compat (= 13),
dh-sequence-python3,
python3-all,
@@ -10,16 +9,14 @@ Build-Depends: debhelper-compat (= 13),
python3-pytest,
python3-requests,
python3-setuptools
-Standards-Version: 4.6.2
+Standards-Version: 4.7.4
Vcs-Browser: https://salsa.debian.org/med-team/biomaj3-core
Vcs-Git: https://salsa.debian.org/med-team/biomaj3-core.git
Homepage: https://github.com/genouest/biomaj-core
-Rules-Requires-Root: no
Package: python3-biomaj3-core
Architecture: all
Depends:
- python3-pkg-resources,
${misc:Depends},
${python3:Depends}
Recommends: ${python3:Recommends}
=====================================
debian/patches/pkg_resources.patch
=====================================
@@ -0,0 +1,20 @@
+--- a/biomaj_core/utils.py
++++ b/biomaj_core/utils.py
+@@ -8,7 +8,7 @@
+ import subprocess
+ from subprocess import CalledProcessError
+ import socket
+-import pkg_resources
++from importlib.metadata import version
+ from mimetypes import MimeTypes
+ import requests
+
+@@ -33,7 +33,7 @@
+ if req.status_code == 200:
+ req_json = req.json()
+ latest = str(req_json['info']['version'])
+- return (pkg_resources.get_distribution(module_name).version, latest)
++ return (version(module_name), latest)
+ except Exception as e:
+ logging.debug(str(e))
+ return (None, latest)
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+pkg_resources.patch
=====================================
debian/watch
=====================================
@@ -1,3 +1,5 @@
-version=4
-opts="repack,compression=xz,filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/biomaj3-core-$1\.tar\.gz/" \
- https://github.com/genouest/biomaj-core/tags .*/v?(\d\S+)\.tar\.gz
+Version: 5
+
+Template: Github
+Owner: genouest
+Project: biomaj-core
View it on GitLab: https://salsa.debian.org/med-team/biomaj3-core/-/compare/da4d68c980de733d58a25da901af84c257bd255f...7aa2667c38367b5ba4143a0b1db2e403c2a3e623
--
View it on GitLab: https://salsa.debian.org/med-team/biomaj3-core/-/compare/da4d68c980de733d58a25da901af84c257bd255f...7aa2667c38367b5ba4143a0b1db2e403c2a3e623
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260831/6983f99e/attachment-0001.htm>
More information about the debian-med-commit
mailing list