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

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



Bas Couwenberg pushed to branch master at Debian GIS Project / python-geopandas


Commits:
60f8ead8 by Bas Couwenberg at 2023-08-13T11:17:56+02:00
Use execute_after instead of override in rules file.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -3,6 +3,7 @@ python-geopandas (0.13.2-4) UNRELEASED; urgency=medium
   * Team upload.
   * Remove generated files in clean target.
   * Add patch to fix pytz.exceptions.UnknownTimeZoneError.
+  * Use execute_after instead of override in rules file.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 11 Aug 2023 16:37:28 +0200
 


=====================================
debian/clean
=====================================
@@ -1 +1,2 @@
 *-info/
+geopandas/version.py


=====================================
debian/rules
=====================================
@@ -19,12 +19,7 @@ export PYBUILD_TEST_ARGS=-v \
 %:
 	dh  $@ --with python3,numpy3 --buildsystem pybuild
 
-override_dh_clean:
-	dh_clean
-	rm -f geopandas/version.py
-
-override_dh_auto_install:
-	dh_auto_install
+execute_after_dh_auto_install:
 	# Remove README with privacy-breach issues
 	$(RM) debian/*/usr/lib/python*/dist-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.README.html
 	$(RM) -r debian/*/usr/lib/python*/dist-packages/examples



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-geopandas/-/commit/60f8ead835df7ae3dc4ff1d420abd7f1a2ac734b

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-geopandas/-/commit/60f8ead835df7ae3dc4ff1d420abd7f1a2ac734b
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/79ca9ab0/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list