Alexandre Detiste pushed to branch master at Debian Med / srst2


Commits:
cea9d162 by Alexandre Detiste at 2025-12-13T04:10:15+01:00
rewrite d/rules with newer & shorter syntax

- - - - -
e4cf9267 by Alexandre Detiste at 2025-12-13T04:10:38+01:00
bump Standards-Version to 4.7.2

- - - - -
eb7dcb7e by Alexandre Detiste at 2025-12-13T04:11:04+01:00
drop "Rules-Requires-Root: no": it is now the default

- - - - -
3dd7c4e2 by Alexandre Detiste at 2025-12-13T04:11:25+01:00
release

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+srst2 (0.2.0-14) unstable; urgency=medium
+
+  * Team upload.
+  * Autopkgtest do not need python3-mock
+  * Rewrite d/rules with newer & shorter syntax
+  * Bump Standards-Version to 4.7.2
+  * Drop "Rules-Requires-Root: no": it is now the default
+
+ -- Alexandre Detiste <[email protected]>  Sat, 13 Dec 2025 04:11:08 +0100
+
 srst2 (0.2.0-13) unstable; urgency=medium
 
   * syntax-warning.patch: new: fix Python SyntaxWarning. (Closes: #1087097)


=====================================
debian/control
=====================================
@@ -13,11 +13,10 @@ Build-Depends: debhelper-compat (= 13),
                python3-scipy <!nocheck>,
                bowtie2 <!nocheck>,
                samtools <!nocheck>
-Standards-Version: 4.7.0
+Standards-Version: 4.7.2
 Vcs-Browser: https://salsa.debian.org/med-team/srst2
 Vcs-Git: https://salsa.debian.org/med-team/srst2.git
 Homepage: https://katholt.github.io/srst2/
-Rules-Requires-Root: no
 
 Package: srst2
 Architecture: any


=====================================
debian/rules
=====================================
@@ -7,13 +7,11 @@ include /usr/share/dpkg/default.mk
 %:
        dh $@ --buildsystem=pybuild
 
-override_dh_auto_build:
-       dh_auto_build
+execute_after_dh_auto_build:
        markdown README.md > README.html
        markdown database_clustering/README.md > database_clustering_README.html
 
-override_dh_install:
-       dh_install
+execute_after_dh_install:
        mv debian/$(DEB_SOURCE)/usr/lib/*/dist-packages/$(DEB_SOURCE)/* 
debian/$(DEB_SOURCE)/usr/share/$(DEB_SOURCE)
        rm -rf debian/*/usr/bin/*.py 
debian/$(DEB_SOURCE)/usr/lib/*/dist-packages/
        # fix line endings to make sure Python3 interpreter will be found
@@ -21,8 +19,7 @@ override_dh_install:
        sed -i '1s:^#!/usr/local.*python[.0-9]*$$:#!/usr/bin/python3:' 
debian/$(DEB_SOURCE)/usr/share/$(DEB_SOURCE)/qsub_srst2.py
        find debian -name __pycache__ -type d | xargs rm -rf
 
-override_dh_fixperms:
-       dh_fixperms
+execute_after_dh_fixperms:
        chmod +x 
debian/$(DEB_SOURCE)/usr/share/srst2/database_clustering/get_genus_vfdb.sh
        chmod +x 
debian/$(DEB_SOURCE)/usr/share/srst2/database_clustering/get_all_vfdb.sh
        chmod -x 
debian/$(DEB_SOURCE)/usr/share/srst2/database_clustering/align_plot_tree_min3.py
@@ -35,6 +32,5 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        cd tests && python3 test_slurm_srst2.py && python3 test_srst2.py
 endif
 
-override_dh_installdocs:
-       dh_installdocs
+execute_after_dh_installdocs:
        sed -i 
"s?sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__).*scripts.*?sys.path.append(os.path.abspath('/usr/share/$(DEB_SOURCE)'))?"
 debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/tests/*.py



View it on GitLab: 
https://salsa.debian.org/med-team/srst2/-/compare/cb8e6b64a87dc4276c5f034b5a546e7d6f5fb809...3dd7c4e2697689c48a1786d1582334488024ae92

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/srst2/-/compare/cb8e6b64a87dc4276c5f034b5a546e7d6f5fb809...3dd7c4e2697689c48a1786d1582334488024ae92
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to