[med-svn] [python-cobra] 01/02: Work around issue with pybuild on jessie for detecting python3 version

Afif Elghraoui afif-guest at moszumanska.debian.org
Thu Oct 8 04:23:44 UTC 2015


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

afif-guest pushed a commit to tag debian/0.4.0b4-1_bpo8+2
in repository python-cobra.

commit 649aff3ba12693682390ea43a4a1fb0552a7536d
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Wed Oct 7 21:13:18 2015 -0700

    Work around issue with pybuild on jessie for detecting python3 version
    
    pybuild wouldn't build the package for python3, so the package
    was empty. This bug was reported to upstream's issue tracker :(
    as https://github.com/opencobra/cobrapy/issues/186
    .
    This commit introduces a workaround that's only needed for jessie,
    apparently.
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index ecf64fe..963f5cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,9 @@
 #DH_VERBOSE = 1
 export PYBUILD_NAME=cobra
 
+export PYBUILD_VERSIONS=2.7 3.4
+export PYBUILD_INTERPRETERS=python{version}
+
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 

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



More information about the debian-med-commit mailing list