[Git][debian-gis-team/pycsw][master] Use execute_after instead of override in rules file.

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



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


Commits:
46352c1b by Bas Couwenberg at 2023-08-13T10:12:00+02:00
Use execute_after instead of override in rules file.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -10,6 +10,7 @@ pycsw (2.6.1+dfsg-4) UNRELEASED; urgency=medium
   * Bump debhelper compat to 13.
   * Don't override dh_auto_test for custom pybuild system.
   * Don't override dh_auto_install.
+  * Use execute_after instead of override in rules file.
 
  -- Angelos Tzotsos <gcpp.kalxas at gmail.com>  Thu, 23 Jun 2022 14:00:00 +0300
 


=====================================
debian/clean
=====================================
@@ -0,0 +1,3 @@
+*-info/
+
+debian/man/pycsw-admin.1


=====================================
debian/rules
=====================================
@@ -13,11 +13,7 @@ BUILD_DATE := $(shell LC_ALL=C date -u "+%Y-%m-%d" -d "@$(SOURCE_DATE_EPOCH)")
 %:
 	dh  $@ --with python3,sphinxdoc,apache2 --buildsystem pybuild
 
-override_dh_clean:
-	dh_clean debian/man/pycsw-admin.1
-
-override_dh_auto_build:
-	dh_auto_build
+execute_after_dh_auto_build:
 	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html # HTML generator
 	ronn -r --date="$(BUILD_DATE)" --manual=pycsw debian/man/*.md
 	rm -f debian/man/*.html
@@ -25,9 +21,7 @@ override_dh_auto_build:
 override_dh_auto_test:
 	dh_auto_test || echo "Ignoring test failures"
 
-override_dh_install:
-	dh_install
-
+execute_after_dh_install:
 	# Remove pycache directories
 	$(RM) -r debian/*/usr/share/pycsw/tests/__pycache__/
 	$(RM) -r debian/*/usr/share/pycsw/tests/functionaltests/__pycache__/



View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/-/commit/46352c1b4c0f65aa2e0a87cdf2801259f82384ec

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/-/commit/46352c1b4c0f65aa2e0a87cdf2801259f82384ec
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/1cc04595/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list