[python-imageio] 04/06: Fixup the nocheck build profile
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Feb 28 15:41:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository python-imageio.
commit bc5f5352879de4371bdf82cf28eb883a76d53161
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Tue Feb 28 15:07:19 2017 +0000
Fixup the nocheck build profile
- Mark numpy and pillow b-deps as !nocheck
- Disable tests when nocheck is requested
Gbp-Dch: full
---
debian/control | 8 ++++----
debian/rules | 3 +++
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/debian/control b/debian/control
index 0e62bba..001b6af 100644
--- a/debian/control
+++ b/debian/control
@@ -7,14 +7,14 @@ Build-Depends: debhelper (>= 10),
dh-python,
dpkg-dev (>= 1.17.14),
python-all,
- python-numpy,
- python-pil,
+ python-numpy <!nocheck>,
+ python-pil <!nocheck>,
python-pytest <!nocheck>,
python-setuptools,
python3-all,
- python3-numpy,
+ python3-numpy <!nocheck>,
python3-numpydoc <!nodoc>,
- python3-pil,
+ python3-pil <!nocheck>,
python3-pytest <!nocheck>,
python3-setuptools,
python3-sphinx <!nodoc>,
diff --git a/debian/rules b/debian/rules
index 468ff1b..a239fd5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,9 @@
export IMAGEIO_NO_INTERNET = 1
export PYBUILD_NAME = imageio
+ifneq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
+export PYBUILD_DISABLE = test
+endif
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-imageio.git
More information about the debian-science-commits
mailing list