[med-svn] [python-biom-format] 01/03: Fix test target

Andreas Tille tille at debian.org
Tue Nov 10 21:39:43 UTC 2015


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

tille pushed a commit to tag debian/2.1.4+dfsg-2
in repository python-biom-format.

commit 176f7b950460c9fe99268fb1e2fd4e511555b0a0
Author: Andreas Tille <tille at debian.org>
Date:   Tue Nov 10 22:34:07 2015 +0100

    Fix test target
---
 debian/changelog | 7 +++++++
 debian/rules     | 6 ++++++
 2 files changed, 13 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d8cdb65..ba57bc2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-biom-format (2.1.4+dfsg-2) UNRELEASED; urgency=medium
+
+  * Fix test target
+    Closes: #804441
+
+ -- Andreas Tille <tille at debian.org>  Tue, 10 Nov 2015 22:32:40 +0100
+
 python-biom-format (2.1.4+dfsg-1) unstable; urgency=medium
 
   * New upstream version
diff --git a/debian/rules b/debian/rules
index ec8e25f..5d62c6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,6 +37,7 @@ override_dh_auto_clean:
 	make --directory=doc clean
 	rm -f debian/bash-completion
 	rm -f python-code/support-code/_*.cpp
+	rm -rf *.egg-info
 
 override_dh_install:
 	dh_install
@@ -45,6 +46,11 @@ override_dh_install:
 	#   "This script no longer exists. ..."
 	rm -f $(bindir)/*.py
 
+override_dh_auto_test:
+	$(pyrun) 'cp -a examples {build_dir}'
+	dh_auto_test
+	$(pyrun) 'rm -rf {build_dir}/examples'
+
 get-orig-source:
 	mkdir -p ../tarballs
 	uscan --verbose --force-download --repack --compression xz --destdir=../tarballs

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



More information about the debian-med-commit mailing list