[h5py] 02/06: Replace occurrences of findstring with filter

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Sep 11 09:17:47 UTC 2017


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

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

commit 4ab38da7f43331ac3c99ae59422658ae73142fcd
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Sep 6 09:53:49 2017 +0100

    Replace occurrences of findstring with filter
    
    Gbp-Dch: Short
    Thanks: James Clarke
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 12ffe72..257ea70 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,14 +10,14 @@ export PYBUILD_NAME = h5py
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_clean-indep:
-ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	$(MAKE) -C docs clean
 endif
 
 override_dh_auto_build-indep: export http_proxy=127.0.0.1:9
 override_dh_auto_build-indep: export https_proxy=127.0.0.1:9
 override_dh_auto_build-indep:
-ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
 endif
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git



More information about the debian-science-commits mailing list