[med-svn] [Git][med-team/python-cooler][master] 3 commits: Fix autopkgtest
Andreas Tille
gitlab at salsa.debian.org
Mon Jun 15 08:49:22 BST 2020
Andreas Tille pushed to branch master at Debian Med / python-cooler
Commits:
c9959f0a by Andreas Tille at 2020-06-15T09:42:42+02:00
Fix autopkgtest
- - - - -
e53d9c38 by Andreas Tille at 2020-06-15T09:43:00+02:00
Upload to new
- - - - -
4382a067 by Andreas Tille at 2020-06-15T09:49:08+02:00
Recommends: python3-dask
- - - - -
5 changed files:
- debian/changelog
- debian/control
- debian/rules
- debian/tests/control
- debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
@@ -1,5 +1,5 @@
-python-cooler (0.8.7-1) UNRELEASED; urgency=medium
+python-cooler (0.8.7-1) unstable; urgency=medium
* Initial release (Closes: #962792)
- -- Andreas Tille <tille at debian.org> Sat, 13 Jun 2020 15:48:26 +0200
+ -- Andreas Tille <tille at debian.org> Mon, 15 Jun 2020 09:42:55 +0200
=====================================
debian/control
=====================================
@@ -41,6 +41,7 @@ Depends: ${python3:Depends},
python3-asciitree,
python3-yaml,
python3-simplejson
+Recommends: python3-dask
Description: library for a sparse, compressed, binary persistent storage
Cooler is a support library for a sparse, compressed, binary persistent
storage format, also called cooler, used to store genomic interaction
=====================================
debian/rules
=====================================
@@ -6,3 +6,7 @@ export PYBUILD_NAME=cooler
%:
dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_installexamples:
+ dh_installexamples
+ cd debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME) && tar caf tests.tar.xz tests && rm -rf tests
=====================================
debian/tests/control
=====================================
@@ -1,3 +1,3 @@
Tests: run-unit-test
-Depends: @, python3-pytest, python3-mock
+Depends: @, python3-pytest, python3-mock, python3-dask
Restrictions: allow-stderr
=====================================
debian/tests/run-unit-test
=====================================
@@ -6,10 +6,12 @@ pkg=python3-cooler
export LC_ALL=C.UTF-8
if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
- trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+# trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
fi
-cp -a /usr/share/doc/${pkg}/tests "${AUTOPKGTEST_TMP}"
+set -x
+cp -a /usr/share/doc/${pkg}/tests.tar.xz "${AUTOPKGTEST_TMP}"
cd "${AUTOPKGTEST_TMP}"
+tar xaf tests.tar.xz
pytest-3
View it on GitLab: https://salsa.debian.org/med-team/python-cooler/-/compare/b205be4903bffa79826a6db7b7d74f4cd109320a...4382a06759f62a3088062a53b8aefebd10f3465a
--
View it on GitLab: https://salsa.debian.org/med-team/python-cooler/-/compare/b205be4903bffa79826a6db7b7d74f4cd109320a...4382a06759f62a3088062a53b8aefebd10f3465a
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200615/ba6bcd09/attachment-0001.html>
More information about the debian-med-commit
mailing list