[Python-modules-commits] [python-numpy] 12/15: upstream deprecated setup.py clean, so replace dh_auto_clean with an explicit rm of the build/ dir

Sandro Tosi morph at moszumanska.debian.org
Sun Jan 31 02:06:10 UTC 2016


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

morph pushed a commit to branch master
in repository python-numpy.

commit 17d5c6336bedee715feb0ab286d27b2b36801c1f
Author: Sandro Tosi <morph at debian.org>
Date:   Sat Jan 30 21:22:21 2016 +0000

    upstream deprecated setup.py clean, so replace dh_auto_clean with an explicit rm of the build/ dir
---
 debian/changelog | 5 ++++-
 debian/rules     | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 57ab54e..6acb96c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,11 @@ python-numpy (1:1.11.0~b2-1) UNRELEASED; urgency=medium
   * New upstream beta release
   * debian/copyright
     - update upstream copyright notice
+  * debian/rules
+    - upstream deprecated setup.py clean, so replace dh_auto_clean with an
+      explicit rm of the build/ dir
 
- -- Sandro Tosi <morph at debian.org>  Sat, 30 Jan 2016 13:48:55 +0000
+ -- Sandro Tosi <morph at debian.org>  Sat, 30 Jan 2016 21:21:42 +0000
 
 python-numpy (1:1.10.4-2) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index e731623..4dd796d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+DH_VERBOSE=1
+
 PY2VERS=$(shell pyversions -vr debian/control)
 PY3VERS=$(shell py3versions -vr)
 PYDEF=$(shell pyversions -dv)
@@ -23,7 +25,7 @@ override_dh_auto_build:
 	done
 
 override_dh_auto_clean:
-	dh_auto_clean
+	rm -rf build/
 	rm -rf `find -name build -type d`
 	rm -rf `find . -name "*.pyc" -type f`
 	rm -rf doc/fontList.cache numpy/f2py/docs/usersguide/index.html

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-numpy.git



More information about the Python-modules-commits mailing list