Package: python-shapely
Version: 1.4.3-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu wily ubuntu-patch

Hi Pietro,

The python-shapely package currently build-depends on python3-dev and
python3-all (as well as python-all and python-all-dev).  This is
inconsistent, and results in a misbuild when there is more than one
supported version of python3 as only support for the default interpreter is
installed.

The correct thing to do is to build-depend on either python3-all-dev +
python3-all, or python3-dev + python3.

Attached is a trivial patch to fix this issue.  Note that the python3.5
transition is coming soon to Debian, at which point the severity of this bug
might be raised.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]
diff -Nru python-shapely-1.4.3/debian/control python-shapely-1.4.3/debian/control
--- python-shapely-1.4.3/debian/control	2015-07-23 00:13:47.000000000 -0700
+++ python-shapely-1.4.3/debian/control	2015-07-25 03:15:42.000000000 -0700
@@ -2,7 +2,7 @@
 Section: python
 Priority: optional
 Maintainer: Pietro Battiston <[email protected]>
-Build-Depends: debhelper (>= 7.0.50), python-setuptools (>= 0.6), libgeos-c1 (>= 3.1.0), libgeos-dev, python-numpy, python-all (>= 2.6.6-3), python-all-dev, python3-all, python3-setuptools, cython, cython3, python-dev, python3-dev, dh-python, python-sphinx, python3-sphinx, python-matplotlib, libjs-mathjax
+Build-Depends: debhelper (>= 7.0.50), python-setuptools (>= 0.6), libgeos-c1 (>= 3.1.0), libgeos-dev, python-numpy, python-all (>= 2.6.6-3), python-all-dev, python3-all, python3-setuptools, cython, cython3, python3-all-dev, dh-python, python-sphinx, python3-sphinx, python-matplotlib, libjs-mathjax
 Standards-Version: 3.9.5
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.2

Reply via email to