This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository python-dendropy.
commit a11bfd4ed4feac4dceb2c92e3626e2a4b4e0321b Author: Andreas Tille <[email protected]> Date: Tue Jun 23 09:09:12 2015 +0200 Add test data which are missing in upstream tarball --- debian/DendroPy-test-data.tar.xz | Bin 0 -> 7809748 bytes debian/README.source | 3 +++ debian/get-test-data | 8 ++++++++ debian/rules | 5 +++++ debian/source/include-binaries | 1 + 5 files changed, 17 insertions(+) diff --git a/debian/DendroPy-test-data.tar.xz b/debian/DendroPy-test-data.tar.xz new file mode 100644 index 0000000..d6533d6 Binary files /dev/null and b/debian/DendroPy-test-data.tar.xz differ diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..f33309f --- /dev/null +++ b/debian/README.source @@ -0,0 +1,3 @@ +Upstream does not include the test data set that is needed to run the test suite. + +The script get-test-data creates a compressed tarball with these test data from upstream Git. diff --git a/debian/get-test-data b/debian/get-test-data new file mode 100755 index 0000000..c63f726 --- /dev/null +++ b/debian/get-test-data @@ -0,0 +1,8 @@ +#!/bin/sh -e +TAR=DendroPy-test-data.tar.xz +rm -rf DendroPy ${TAR} +git clone https://github.com/pranjalv123/DendroPy.git +cd DendroPy +tar --owner=root --group=root --mode=a+rX -caf ../${TAR} dendropy/test/data +cd .. +rm -rf DendroPy diff --git a/debian/rules b/debian/rules index b42e2e3..3d8eb33 100755 --- a/debian/rules +++ b/debian/rules @@ -12,3 +12,8 @@ pyrun = DEB_BUILD_OPTIONS= pybuild -s custom -p $(shell pyversions -dv) --test - %: dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild +override_dh_auto_test: + # unpack test data before testing + tar xaf debian/DendroPy-test-data.tar.xz + dh_auto_test + rm -rf dendropy/test/data \ No newline at end of file diff --git a/debian/source/include-binaries b/debian/source/include-binaries new file mode 100644 index 0000000..af744da --- /dev/null +++ b/debian/source/include-binaries @@ -0,0 +1 @@ +debian/DendroPy-test-data.tar.xz -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-dendropy.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
