[Git][debian-gis-team/pydecorate][master] Remove generated files in clean target.

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



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


Commits:
a2c179f8 by Bas Couwenberg at 2023-08-13T10:15:43+02:00
Remove generated files in clean target.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -2,6 +2,7 @@ pydecorate (0.3.4-2) UNRELEASED; urgency=medium
 
   * Team upload.
   * Bump debhelper compat to 13.
+  * Remove generated files in clean target.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 13 Jun 2023 07:01:02 +0200
 


=====================================
debian/clean
=====================================
@@ -0,0 +1,3 @@
+*-info/
+.pytest_cache/
+pydecorate/version.py


=====================================
debian/rules
=====================================
@@ -14,12 +14,5 @@ export PYBUILD_AFTER_TEST=rm -f {build_dir}/*.png
 %:
 	dh $@ --with python3,numpy3 --buildsystem=pybuild
 
-override_dh_auto_configure:
+execute_before_dh_auto_configure:
 	echo "version = '$(DEB_VERSION_UPSTREAM)'" > pydecorate/version.py
-	dh_auto_configure
-
-override_dh_auto_clean:
-	dh_auto_clean
-	$(RM) -r *.egg-info
-	$(RM) -r .pytest_cache
-	$(RM) pydecorate/version.py



View it on GitLab: https://salsa.debian.org/debian-gis-team/pydecorate/-/commit/a2c179f84e6dc39a5698a3f5830cef04b9b162b6

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pydecorate/-/commit/a2c179f84e6dc39a5698a3f5830cef04b9b162b6
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/05630433/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list