[Git][debian-gis-team/satpy][master] Use execute_{before,after} instead of override in rules file.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sun Aug 13 15:45:09 BST 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / satpy


Commits:
989e8183 by Bas Couwenberg at 2023-08-13T16:16:52+02:00
Use execute_{before,after} instead of override in rules file.

- - - - -


3 changed files:

- debian/changelog
- + debian/clean
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+satpy (0.43.0-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Use execute_{before,after} instead of override in rules file.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 13 Aug 2023 16:04:53 +0200
+
 satpy (0.43.0-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/clean
=====================================
@@ -0,0 +1,7 @@
+.eggs
+.pytest_cache/
+*-info/
+doc/source/api/*rst
+doc/source/reader_table.rst
+satpy/version.py
+test*.mitiff


=====================================
debian/rules
=====================================
@@ -32,31 +32,15 @@ export PYBUILD_TEST_ARGS=-k \
 --ignore=satpy/tests/reader_tests/gms/test_gms5_vissr_l1b.py \
 --ignore=satpy/tests/reader_tests/gms/test_gms5_vissr_navigation.py
 
-
-
 %:
 	dh $@ --with python3,numpy3,sphinxdoc --buildsystem=pybuild
 
-override_dh_auto_configure:
+execute_before_dh_auto_configure:
 	echo "version = '$(DEB_VERSION_UPSTREAM)'" > satpy/version.py
-	dh_auto_configure
-
-override_dh_fixperms:
-	dh_fixperms
-	find debian/python*satpy -name 'agri_l1.*' -exec chmod -x {} +
 
-override_dh_auto_clean:
-	dh_auto_clean
-
-	$(RM) -r .eggs *.egg-info
-	$(RM) test*.mitiff
-	$(RM) -r .pytest_cache
-	$(RM) satpy/version.py
-
-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)))
 	PSP_CONFIG_FILE=$(CURDIR)/debian/pyspectral_dummycfg.yaml \
 	PYTHONPATH=. python3 -m sphinx -N -bhtml doc/source build/html # HTML generator
@@ -71,3 +55,6 @@ else
 	dh_auto_test
 endif
 endif
+
+execute_after_dh_fixperms:
+	find debian/python*satpy -name 'agri_l1.*' -exec chmod -x {} +



View it on GitLab: https://salsa.debian.org/debian-gis-team/satpy/-/commit/989e8183f709a98498829a95b613ed8f2bbfa802

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/satpy/-/commit/989e8183f709a98498829a95b613ed8f2bbfa802
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/abf7b64e/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list