[Python-modules-commits] [pytest-qt] 05/07: Replace occurrences of findstring with filter

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Sep 20 17:49:23 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 3c75d5950a04c8a6a812fa77ea6404673a40e8c2
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Sep 19 22:24:17 2017 +0200

    Replace occurrences of findstring with filter
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index ef77c02..5d92a03 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_OPTIONS)))
+ifeq (,$(filter 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_OPTIONS)))
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
 endif
 
 override_dh_auto_test:
-ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ifeq (,$(filter 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