[med-svn] [Git][med-team/biomaj3-download][master] 6 commits: d/rules: general readability improvement.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Fri Feb 27 10:15:26 GMT 2026



Étienne Mollier pushed to branch master at Debian Med / biomaj3-download


Commits:
cf68af82 by Étienne Mollier at 2026-02-27T11:08:53+01:00
d/rules: general readability improvement.

This change drops little boilerplate, tries to shorten line lenght to
digestible width and also ensures that the file which needs being
preserved is restored _before_ the pass of dh_clean, otherwise there
is no .bak file to restore from.

Closes: #1043846

- - - - -
e0625a29 by Étienne Mollier at 2026-02-27T11:12:29+01:00
d/watch: convert to Github uscan template version 5.

- - - - -
99d93f30 by Étienne Mollier at 2026-02-27T11:13:04+01:00
d/control: drop redundant Priority: optional.

- - - - -
135eb1a0 by Étienne Mollier at 2026-02-27T11:13:19+01:00
d/control: drop redundant Rules-Requires-Root: no.

- - - - -
2dd13598 by Étienne Mollier at 2026-02-27T11:13:44+01:00
d/control: declare compliance to standards version 4.7.3.

- - - - -
227dcb0a by Étienne Mollier at 2026-02-27T11:14:59+01:00
d/changelog: ready for upload to unstable.

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,18 @@
+biomaj3-download (3.2.12-3) unstable; urgency=medium
+
+  * Team upload.
+  * d/rules: general readability improvement.
+    This change drops little boilerplate, tries to shorten line lenght to
+    digestible width and also ensures that the file which needs being
+    preserved is restored _before_ the pass of dh_clean, otherwise there
+    is no .bak file to restore from. (Closes: #1043846)
+  * d/watch: convert to Github uscan template version 5.
+  * d/control: drop redundant Priority: optional.
+  * d/control: drop redundant Rules-Requires-Root: no.
+  * d/control: declare compliance to standards version 4.7.3.
+
+ -- Étienne Mollier <emollier at debian.org>  Fri, 27 Feb 2026 11:14:17 +0100
+
 biomaj3-download (3.2.12-2) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -3,7 +3,6 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Olivier Sallou <osallou at debian.org>
 Section: python
 Testsuite: autopkgtest-pkg-python
-Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-sequence-python3,
                protobuf-compiler,
@@ -29,11 +28,10 @@ Build-Depends: debhelper-compat (= 13),
                python3-tenacity <!nocheck>,
                python3-simpleeval <!nocheck>,
                rsync
-Standards-Version: 4.7.0
+Standards-Version: 4.7.3
 Vcs-Browser: https://salsa.debian.org/med-team/biomaj3-download
 Vcs-Git: https://salsa.debian.org/med-team/biomaj3-download.git
 Homepage: https://github.com/genouest/biomaj-download
-Rules-Requires-Root: no
 
 Package: python3-biomaj3-download
 Architecture: all


=====================================
debian/rules
=====================================
@@ -1,28 +1,28 @@
 #! /usr/bin/make -f
 
-#export DEB_BUILD_OPTIONS=nocheck
-export DEB_BUILD_MAINT_OPTIONS=nocheck
-
 export PYBUILD_NAME=biomaj-download
+DTMP = $(CURDIR)/debian/python3-biomaj3-download
+PRESERVED_FILE = $(CURDIR)/biomaj_download/message/downmessage_pb2.py
+
 %:
 	dh $@ --buildsystem=pybuild
 
-override_dh_clean:
-	dh_clean
+execute_before_dh_clean:
 	rm -rf biomaj_download.egg-info
-	if [ -e biomaj_download/message/downmessage_pb2.py.bak ] ; then mv biomaj_download/message/downmessage_pb2.py.bak biomaj_download/message/downmessage_pb2.py; fi
+	if [ -f $(PRESERVED_FILE).bak ] \
+	; then mv -v $(PRESERVED_FILE).bak $(PRESERVED_FILE) \
+	; fi
 
-override_dh_auto_configure:
-	cp -a biomaj_download/message/downmessage_pb2.py biomaj_download/message/downmessage_pb2.py.bak
-	dh_auto_configure
+execute_before_dh_auto_configure:
+	cp -av $(PRESERVED_FILE) $(PRESERVED_FILE).bak
 
-override_dh_auto_build:
-	cd biomaj_download/message && protoc --python_out=. downmessage.proto
-	dh_auto_build
+execute_before_dh_auto_build:
+	cd biomaj_download/message \
+	&& protoc --python_out=. downmessage.proto
 
-override_dh_install:
-	dh_install
-	sed -i '1s;^;#!/usr/bin/python3\n;' debian/python3-biomaj3-download/usr/bin/biomaj_download_consumer.py
+execute_after_dh_install:
+	sed -i '1s;^;#!/usr/bin/python3\n;' \
+		$(DTMP)/usr/bin/biomaj_download_consumer.py
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))


=====================================
debian/watch
=====================================
@@ -1,3 +1,7 @@
-version=4
-opts="repack,compression=xz,filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/biomaj3-download-$1\.tar\.gz/" \
-  https://github.com/genouest/biomaj-download/tags .*/v?(\d\S+)\.tar\.gz
+Version: 5
+
+Template: Github
+Project: biomaj-download
+Owner: genouest
+Compression: xz
+Repack: yes



View it on GitLab: https://salsa.debian.org/med-team/biomaj3-download/-/compare/051d974edb9382ddbf2d1432757a25174ef9402c...227dcb0ab71c733036b1130b0ff81a3703e0e3f9

-- 
View it on GitLab: https://salsa.debian.org/med-team/biomaj3-download/-/compare/051d974edb9382ddbf2d1432757a25174ef9402c...227dcb0ab71c733036b1130b0ff81a3703e0e3f9
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/20260227/09071829/attachment-0001.htm>


More information about the debian-med-commit mailing list