Package: pyferret
Version: 7.0.0-2
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu artful ubuntu-patch

Hi Alastair,

Again, like for xdmf in bug #863000, pyferret is invoking py{,3}versions in
a way that expands to multiple words while transitions are in process, but
isn't set up to handle this so fails to build.  Attached is the patch
applied in Ubuntu to fix the build failure by switching to py{,3}versions -d
and python{,3}-dev.

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/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru pyferret-7.0.0/debian/control pyferret-7.0.0/debian/control
--- pyferret-7.0.0/debian/control       2016-08-31 15:17:30.000000000 -0700
+++ pyferret-7.0.0/debian/control       2017-05-19 14:31:07.000000000 -0700
@@ -11,7 +11,7 @@
  libreadline-dev, libcurl4-openssl-dev | libcurl-dev, libncurses-dev, 
  libnetcdf-dev (>= 4.3.0), libnetcdff-dev,
  libxpm-dev, libxt-dev, libcairo2-dev, libpango1.0-dev,
- python-all-dev, python3-all-dev,
+ python-dev, python3-dev,
  python-numpy, python3-numpy,
  python-future, python3-future,
  java-common, default-jdk-headless, 
diff -Nru pyferret-7.0.0/debian/rules pyferret-7.0.0/debian/rules
--- pyferret-7.0.0/debian/rules 2016-08-31 15:17:30.000000000 -0700
+++ pyferret-7.0.0/debian/rules 2017-05-19 14:29:42.000000000 -0700
@@ -15,8 +15,8 @@
 LIBDIR:=/usr/lib/$(ARCH)
 INSTALLDIR:=$(CURDIR)/debian/tmp
 
-PY2:=$(shell pyversions -r)
-PY3:=$(shell py3versions -r)
+PY2:=$(shell pyversions -d)
+PY3:=$(shell py3versions -d)
 
 override_dh_auto_build:
        cp debian/platform_specific.mk.debian .

Reply via email to