commit: 4d7daa4a569e404e99cb96fdf6ea9b247de18a03
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 6 04:42:20 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun 6 05:43:37 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d7daa4a
dev-python/netcdf4: Bump to 1.6.4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/netcdf4/Manifest | 1 +
dev-python/netcdf4/metadata.xml | 1 +
dev-python/netcdf4/netcdf4-1.6.4.ebuild | 55 +++++++++++++++++++++++++++++++++
3 files changed, 57 insertions(+)
diff --git a/dev-python/netcdf4/Manifest b/dev-python/netcdf4/Manifest
index 22d27ab1a5dc..0d6bbeb06cf9 100644
--- a/dev-python/netcdf4/Manifest
+++ b/dev-python/netcdf4/Manifest
@@ -1 +1,2 @@
DIST netCDF4-1.6.3.tar.gz 777538 BLAKE2B
7d0cef9196893b23666ad241634d748e58aa444aebae936a4d0dec0c3efb67a65717e3a3fa15074374bbc96fd2f1f3fb7aa60d473b2b3bef0622bcf38b5d4885
SHA512
274f347e258f32238af5dea8964e6fad47fc58d386555bf33087bd2ffecddb8aa068837af023555cd124106e0cb8092c015fef8bfa47a3c2941c07b70f850f6c
+DIST netCDF4-1.6.4.tar.gz 778542 BLAKE2B
fb90aa5c990a5cb71b82ba0d5bfc39014d552d0804eee24daf7111fc19023b07c3af76e913e227595825748e599eb3c8425f336fa2b520c6a6ae4155e73c2d64
SHA512
a3582fcdd4978d8faa9fd7b49ec40cba0e4d56a32a283f18e1133a1a5ba6e89406625390cbebd0c162d31c65c63060cd8cc4398f0eee3c45be43b54016ec0f48
diff --git a/dev-python/netcdf4/metadata.xml b/dev-python/netcdf4/metadata.xml
index e9799992da68..7ae0208c4dbb 100644
--- a/dev-python/netcdf4/metadata.xml
+++ b/dev-python/netcdf4/metadata.xml
@@ -17,6 +17,7 @@
should be familiar to users of that module.
</longdescription>
<upstream>
+ <remote-id type="github">unidata/netcdf4-python</remote-id>
<remote-id type="pypi">netCDF4</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/netcdf4/netcdf4-1.6.4.ebuild
b/dev-python/netcdf4/netcdf4-1.6.4.ebuild
new file mode 100644
index 000000000000..1cda7fec1dfa
--- /dev/null
+++ b/dev-python/netcdf4/netcdf4-1.6.4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=netCDF4
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="Python/numpy interface to the netCDF C library"
+HOMEPAGE="
+ https://unidata.github.io/netcdf4-python/
+ https://github.com/unidata/netcdf4-python/
+ https://pypi.org/project/netCDF4/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ sci-libs/hdf5:=
+ sci-libs/netcdf:=[hdf5]
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/certifi[${PYTHON_USEDEP}]
+ dev-python/cftime[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ sci-libs/netcdf[tools(+)]
+ )
+"
+
+python_test() {
+ local -x NO_NET=1
+ cd test || die
+ "${EPYTHON}" run_all.py || die
+}
+
+pkg_postinst() {
+ optfeature "HDF4 support" sci-libs/hdf "sci-libs/netcdf[hdf]"
+ optfeature "MPI parallel IO support" "sci-libs/hdf5[mpi]"
"sci-libs/netcdf[mpi]"
+ optfeature "OPeNDAP support" net-misc/curl "sci-libs/netcdf[dap]"
+}