[python-pyproj] 02/02: Check DEB_BUILD_PROFILES for nocheck in dh_auto_test override.
Bas Couwenberg
sebastic at debian.org
Thu Feb 8 21:13:15 UTC 2018
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository python-pyproj.
commit 84cb7f5f4877952eba8b4ce4ed0b98b2aab810f2
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Thu Feb 8 22:12:45 2018 +0100
Check DEB_BUILD_PROFILES for nocheck in dh_auto_test override.
---
debian/changelog | 1 +
debian/rules | 2 ++
2 files changed, 3 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 5ec81a9..c8a6dd4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ python-pyproj (1.9.5.1-4) UNRELEASED; urgency=medium
* Update copyright-format URL to use HTTPS.
* Bump Standards-Version to 4.1.3, no changes.
+ * Check DEB_BUILD_PROFILES for nocheck in dh_auto_test override.
-- Bas Couwenberg <sebastic at debian.org> Sun, 21 Jan 2018 10:39:51 +0100
diff --git a/debian/rules b/debian/rules
index fe2ba89..a9ec536 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,8 +30,10 @@ override_dh_clean:
src/pj_malloc.o
override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
PYBUILD_SYSTEM=custom \
PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} {interpreter} unittest/test.py -v" dh_auto_test || echo "Ignoring test failures"
+endif
override_dh_install:
dh_install --list-missing
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-pyproj.git
More information about the Pkg-grass-devel
mailing list