[Git][debian-gis-team/pyspectral][master] Use execute_after instead of override in rules file.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sun Aug 13 10:12:20 BST 2023
Bas Couwenberg pushed to branch master at Debian GIS Project / pyspectral
Commits:
b5c5471b by Bas Couwenberg at 2023-08-13T11:09:28+02:00
Use execute_after instead of override in rules file.
- - - - -
3 changed files:
- debian/changelog
- + debian/clean
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -6,6 +6,7 @@ pyspectral (0.12.3+ds-2) UNRELEASED; urgency=medium
* Enable Salsa CI.
* Bump Standards-Version to 4.6.2, no changes.
* Bump debhelper compat to 13.
+ * Use execute_after instead of override in rules file.
-- Bas Couwenberg <sebastic at debian.org> Thu, 22 Dec 2022 10:54:48 +0100
=====================================
debian/clean
=====================================
@@ -0,0 +1 @@
+*-info/
=====================================
debian/rules
=====================================
@@ -10,22 +10,15 @@ export PYBUILD_TEST_ARGS=-k 'not test_rayleigh'
%:
dh $@ --with python3,numpy3,sphinxdoc --buildsystem=pybuild
-override_dh_auto_clean:
- dh_auto_clean
- $(RM) -r *.egg-info
-
-override_dh_auto_build: export http_proxy=127.0.0.1:9
-override_dh_auto_build: export https_proxy=127.0.0.1:9
-override_dh_auto_build:
- dh_auto_build
+execute_after_dh_auto_build: export http_proxy=127.0.0.1:9
+execute_after_dh_auto_build: export https_proxy=127.0.0.1:9
+execute_after_dh_auto_build:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
PYTHONPATH=. python3 -m sphinx -N -bhtml doc build/html # HTML generator
# PYTHONPATH=. python3 -m sphinx -N -bman doc build/man # Manpage generator
endif
-override_dh_auto_install:
- dh_auto_install
-
+execute_after_dh_auto_install:
for f in debian/tmp/usr/bin/*.py; do \
mv $$f $$(dirname $$f)/$$(basename $$f .py);\
done
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyspectral/-/commit/b5c5471b92ae0955cb51124611108ba9b546c196
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyspectral/-/commit/b5c5471b92ae0955cb51124611108ba9b546c196
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/pkg-grass-devel/attachments/20230813/a3f706fb/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list