[netcdf4-python] 10/10: Also support Python 3.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Fri Mar 20 15:59:49 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository netcdf4-python.
commit 8ba1ef35f8fc2574c8f7871fb65b221d78012922
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Mar 20 16:43:12 2015 +0100
Also support Python 3.
---
debian/control | 35 ++++++++++++++++++++++++++++++++---
debian/rules | 8 ++++++++
2 files changed, 40 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index 17945ad..abd173d 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,10 @@ Build-Depends: debhelper (>= 9),
python-setuptools,
python-dateutil,
python-numpy,
+ python3-all-dev,
+ python3-setuptools,
+ python3-dateutil,
+ python3-numpy,
cython,
libhdf5-dev,
libnetcdf-dev
@@ -18,11 +22,12 @@ Vcs-Git: git://anonscm.debian.org/pkg-grass/netcdf4-python.git
Homepage: http://unidata.github.io/netcdf4-python/
X-Python-Version: >= 2.6
-Package: netcdf4-python
-Architecture: all
+Package: python-netcdf4
+Architecture: any
Depends: ${python:Depends},
+ ${shlibs:Depends},
${misc:Depends}
-Description: python interface to the netCDF4 (network Common Data Form) library
+Description: Python interface to the netCDF4 (network Common Data Form) library
NetCDF version 4 has many features not found in earlier versions of the
library and is implemented on top of HDF5. This module can read and write
files in both the new netCDF 4 and the old netCDF 3 format, and can create
@@ -35,3 +40,27 @@ Description: python interface to the netCDF4 (network Common Data Form) library
variable length (vlen) data types are supported, but the enum and opaque data
types are not. Mixtures of compound and vlen data types (compound types
containing vlens, and vlens containing compound types) are not supported.
+ .
+ This package contains the netCDF 4 module for Python 2.
+
+Package: python3-netcdf4
+Architecture: any
+Depends: ${python3:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Description: Python 3 interface to the netCDF4 (network Common Data Form) library
+ NetCDF version 4 has many features not found in earlier versions of the
+ library and is implemented on top of HDF5. This module can read and write
+ files in both the new netCDF 4 and the old netCDF 3 format, and can create
+ files that are readable by HDF5 clients. The API is modelled after
+ Scientific.IO.NetCDF, and should be familiar to users of that module.
+ .
+ Most new features of netCDF 4 are implemented, such as multiple unlimited
+ dimensions, groups and zlib data compression. All the new numeric data types
+ (such as 64 bit and unsigned integer types) are implemented. Compound and
+ variable length (vlen) data types are supported, but the enum and opaque data
+ types are not. Mixtures of compound and vlen data types (compound types
+ containing vlens, and vlens containing compound types) are not supported.
+ .
+ This package contains the netCDF 4 module for Python 3.
+
diff --git a/debian/rules b/debian/rules
index 2186466..e2614d0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,11 @@ export USE_NCCONFIG=1
--buildsystem=pybuild \
--parallel
+override_dh_python2:
+ dh_python2
+ dh_numpy
+
+override_dh_python3:
+ dh_python3
+ dh_numpy3
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/netcdf4-python.git
More information about the Pkg-grass-devel
mailing list