[med-svn] [python-skbio] 01/01: Do not require lots of dependencies on local machine just to run clean target (otherwise the build failed at my machine in dh_auto_clean)

Andreas Tille tille at debian.org
Mon Dec 21 08:11:53 UTC 2015


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

tille pushed a commit to branch master
in repository python-skbio.

commit 0f69c8190cec2699899b2b1160b7f8cf573e4ca7
Author: Andreas Tille <tille at debian.org>
Date:   Mon Dec 21 09:10:04 2015 +0100

    Do not require lots of dependencies on local machine just to run clean target (otherwise the build failed at my machine in dh_auto_clean)
---
 debian/changelog | 4 ++++
 debian/rules     | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1097dcc..0fa1bcb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,10 @@ python-skbio (0.4.1-1) unstable; urgency=medium
   * Build documentation and create new python-skbio-doc package (Closes:
     #806594)
 
+  [ Andreas Tille ]
+  * Do not require lots of dependencies on local machine just to run clean
+    target
+
  -- Kevin Murray <spam at kdmurray.id.au>  Mon, 21 Dec 2015 16:45:00 +1100
 
 python-skbio (0.4.0-3) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index cd78438..bf57fa4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,9 @@ override_dh_auto_test:
 	#Loads of failures at this point.
 	dh_auto_test || true
 
+override_dh_auto_clean:
+	if [ "`find . -name "*.pyo"`" = "" ] ; then echo no need to clean up ; else dh_auto_clean; fi
+
 override_dh_clean:
 	dh_clean
 	find ./skbio -name '*.so' -delete

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-skbio.git



More information about the debian-med-commit mailing list