[h5py] 06/08: Simplify clean target.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Jan 24 11:54:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository h5py.

commit d0e859e48bde6244faf9a7e61ee9cfdfffa108b6
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sun Jan 24 11:23:46 2016 +0000

    Simplify clean target.
---
 debian/clean |  7 +++++++
 debian/rules | 12 ------------
 2 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..eb86eed
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,7 @@
+h5config.pkl
+h5py.egg-info/
+h5py/_hdf5.pxd
+h5py/config.pxi
+h5py/defs.pxd
+h5py/defs.pyx
+h5py/*.c
diff --git a/debian/rules b/debian/rules
index ad52fd9..8811185 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,18 +10,6 @@ export PYBUILD_AFTER_INSTALL_python3=dh_numpy3
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
-override_dh_auto_clean:
-	dh_auto_clean
-	$(RM) setuptools-0.6c9-py2.5.egg
-	$(RM) h5py_config.pickle
-	$(RM) h5py/config.pxi
-	# Remove the cythonized .c files
-	find h5py -iname *.pyx | sed -e 's,\.pyx,\.c,g' | xargs -r $(RM) -f
-	$(RM) h5config.pkl
-	$(RM) h5py/_hdf5.pxd 
-	$(RM) h5py/defs.pxd
-	$(RM) h5py/defs.pyx
-
 override_dh_auto_build-indep:
 	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git



More information about the debian-science-commits mailing list