[xdmf] 02/04: Fix FTBFS when building with multiple versions of python3. Closes: #863000

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Oct 25 15:24:18 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository xdmf.

commit de1ec1b81d5c11ceb3df58af36d33b3743ada1d4
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Thu May 18 08:30:50 2017 +0100

    Fix FTBFS when building with multiple versions of python3. Closes: #863000
---
 debian/changelog | 7 +++++++
 debian/control   | 2 +-
 debian/rules     | 4 ++--
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ae72d3c..311588b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+xdmf (3.0+git20160803-3) unstable; urgency=medium
+
+  * Fix FTBFS when building with multiple versions of python3.
+    Closes: #863000
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Thu, 18 May 2017 08:30:05 +0100
+
 xdmf (3.0+git20160803-2) unstable; urgency=medium
 
   * CLose old bug; we're now xmdf3. Closes: #830310
diff --git a/debian/control b/debian/control
index a21cbf9..f66aabb 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Alastair McKinstry <mckinstry at debian.org>
 Build-Depends: debhelper (>= 10), cmake(>= 2.4.0), 
   libhdf5-serial-dev, libhdf5-mpi-dev,
   libxml2-dev,  libboost-dev,
-  python-all-dev, dh-python, python3-all-dev, 
+  python-dev, dh-python, python3-dev, 
   gfortran, swig, 
   bzip2, libbz2-dev,
   libgzstream-dev,
diff --git a/debian/rules b/debian/rules
index ad5adf2..4d5fa3e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,8 +13,8 @@ MPI:=$(ARCH_DEFAULT_MPI_IMPL)
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 TMPDIR=$(CURDIR)/debian/tmp
 LIBDIR=/usr/lib/${DEB_HOST_MULTIARCH}
-PY2:=$(shell pyversions -s)
-PY3:=$(shell py3versions -s)m
+PY2:=$(shell pyversions -d)
+PY3:=$(shell py3versions -d)m
 
 CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) -fPIC
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/xdmf.git



More information about the debian-science-commits mailing list