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


Commits:
6e686b62 by Alexandre Detiste at 2025-12-10T18:40:13+01:00
rewrite d/rules with newer & shorter syntax

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -6,7 +6,7 @@ export DH_VERBOSE=1
 export LC_ALL=C.UTF-8
 
 export PYBUILD_NAME=biom-format
-export PYBUILD_DESTDIR_python3=debian/python3-$(PYBUILD_NAME)
+export PYBUILD_DESTDIR=debian/python3-$(PYBUILD_NAME)
 export PYBUILD_BEFORE_TEST=cp -r {dir}/examples {build_dir}
 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/examples
 
@@ -24,16 +24,13 @@ override_dh_auto_build:
        PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -b html doc 
build/html
        PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -b man doc 
build/man
 
-override_dh_installdocs-indep:
-       dh_installdocs --indep
+execute_after_dh_installdocs-indep:
        dh_sphinxdoc --indep
 
-override_dh_fixperms:
-       dh_fixperms
+execute_after_dh_fixperms:
        find debian -name exercise_cli.sh -exec chmod +x \{\} \;
 
-override_dh_installexamples:
-       dh_installexamples
+execute_after_dh_installexamples:
        find debian -name "*.c" -delete
        find debian -name "*.pyx" -delete
        # move tests from Python3 package to examples package
@@ -43,6 +40,5 @@ override_dh_installexamples:
            find debian/python*$(PYBUILD_NAME) -name tests -type d | xargs rm 
-rf ; \
        fi
 
-override_dh_auto_install:
-       dh_auto_install
-       find $(PYBUILD_DESTDIR_python3) -name .coverage -delete
+execute_after_dh_auto_install:
+       find $(PYBUILD_DESTDIR) -name .coverage -delete



View it on GitLab: 
https://salsa.debian.org/med-team/python-biom-format/-/commit/6e686b62f0c764ff66ef5d2e9a905bf4fabe0688

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/python-biom-format/-/commit/6e686b62f0c764ff66ef5d2e9a905bf4fabe0688
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