commit: 53256928d20f16f685efb1668870532486145922
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 14 05:49:49 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 14 06:48:32 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53256928
dev-python/netcdf4: Bump to 1.7.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/netcdf4/Manifest | 1 +
dev-python/netcdf4/netcdf4-1.7.3.ebuild | 55 +++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-python/netcdf4/Manifest b/dev-python/netcdf4/Manifest
index cddf099a5c1a..a3bfc265015a 100644
--- a/dev-python/netcdf4/Manifest
+++ b/dev-python/netcdf4/Manifest
@@ -1 +1,2 @@
DIST netcdf4-1.7.2.tar.gz 835064 BLAKE2B
f44b08c66dca15bc31b5ed05c881f85a59015472dc82428198766438df7301e4f9802f1bcd99b67c3cf0f29e1879ab1e6b6d3cb77ab90fabcfc74417342a23b0
SHA512
a63a5a354157804c422d0b3728e9c4bb2f5d83cbe2fd5be5098bdc497ac2aeed896ab7bcff31e0d50d257f7ab2769e0e6e819cd5191850ed8036298fda7e47da
+DIST netcdf4-1.7.3.tar.gz 836095 BLAKE2B
bab24504cf590a666c2c868c1732f431801f3a56d84919e4d3dfc8d166ac8dae034f69845cb3fd8f32001359c0bc7eab6f7759a78653b898275d15114f61aedc
SHA512
1d7d9dfa99e820e83dab712550c4aeb85d5e5f0c6b61df75673d5dffe9eb3663d4020a0b02fb01acb27a06026e8f996beac3597a27d3a7088bf0a547b015fab8
diff --git a/dev-python/netcdf4/netcdf4-1.7.3.ebuild
b/dev-python/netcdf4/netcdf4-1.7.3.ebuild
new file mode 100644
index 000000000000..ceb5b9af4f23
--- /dev/null
+++ b/dev-python/netcdf4/netcdf4-1.7.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYPI_PN=netCDF4
+PYTHON_COMPAT=( python3_{11..14} )
+
+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 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="blosc bzip2 mpi test szip zstd"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ sci-libs/hdf5:=
+ sci-libs/netcdf:=[blosc(-)=,bzip2(-)=,hdf5,mpi=,szip=,zstd(-)=]
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/certifi[${PYTHON_USEDEP}]
+ dev-python/cftime[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ dev-python/packaging[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-4.15.0[${PYTHON_USEDEP}]
+ 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 "OPeNDAP support" net-misc/curl "sci-libs/netcdf[dap]"
+}