mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/netcdf4: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST netcdf4-1.7.1.tar.gz 827831 BLAKE2B a0b6956be7749133f4823f385ea82b84975985814b90e7172ecbfb6d4590cf0809471672375a2331181735d7af622f6302adf2dad5fd95f09e24078bbdc20581 SHA512 69b7465f1d7b138b9f2f18732528207c7a573e0a5637c964a881fddc8f01a53b16c7250c22824a6ee0e3383dccd7f93b1971f95a9d1558d6088709efa7558ce7
|
||||
DIST netcdf4-1.7.2.tar.gz 835064 BLAKE2B f44b08c66dca15bc31b5ed05c881f85a59015472dc82428198766438df7301e4f9802f1bcd99b67c3cf0f29e1879ab1e6b6d3cb77ab90fabcfc74417342a23b0 SHA512 a63a5a354157804c422d0b3728e9c4bb2f5d83cbe2fd5be5098bdc497ac2aeed896ab7bcff31e0d50d257f7ab2769e0e6e819cd5191850ed8036298fda7e47da
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# 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]"
|
||||
}
|
||||
Reference in New Issue
Block a user