summaryrefslogtreecommitdiff
path: root/dev-python/netcdf4
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-24 04:04:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-24 04:04:24 +0100
commite7daa1f959ba2c720f36a6984f588098e68b15cd (patch)
tree42ed099f2514ebda2681a4de13af60727c8a9fab /dev-python/netcdf4
parentfd93fe10d9e6c855fed8e1524b2d2d64d2085570 (diff)
gentoo auto-resync : 24:10:2024 - 04:04:24
Diffstat (limited to 'dev-python/netcdf4')
-rw-r--r--dev-python/netcdf4/Manifest2
-rw-r--r--dev-python/netcdf4/netcdf4-1.7.2.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/netcdf4/Manifest b/dev-python/netcdf4/Manifest
index 6cd1e709c8d4..cef11f0e80dd 100644
--- a/dev-python/netcdf4/Manifest
+++ b/dev-python/netcdf4/Manifest
@@ -1,3 +1,5 @@
DIST netcdf4-1.7.1.tar.gz 827831 BLAKE2B a0b6956be7749133f4823f385ea82b84975985814b90e7172ecbfb6d4590cf0809471672375a2331181735d7af622f6302adf2dad5fd95f09e24078bbdc20581 SHA512 69b7465f1d7b138b9f2f18732528207c7a573e0a5637c964a881fddc8f01a53b16c7250c22824a6ee0e3383dccd7f93b1971f95a9d1558d6088709efa7558ce7
+DIST netcdf4-1.7.2.tar.gz 835064 BLAKE2B f44b08c66dca15bc31b5ed05c881f85a59015472dc82428198766438df7301e4f9802f1bcd99b67c3cf0f29e1879ab1e6b6d3cb77ab90fabcfc74417342a23b0 SHA512 a63a5a354157804c422d0b3728e9c4bb2f5d83cbe2fd5be5098bdc497ac2aeed896ab7bcff31e0d50d257f7ab2769e0e6e819cd5191850ed8036298fda7e47da
EBUILD netcdf4-1.7.1-r1.ebuild 1195 BLAKE2B 9c2e7c9b4a0598366020ce2cd2bdfd706a8e0e370af91267bdc17fed869f906e8146ac9581bdbdc728130d1085b73ce0da0431483d06fe882a592c55f67d07a9 SHA512 f2657fe1ff2c83fb1d9af5b1cd517461f4e74ed5846c777bb04bb3d71facbb88da61be6836eb6f7ae30396a48c89c4b8449904e85bd29331fc334d9b3e5235fc
+EBUILD netcdf4-1.7.2.ebuild 1197 BLAKE2B 12b3705cae0a10f05e78559949b5e3218855a2a63413eeee957ad3ea822081771d606a21eed46859ef3f5da9f5b20bb9836a4a788c1a5cf97ffc0c2dd4d0285d SHA512 879f860d004ea6a0a385300c36ad4ebda42f4ddc64b74a84f8fb61be7400f695dd818cdf7126e2d424f214ce80d7d9911139c7acd31f17ec6bd7c4b67942affa
MISC metadata.xml 956 BLAKE2B aa37260a26e41c89503beb037d9f933edd3ecfaf60f4729d38de27218d759220656739f5da183eeedf53392a28de6f0d7a8fcb1aed032b040540ba1e66a0e889 SHA512 12dfad0d3a8a03fc837fbc9ffcf590cc393cdc7b4e5492154e7947074e7c138e3e725707d51fc28dc37c5b43300b107a157c70e9caf8a7adf2ca7d9643ed56bd
diff --git a/dev-python/netcdf4/netcdf4-1.7.2.ebuild b/dev-python/netcdf4/netcdf4-1.7.2.ebuild
new file mode 100644
index 000000000000..8ce5240cd335
--- /dev/null
+++ b/dev-python/netcdf4/netcdf4-1.7.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 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_{10..13} )
+
+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}]
+ 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]"
+}