[Python-modules-commits] [python-qtpy] 02/03: Temporarily disable testing at package build time

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Mar 16 12:39:51 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 7c298220ed6acc2dc87fd9f7e8a1ab71c5ecb06c
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Mar 14 13:35:12 2017 +0000

    Temporarily disable testing at package build time
    
    - Drop b-deps required for testing
    - Disable testing stage in pybuild
    - Drop use of dh_auto_test override
    
    Gbp-Dch: full
    Closes: #854496
    Thanks: Santiago Vila for investigating
---
 debian/control | 15 +--------------
 debian/rules   |  9 ++-------
 2 files changed, 3 insertions(+), 21 deletions(-)

diff --git a/debian/control b/debian/control
index 4197100..874df60 100644
--- a/debian/control
+++ b/debian/control
@@ -5,23 +5,10 @@ Section: python
 Priority: optional
 Build-Depends: debhelper (>= 10),
                dh-python,
-               dpkg-dev (>= 1.17.14),
                python-all,
-               python-pyqt5 <!nocheck>,
-               python-pyqt5.qtmultimedia <!nocheck>,
-               python-pyqt5.qtsvg <!nocheck>,
-               python-pyqt5.qtwebkit <!nocheck>,
-               python-pytest <!nocheck>,
                python-setuptools,
                python3-all,
-               python3-pyqt5 <!nocheck>,
-               python3-pyqt5.qtmultimedia <!nocheck>,
-               python3-pyqt5.qtsvg <!nocheck>,
-               python3-pyqt5.qtwebkit <!nocheck>,
-               python3-pytest <!nocheck>,
-               python3-setuptools,
-               xauth <!nocheck>,
-               xvfb <!nocheck>
+               python3-setuptools
 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 12dbe5f..cbae2fd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,13 +4,8 @@
 #export DH_VERBOSE = 1
 
 export PYBUILD_NAME = qtpy
-export PYBUILD_BEFORE_TEST = cp -r {dir}/qtpy/tests {build_dir}
-export PYBUILD_AFTER_TEST = rm -r {build_dir}/tests
+# Testing is temporarily disabled for Stretch, see #854496.
+export PYBUILD_DISABLE = test
 
 %:
 	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