[med-svn] [python-csb] 02/05: Fix clean target

Andreas Tille tille at debian.org
Mon Dec 28 23:41:17 UTC 2015


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

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

commit 7138395ece31ed4c950bc4914347fff582b5e881
Author: Andreas Tille <tille at debian.org>
Date:   Sun Dec 27 09:08:33 2015 +0100

    Fix clean target
---
 debian/changelog |  1 +
 debian/rules     | 15 +++++++++------
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 12e1504..c8381df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 python-csb (1.2.3+dfsg-2) UNRELEASED; urgency=medium
 
   * Fix d/watch
+  * Fix clean target
 
  -- Andreas Tille <tille at debian.org>  Sat, 26 Dec 2015 08:01:36 +0100
 
diff --git a/debian/rules b/debian/rules
index 1b19d28..91cdf1d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,11 +20,8 @@ override_dh_auto_build:
 	HOME=$(BUILDHOME) epydoc --html -o $(CURDIR)/docs/api --name CSB --no-private --introspect-only --exclude csb.test.cases --fail-on-error --fail-on-warning --fail-on-docstring-warning $(CURDIR)/csb
 
 override_dh_auto_clean:
-	set -e; \
-	for py in $(PYVERS) $(PY3VERS); do \
-		$$py -B setup.py clean -a; \
-	done
-	rm -rf $(BUILDHOME)
+	find . -name "*.pyc" -delete
+	rm -rf docs
 
 override_dh_auto_install:
 	set -e; \
@@ -39,4 +36,10 @@ override_dh_auto_install:
 	done
 
 override_dh_auto_test:
-	PYTHONPATH=$(CURDIR):$(PYTHONPATH) PYTHONWARNINGS=d python csb/test/app.py --generated-resources /tmp
+#	PYTHONPATH=$(CURDIR):$(PYTHONPATH) PYTHONWARNINGS=d python csb/test/app.py --generated-resources /tmp
+	for py in $(pyversions -i) $(py3versions -i); do \
+	    PYTHONWARNINGS=d $$py csb/test/app.py --generated-resources /tmp --verbosity 2 ; \
+	done
+
+get-orig-source:
+	uscan --verbose --force-download --repack --compression xz

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



More information about the debian-med-commit mailing list