[Python-modules-commits] [python-qtpy] 11/13: Support the nocheck build profile

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jan 17 18:40:25 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-qtpy.

commit 61e43ed9d248becba458d3197ef1bd824c606a66
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Jan 17 00:30:25 2017 +0000

    Support the nocheck build profile
    
    - Add versioned dependency on dpkg-dev
    - Mark test dependencies as !nocheck
    - Disable tests if nocheck requested
    
    Gbp-Dch: full
---
 debian/control | 25 +++++++++++++------------
 debian/rules   |  2 ++
 2 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/debian/control b/debian/control
index 74922a3..4197100 100644
--- a/debian/control
+++ b/debian/control
@@ -5,22 +5,23 @@ Section: python
 Priority: optional
 Build-Depends: debhelper (>= 10),
                dh-python,
+               dpkg-dev (>= 1.17.14),
                python-all,
-               python-pyqt5,
-               python-pyqt5.qtmultimedia,
-               python-pyqt5.qtsvg,
-               python-pyqt5.qtwebkit,
-               python-pytest,
+               python-pyqt5 <!nocheck>,
+               python-pyqt5.qtmultimedia <!nocheck>,
+               python-pyqt5.qtsvg <!nocheck>,
+               python-pyqt5.qtwebkit <!nocheck>,
+               python-pytest <!nocheck>,
                python-setuptools,
                python3-all,
-               python3-pyqt5,
-               python3-pyqt5.qtmultimedia,
-               python3-pyqt5.qtsvg,
-               python3-pyqt5.qtwebkit,
-               python3-pytest,
+               python3-pyqt5 <!nocheck>,
+               python3-pyqt5.qtmultimedia <!nocheck>,
+               python3-pyqt5.qtsvg <!nocheck>,
+               python3-pyqt5.qtwebkit <!nocheck>,
+               python3-pytest <!nocheck>,
                python3-setuptools,
-               xauth,
-               xvfb
+               xauth <!nocheck>,
+               xvfb <!nocheck>
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-qtpy.git
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-qtpy.git
diff --git a/debian/rules b/debian/rules
index fe2eba0..9f58708 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,4 +11,6 @@ export PYBUILD_AFTER_TEST=rm -r {build_dir}/tests
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
 	xvfb-run dh_auto_test
+endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-qtpy.git



More information about the Python-modules-commits mailing list