[Git][debian-gis-team/pyosmium][master] 2 commits: Ignore test failures on i386 & hurd-i386.
Bas Couwenberg
gitlab at salsa.debian.org
Tue Aug 7 18:41:56 BST 2018
Bas Couwenberg pushed to branch master at Debian GIS Project / pyosmium
Commits:
99221281 by Bas Couwenberg at 2018-08-07T15:51:56Z
Ignore test failures on i386 & hurd-i386.
- - - - -
2ad99f92 by Bas Couwenberg at 2018-08-07T16:38:32Z
Set distribution to unstable.
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pyosmium (2.14.2-2) unstable; urgency=medium
+
+ * Ignore test failures on i386 & hurd-i386.
+
+ -- Bas Couwenberg <sebastic at debian.org> Tue, 07 Aug 2018 18:37:29 +0200
+
pyosmium (2.14.2-1) unstable; urgency=medium
* New upstream release.
=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,8 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export PYBUILD_NAME=pyosmium
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
%:
dh $@ \
--buildsystem pybuild \
@@ -25,8 +27,15 @@ override_dh_auto_build-indep:
(cd doc && PYTHONPATH=$(CURDIR)/.pybuild/cpython3_`py3versions -vd`_pyosmium/build make man)
override_dh_auto_test:
+ifneq (,$(filter $(DEB_BUILD_ARCH),i386 hurd-i386))
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_TEST_ARGS="cd test && {interpreter} run_tests.py" \
+ dh_auto_test || echo "Ignoring test failures"
+else
PYBUILD_SYSTEM=custom \
- PYBUILD_TEST_ARGS="cd test && {interpreter} run_tests.py" dh_auto_test
+ PYBUILD_TEST_ARGS="cd test && {interpreter} run_tests.py" \
+ dh_auto_test
+endif
override_dh_auto_install:
PYBUILD_INSTALL_ARGS="--install-scripts=/usr/lib/{package}" dh_auto_install
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyosmium/compare/c389a76faef9f12c8695127043d4a4770972b38e...2ad99f92f054c052b9ee25469d4bd5dcc1885c01
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyosmium/compare/c389a76faef9f12c8695127043d4a4770972b38e...2ad99f92f054c052b9ee25469d4bd5dcc1885c01
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/pkg-grass-devel/attachments/20180807/6b9e705f/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list