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

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



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


Commits:
37e38604 by Bas Couwenberg at 2023-08-13T10:04:11+02:00
Use execute_after instead of override in rules file.

- - - - -


3 changed files:

- debian/changelog
- debian/rules
- − docs/source/api/.gitkeep


Changes:

=====================================
debian/changelog
=====================================
@@ -2,6 +2,7 @@ pycoast (1.6.1+dfsg-4) UNRELEASED; urgency=medium
 
   * Team upload.
   * Remove generated files in clean target.
+  * Use execute_after instead of override in rules file.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 11 Aug 2023 15:35:48 +0200
 


=====================================
debian/rules
=====================================
@@ -28,27 +28,22 @@ $(CURDIR)/pycoast/tests
 %:
 	dh $@ --with python3,numpy3,sphinxdoc --buildsystem=pybuild
 
-override_dh_auto_build-indep:
-	dh_auto_build -i
+execute_after_dh_auto_clean:
+	$(MAKE) -C docs clean
+
+execute_after_dh_auto_build-indep:
 ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	cd docs && \
 	sphinx-build -N -E -T -b html . $(CURDIR)/.pybuild/docs/html/
 	rm -rf $(CURDIR)/.pybuild/docs/html/.doctrees
 endif
 
-override_dh_auto_build:
-	dh_auto_build --buildsystem=pybuild
+execute_after_dh_auto_build:
 	env http_proxy='http://127.0.0.1:9/' https_proxy='https://127.0.0.1:9/' \
 	LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 \
 	$(MAKE) -C docs html
 	$(RM) -r docs/build/html/_images
 
-
-override_dh_auto_clean:
-	dh_auto_clean --buildsystem=pybuild
-	$(MAKE) -C docs clean
-
-
 override_dh_python3:
 	dh_python3 -N python-pycoast-doc
 


=====================================
docs/source/api/.gitkeep deleted
=====================================



View it on GitLab: https://salsa.debian.org/debian-gis-team/pycoast/-/commit/37e3860428251619ccc0ed8c4571a3183c07d3d7

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pycoast/-/commit/37e3860428251619ccc0ed8c4571a3183c07d3d7
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/4d19b368/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list