dev-python/netcdf4: Bump to 1.6.4

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-06-06 06:42:20 +02:00
parent 3f7a9be8b0
commit 4d7daa4a56
3 changed files with 57 additions and 0 deletions

View File

@@ -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

View File

@@ -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>

View File

@@ -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]"
}