Skip to content
Commits on Source (2)
pyosmium (2.14.2-2) unstable; urgency=medium
* Ignore test failures on i386 & hurd-i386.
-- Bas Couwenberg <sebastic@debian.org> Tue, 07 Aug 2018 18:37:29 +0200
pyosmium (2.14.2-1) unstable; urgency=medium
* New upstream release.
......
......@@ -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
......