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

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



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


Commits:
c7b69642 by Bas Couwenberg at 2023-08-13T10:52:14+02:00
Remove generated files in clean target.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+pyresample (1.27.1-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Remove generated files in clean target.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 13 Aug 2023 10:52:04 +0200
+
 pyresample (1.27.1-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/clean
=====================================
@@ -0,0 +1,6 @@
+*-info/
+build/
+pyresample/ewa/*.so
+pyresample/ewa/_fornav.cpp
+pyresample/ewa/_ll2cr.c
+pyresample/gradient/_gradient_search.c


=====================================
debian/rules
=====================================
@@ -14,9 +14,10 @@ export PYBUILD_TEST_ARGS=-k "not test_compare_to_legacy and not legacy_dask_ewa"
 %:
 	dh $@ --with python3,numpy3,sphinxdoc --buildsystem=pybuild
 
+execute_after_dh_auto_clean:
+	$(MAKE) -C docs clean
 
-override_dh_auto_build:
-	dh_auto_build --buildsystem=pybuild
+execute_after_dh_auto_build:
 ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
 	env PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
 	rm -rf docs/build/html/_static/images/
@@ -24,27 +25,16 @@ else
 	mkdir -p docs/build/html
 endif
 
-
 override_dh_auto_install:
 	dh_auto_install -ppython-pyresample-test --buildsystem=pybuild
 	dh_auto_install -X.dat -X.npz --buildsystem=pybuild --remaining-packages
 	$(RM) -r debian/python3-pyresample/usr/lib/python3*/dist-packages/pyresample/test/test_files
 
-
-override_dh_auto_clean:
-	dh_auto_clean --buildsystem=pybuild
-	$(MAKE) -C docs clean
-	$(RM) -r build pyresample.egg-info pyresample/ewa/*.so
-	$(RM) pyresample/ewa/_fornav.cpp pyresample/ewa/_ll2cr.c pyresample/gradient/_gradient_search.c
-
-
 override_dh_installchangelogs:
 	dh_installchangelogs README.md
 
-
 override_dh_python3:
 	dh_python3 -ppython3-pyresample
 
-
 override_dh_numpy3:
 	dh_numpy3 -ppython3-pyresample



View it on GitLab: https://salsa.debian.org/debian-gis-team/pyresample/-/commit/c7b696423f7083a41c8c3be10e348881ec2f3b5e

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


More information about the Pkg-grass-devel mailing list