[pybind11] 01/02: Build the tests with the default Python 3 version

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 20 14:01: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 pybind11.

commit 3387525c48932831579444e4b069574aa1219471
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Thu Jul 20 14:51:06 2017 +0100

    Build the tests with the default Python 3 version
    
    Gbp-Dch: Short
    Thanks: Adrian Bunk
    Closes: #867551
---
 debian/rules | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 9885471..38e59c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,10 +3,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE = 1
 
-ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
-	BUILD_OPTIONS = -DPYBIND11_TEST=ON
-else
-	BUILD_OPTIONS = -DPYBIND11_TEST=OFF
+BUILD_OPTIONS = -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$(shell py3versions -d)
+ifneq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
+BUILD_OPTIONS += -DPYBIND11_TEST:BOOL=OFF
 endif
 
 export PYBUILD_NAME = pybind11

-- 
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