[med-svn] [Git][med-team/python-pangolearn][master] 8 commits: use dh-sequence-python3

Alexandre Detiste (@detiste-guest) gitlab at salsa.debian.org
Tue Sep 22 22:18:28 BST 2026



Alexandre Detiste pushed to branch master at Debian Med / python-pangolearn


Commits:
835e9882 by Alexandre Detiste at 2026-09-22T23:14:36+02:00
use dh-sequence-python3

- - - - -
f78adb5b by Alexandre Detiste at 2026-09-22T23:14:47+02:00
wrap-and-sort -ast

- - - - -
e3ba5c92 by Alexandre Detiste at 2026-09-22T23:15:09+02:00
drop "Rules-Requires-Root: no": it is the default now

- - - - -
6366b942 by Alexandre Detiste at 2026-09-22T23:16:17+02:00
rewrite d/watch in v5 format

- - - - -
df439e45 by Alexandre Detiste at 2026-09-22T22:16:29+01:00
Remove redundant Priority: optional from source stanza.

Changes-By: lintian-brush
Fixes: lintian: source: redundant-priority-optional-field
See-also: https://lintian.debian.org/tags/redundant-priority-optional-field.html

- - - - -
d4ff7917 by Alexandre Detiste at 2026-09-22T22:16:30+01:00
Update standards version to 4.7.4, no changes needed.

Upgrade checklist verified:
 4.6.2 → 4.7.0:
  * Package does not use dpkg-divert
 4.7.0 → 4.7.1:
  * Package does not install to non-/usr paths
 4.7.3 → 4.7.4:
  * Package is not in non-free-firmware

Changes-By: lintian-brush
Fixes: lintian: source: ancient-standards-version 4.6.2 (released 2022-12-17) (current is 4.7.4.1)
See-also: https://lintian.debian.org/tags/ancient-standards-version.html

- - - - -
c1037fb0 by Alexandre Detiste at 2026-09-22T23:17:12+02:00
disable useless Salsa CI jobs

- - - - -
aff4b2a0 by Alexandre Detiste at 2026-09-22T23:18:22+02:00
patch out loose "import pkg_resources" (Closes: #1147800)

- - - - -


6 changed files:

- debian/control
- + debian/patches/pkg_resources.patch
- debian/patches/series
- debian/rules
- debian/salsa-ci.yml
- debian/watch


Changes:

=====================================
debian/control
=====================================
@@ -1,25 +1,28 @@
 Source: python-pangolearn
 Section: science
-Priority: optional
 Testsuite: autopkgtest-pkg-python
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Andreas Tille <tille at debian.org>
-Build-Depends: debhelper-compat (= 13),
-               dh-python,
-               python3-all,
-               python3-setuptools
-Standards-Version: 4.6.2
+Uploaders:
+ Andreas Tille <tille at debian.org>,
+Build-Depends:
+ debhelper-compat (= 13),
+ dh-sequence-python3,
+ python3-all,
+ python3-setuptools,
+Standards-Version: 4.7.4
 Vcs-Browser: https://salsa.debian.org/med-team/python-pangolearn
 Vcs-Git: https://salsa.debian.org/med-team/python-pangolearn.git
 Homepage: https://github.com/cov-lineages/pangoLEARN
-Rules-Requires-Root: no
 
 Package: python3-pangolearn
 Architecture: all
 Section: python
-Depends: ${python3:Depends}, ${misc:Depends}
-Suggests: mafft,
-          iqtree
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+Suggests:
+ iqtree,
+ mafft,
 Description: store of the trained model for pangolin to access
  Pangolin runs a multinomial logistic regression model trained against
  lineage assignments based on GISAID data.


=====================================
debian/patches/pkg_resources.patch
=====================================
@@ -0,0 +1,17 @@
+--- a/setup.py
++++ b/setup.py
+@@ -1,7 +1,6 @@
+ from setuptools import setup, find_packages
+ import glob
+ import os
+-import pkg_resources
+ # Note: the _program variable is set in __init__.py.
+ # it determines the name of the package/final command line tool.
+ from pangoLEARN import __version__, _program
+@@ -21,4 +20,4 @@
+       """.format(program = _program),
+       include_package_data=True,
+       keywords=[],
+-      zip_safe=False)
+\ No newline at end of file
++      zip_safe=False)


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 pep440.patch
+pkg_resources.patch


=====================================
debian/rules
=====================================
@@ -5,7 +5,7 @@
 export PYBUILD_NAME = pangolearn
 
 %:
-	dh $@  --with python3 --buildsystem=pybuild
+	dh $@ --buildsystem=pybuild
 
 override_dh_install:
 	dh_install


=====================================
debian/salsa-ci.yml
=====================================
@@ -1,4 +1,8 @@
 ---
 include:
-  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
-  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
+
+variables:
+  SALSA_CI_DISABLE_BLHC: 1
+  SALSA_CI_DISABLE_BUILD_PACKAGE_ALL: 1
+  SALSA_CI_DISABLE_BUILD_PACKAGE_ANY: 1


=====================================
debian/watch
=====================================
@@ -1,4 +1,7 @@
-version=4
+Version: 5
 
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE at -$1.tar.gz%,repacksuffix=+dfsg,dversionmangle=auto" \
-  https://github.com/cov-lineages/pangoLEARN/tags .*/v?@ANY_VERSION@\.tar\.gz
+Template: Github
+Owner: cov-lineages
+Project: pangoLEARN
+Dversionmangle: auto
+Repacksuffix: +dfsg



View it on GitLab: https://salsa.debian.org/med-team/python-pangolearn/-/compare/1af6ebbbb0ae6d6f2e701dc3adae6eff3b965d88...aff4b2a0e72bce8a8bb157b3faa32dad57435e9b

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pangolearn/-/compare/1af6ebbbb0ae6d6f2e701dc3adae6eff3b965d88...aff4b2a0e72bce8a8bb157b3faa32dad57435e9b
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/20260922/9f14d980/attachment-0001.htm>


More information about the debian-med-commit mailing list