[Python-modules-commits] [pytest-qt] 02/05: Use DEB_BUILD_OPTIONS for nocheck and nodoc guards

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Aug 23 18:36:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository pytest-qt.

commit 2b90f199404e8e5ee064a70a90f45166e535fa6e
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Aug 23 19:23:53 2017 +0100

    Use DEB_BUILD_OPTIONS for nocheck and nodoc guards
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 4917ab6..2811585 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ export PYBUILD_AFTER_TEST = rm -rf {build_dir}/*.egg-info
 
 override_dh_auto_clean:
 	dh_auto_clean
-ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
 	$(MAKE) -C docs clean
 endif
 
@@ -20,11 +20,11 @@ override_dh_auto_build: export http_proxy=127.0.0.1:9
 override_dh_auto_build: export https_proxy=127.0.0.1:9
 override_dh_auto_build:
 	dh_auto_build
-ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
 endif
 
 override_dh_auto_test:
-ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	QT_LOGGING_RULES="default.debug=true" xvfb-run -a dh_auto_test
 endif

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



More information about the Python-modules-commits mailing list