[pybind11] 07/13: Fixup the nocheck and nodoc guards

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Sep 14 11:28:04 UTC 2017


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

ghisvail-guest pushed a commit to branch experimental
in repository pybind11.

commit a48d71a4c0897a117463c4c5dab68bb50f2fa976
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Thu Sep 14 10:58:34 2017 +0100

    Fixup the nocheck and nodoc guards
    
    - Replace occurrences of findstring with filter
    - Use DEB_BUILD_OPTIONS instead of DEB_BUILD_PROFILES
    
    Gbp-Dch: Full
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 4e54117..ff75db8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ export PYBIND11_USE_CMAKE=1
 export PYBUILD_NAME = pybind11
 
 CONFIGURE_ARGS = -DPYBIND11_INSTALL:BOOL=ON
-ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 CONFIGURE_ARGS += -DPYBIND11_TEST:BOOL=ON \
 	-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$(shell py3versions -d)
 else
@@ -22,7 +22,7 @@ endif
 override_dh_auto_clean:
 	dh_auto_clean
 	dh_auto_clean --buildsystem=pybuild
-ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	$(MAKE) -C docs clean
 endif
 
@@ -35,7 +35,7 @@ override_dh_auto_build: export https_proxy=127.0.0.1:9
 override_dh_auto_build:
 	dh_auto_build
 	dh_auto_build --buildsystem=pybuild
-ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	$(MAKE) -C docs html
 endif
 

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



More information about the debian-science-commits mailing list