[Python-modules-commits] [numpydoc] 15/16: Add support for the nocheck build profile
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Jul 12 18:19:14 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository numpydoc.
commit a4a4a87dd0afa5d61ab5341458cd9c99a71eacd4
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Wed Jul 12 19:09:46 2017 +0100
Add support for the nocheck build profile
---
debian/control | 17 +++++++++--------
debian/rules | 4 ++++
2 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/debian/control b/debian/control
index 2c8903d..0ab127f 100644
--- a/debian/control
+++ b/debian/control
@@ -5,18 +5,19 @@ Section: python
Priority: optional
Build-Depends: debhelper (>= 10),
dh-python,
+ dpkg-dev (>= 1.17.14),
python-all,
- python-jinja2,
- python-matplotlib,
- python-nose,
+ python-jinja2 <!nocheck>,
+ python-matplotlib <!nocheck>,
+ python-nose <!nocheck>,
python-setuptools,
- python-sphinx,
+ python-sphinx <!nocheck>,
python3-all (>= 3.4),
- python3-jinja2,
- python3-matplotlib,
- python3-nose,
+ python3-jinja2 <!nocheck>,
+ python3-matplotlib <!nocheck>,
+ python3-nose <!nocheck>,
python3-setuptools,
- python3-sphinx
+ python3-sphinx <!nocheck>
Standards-Version: 4.0.0
Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/numpydoc.git
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/numpydoc.git
diff --git a/debian/rules b/debian/rules
index 471ad85..f1b79b1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,5 +6,9 @@
export PYBUILD_NAME=numpydoc
+ifneq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
+export PYBUILD_DISABLE=test
+endif
+
%:
dh $@ --with python2,python3 --buildsystem=pybuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/numpydoc.git
More information about the Python-modules-commits
mailing list