Andreas Tille pushed to branch master at Debian Med / python-pairix
Commits:
2b8f05c7 by Andreas Tille at 2020-06-14T08:31:37+02:00
Fix autopkgtest
- - - - -
3 changed files:
- debian/python3-pairix-examples.install
- debian/rules
- debian/tests/run-unit-test
Changes:
=====================================
debian/python3-pairix-examples.install
=====================================
@@ -1 +1 @@
-test usr/share/doc/python2-pairix/examples
+test usr/share/doc/python3-pairix/examples
=====================================
debian/rules
=====================================
@@ -13,4 +13,5 @@ override_dh_installexamples:
dh_installexamples
mkdir -p
debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)/examples
mv
debian/python3-$(PYBUILD_NAME)/usr/lib/python3*/dist-packages/samples
debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)/examples
+ cd
debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)/examples
&& tar caf samples.tar.xz samples && rm -rf samples
mv
debian/python3-$(PYBUILD_NAME)/usr/lib/python3*/dist-packages/VERSION.txt
debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)/examples
=====================================
debian/tests/run-unit-test
=====================================
@@ -6,14 +6,12 @@ pkg=python3-pairix
export LC_ALL=C.UTF-8
if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
- # Double quote below to expand the temporary directory variable now versus
- # later is on purpose.
- # shellcheck disable=SC2064
trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
fi
cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
cd "${AUTOPKGTEST_TMP}"
-
+gunzip test/*.gz
+tar xaf samples.tar.xz
pytest-3
View it on GitLab:
https://salsa.debian.org/med-team/python-pairix/-/commit/2b8f05c7e4e89428d91f912841f293975aa52527
--
View it on GitLab:
https://salsa.debian.org/med-team/python-pairix/-/commit/2b8f05c7e4e89428d91f912841f293975aa52527
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit