[med-svn] [Git][med-team/gubbins][master] d/rules: rewrite with shorter syntax, drop old distutils comment
Alexandre Detiste (@detiste-guest)
gitlab at salsa.debian.org
Sat Mar 8 12:28:04 GMT 2025
Alexandre Detiste pushed to branch master at Debian Med / gubbins
Commits:
f2af5c91 by Alexandre Detiste at 2025-03-08T13:27:55+01:00
d/rules: rewrite with shorter syntax, drop old distutils comment
- - - - -
1 changed file:
- debian/rules
Changes:
=====================================
debian/rules
=====================================
@@ -13,21 +13,17 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
%:
dh $@
-override_dh_auto_install:
- dh_auto_install
- # pybuild --install --system=distutils
+execture_after_dh_auto_install:
cd python && \
python3 setup.py install --root=../debian/gubbins --install-layout=deb --install-lib=/usr/share/gubbins --install-scripts=/usr/share/gubbins
-override_dh_install:
- dh_install
+execute_after_dh_install:
find debian -name "*.la" -delete
find debian -name "*.a" -delete
mkdir -p debian/$(DEB_SOURCE)/usr/lib/$(DEB_SOURCE)
mv debian/$(DEB_SOURCE)/usr/bin/gubbins debian/$(DEB_SOURCE)/usr/lib/$(DEB_SOURCE)
-override_dh_clean:
- dh_clean
+execute_after_dh_clean:
rm -rf python/*.egg-info python/build python/Makefile
find . -name "*.pyc" -delete
rm -rf python/output_alignment python/tmp* tests/.deps
View it on GitLab: https://salsa.debian.org/med-team/gubbins/-/commit/f2af5c91b5637fdc52affc349bca80842f026e44
--
View it on GitLab: https://salsa.debian.org/med-team/gubbins/-/commit/f2af5c91b5637fdc52affc349bca80842f026e44
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/20250308/9dcdf6ba/attachment-0001.htm>
More information about the debian-med-commit
mailing list