[pyferret] 53/110: Also call dh_numpy3

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jul 28 08:42:00 UTC 2017


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

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

commit 7eefa292edc21107f26a4e90e66288b696ad1343
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Aug 9 13:37:59 2016 +0100

    Also call dh_numpy3
---
 debian/control | 5 +++--
 debian/rules   | 2 ++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 97f1301..204cb84 100644
--- a/debian/control
+++ b/debian/control
@@ -6,11 +6,12 @@ Maintainer: Alastair McKinstry <mckinstry at debian.org>
 Section: science
 Priority: optional
 XB-Python-Version: 2.7
-Build-Depends: debhelper (>= 9), gfortran, csh, 
+Build-Depends: debhelper (>= 9), gfortran, csh, dh_python,
  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, dh-python, python-numpy, python3-all-dev,
+ python-all-dev, python3-all-dev,
+ python-numpy, python3-numpy,
  python-future, python3-future,
  java-common, openjdk-8-jdk, ferret-vis
 
diff --git a/debian/rules b/debian/rules
index 41566c1..bf98863 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,8 +33,10 @@ override_dh_auto_install:
 		$(MAKE) HOSTTYPE=debian PYTHON_EXE=$$p clean all install ; \
 		done
 	# libpyferret.so needs a link because its linked by externally loaded modules
+	# FIXME: How to cope when there are two versions?
 	dh_link -p python-ferret /usr/lib/python2.7/dist-packages/pyferret/libpyferret.$(ARCH).so $(LIBDIR)/libpyferret.so
 	dh_numpy
+	dh_numpy3
 
 override_dh_auto_test:
 	# @echo "Tests bypassed for the moment."

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



More information about the debian-science-commits mailing list