[med-svn] [unanimity] 02/05: Don't use pybuild's auto-detection for the build system

Afif Elghraoui afif at moszumanska.debian.org
Sat Dec 24 01:30:01 UTC 2016


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

afif pushed a commit to branch master
in repository unanimity.

commit 112e0197efece5cbae031b2fc01487f80c062a91
Author: Afif Elghraoui <afif at debian.org>
Date:   Fri Dec 23 16:31:45 2016 -0800

    Don't use pybuild's auto-detection for the build system
    
    pybuild sometimes finds cmake and sometimes the distutils. It
    shouldn't be using cmake to build the python module, so don't let
    it decide.
---
 debian/rules | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 5486e1f..2bebcab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,8 @@ export pbcopper_INCLUDE_DIRS=$(INCLUDE)
 export pbcopper_LIBRARIES=$(LIB)/libpbcopper.a
 
 export PYBUILD_NAME=consensuscore2
+# Don't let pybuild consider using cmake
+export PYBUILD_SYSTEM=distutils
 
 %:
 	dh $@ \
@@ -26,8 +28,7 @@ export PYBUILD_NAME=consensuscore2
 	--package=python-consensuscore2 \
 	--no-package=ccs \
 	--with python2 \
-	--buildsystem=pybuild \
-	--builddirectory=build
+	--buildsystem=pybuild
 
 # We only want to run the configure step once. If we do not do this,
 # cmake attempts to run (from the second dh invocation) in the pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/unanimity.git



More information about the debian-med-commit mailing list