[med-svn] [Git][med-team/kleborate][master] patch-out python3-pkg-resources
Alexandre Detiste (@detiste-guest)
gitlab at salsa.debian.org
Sat Feb 14 21:56:01 GMT 2026
Alexandre Detiste pushed to branch master at Debian Med / kleborate
Commits:
4df97a8d by Alexandre Detiste at 2026-02-14T22:55:50+01:00
patch-out python3-pkg-resources
- - - - -
3 changed files:
- debian/control
- + debian/patches/python3-pkg-resources.patch
- debian/patches/series
Changes:
=====================================
debian/control
=====================================
@@ -24,7 +24,6 @@ Depends:
kaptive-data,
mash,
ncbi-blast+,
- python3-pkg-resources,
${misc:Depends},
${python3:Depends},
Recommends:
=====================================
debian/patches/python3-pkg-resources.patch
=====================================
@@ -0,0 +1,19 @@
+--- a/kleborate/__main__.py
++++ b/kleborate/__main__.py
+@@ -21,7 +21,6 @@
+ import sys
+ import tempfile
+
+-from pkg_resources import resource_filename
+ from .contig_stats import get_contig_stat_results
+ from .help_formatter import MyParser, MyHelpFormatter
+ from .kaptive import get_kaptive_paths, get_kaptive_results
+@@ -365,7 +364,7 @@
+
+
+ def get_data_path():
+- return resource_filename(__name__, 'data')
++ return '/usr/lib/python3/dist-packages/kleborate/data'
+
+
+ def get_chromosome_mlst_header():
=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ python3.patch
use_debian_installed_kaptive.patch
bigendian.patch
python3.12.patch
+python3-pkg-resources.patch
View it on GitLab: https://salsa.debian.org/med-team/kleborate/-/commit/4df97a8d9784b3cee85197ed9c60babf365eec9e
--
View it on GitLab: https://salsa.debian.org/med-team/kleborate/-/commit/4df97a8d9784b3cee85197ed9c60babf365eec9e
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/20260214/8fdbd5f4/attachment-0001.htm>
More information about the debian-med-commit
mailing list