[cmor] 03/05: WIP: python3 testing

Alastair McKinstry mckinstry at moszumanska.debian.org
Sat Jul 29 10:19:26 UTC 2017


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

mckinstry pushed a commit to branch dev-python3
in repository cmor.

commit 60b04652f51bfcb434d821b5fc8decbaf3fbfe71
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Mon Aug 8 09:48:53 2016 +0100

    WIP: python3 testing
---
 debian/control        | 10 ++++++++++
 debian/patches/series |  2 +-
 debian/rules          |  2 +-
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index c45ec86..d57ac38 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: Alastair McKinstry <mckinstry at debian.org>
 Build-Depends: debhelper (>= 9), dh-buildinfo, libossp-uuid-dev,
  libudunits2-dev, libnetcdf-dev, uuid-dev,
  python-all-dev (>= 2.6.6-3~), python-setuptools (>= 0.6b3), python-numpy,
+ python2-all-dev (>= 2.6.6-3~), python3-setuptools (>= 0.6b3), python3-numpy,
  libgfortran3, automake, gfortran, pkg-config,
  libhdf5-serial-dev | libhdf5-dev,
 Build-Conflicts: libcmor2, python-cmor, python3-cmor
@@ -53,3 +54,12 @@ Provides: ${python:Provides}
 Description: Python interface to CMOR
  This is a Python interface to CMOR, the Climate Model Output Rewriter.
 
+Package: python3-cmor
+Section: python
+Architecture: any
+Multi-Arch: foreign
+Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Provides: ${python3:Provides}
+Description: Python3 interface to CMOR
+ This is a Python3 interface to CMOR, the Climate Model Output Rewriter.
+
diff --git a/debian/patches/series b/debian/patches/series
index 874e2e2..bdd1b6b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,4 +5,4 @@ makefile-fix.patch
 # ld-no-add-needed.patch
 destdir.patch
 cmor_ver.patch
-# python3.patch
+python3.patch
diff --git a/debian/rules b/debian/rules
index c247cf5..dd77c5e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,7 +31,7 @@ ifeq ($(BUILD_ARCH_CPU),s390x)
 endif
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3
 
 override_dh_auto_configure:
 	autoreconf -fiv

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



More information about the debian-science-commits mailing list