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 <[email protected]>  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.


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to