[Python-modules-commits] [python-numpy] 12/17: dont fail when files are missing if we are running dpkg-bp -A; Closes: #806099

Sandro Tosi morph at moszumanska.debian.org
Sun Jan 10 23:28:21 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 f34f2e94d5890317e2bfdba07ed61685c0a0a82f
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Jan 10 20:33:48 2016 +0000

    dont fail when files are missing if we are running dpkg-bp -A; Closes: #806099
---
 debian/changelog | 5 ++++-
 debian/rules     | 4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4ef4b99..5e7a515 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,8 +7,11 @@ python-numpy (1:1.10.4-1) UNRELEASED; urgency=medium
   * dh_numpy and dh_numpy3 use 2 different files from where to read the
     versions, thus making the py3k package indipendent of the python2;
     Closes: #797943
+  * debian/rules
+    - dont fail when files are missing if we are running dpkg-bp -A;
+      Closes: #806099
 
- -- Sandro Tosi <morph at debian.org>  Sun, 10 Jan 2016 17:48:57 +0000
+ -- Sandro Tosi <morph at debian.org>  Sun, 10 Jan 2016 20:33:09 +0000
 
 python-numpy (1:1.10.0~b1-1) experimental; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 5be5ab9..e731623 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,7 +34,7 @@ override_dh_auto_clean:
 override_dh_installman:
 	dh_installman -ppython-numpy doc/f2py/f2py.1
 	dh_installman -ppython3-numpy doc/f2py/f2py.1
-	mv debian/python3-numpy/usr/share/man/man1/f2py.1 \
+	-mv debian/python3-numpy/usr/share/man/man1/f2py.1 \
 	  debian/python3-numpy/usr/share/man/man1/f2py3.1
 	# link manpage for versioned and dbg incarnations of f2py
 	set -e; for v in $(PY2VERS); do \
@@ -69,7 +69,7 @@ override_dh_install:
 	dh_install
 
 	# remove files installed from .install (that's due to the dir listed there)
-	find $(CURDIR)/debian/python-numpy/ -name "*_d.so" -delete
+	-find $(CURDIR)/debian/python-numpy/ -name "*_d.so" -delete
 
 	# create symlinks for .h files
 	dh_link -ppython-numpy usr/lib/python$(PYDEF)/dist-packages/numpy/core/include/numpy usr/include/numpy;

-- 
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