From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 53E5315806E for ; Tue, 6 Jun 2023 05:43:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78B0EE0893; Tue, 6 Jun 2023 05:43:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5B814E0893 for ; Tue, 6 Jun 2023 05:43:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A4B1335D1E for ; Tue, 6 Jun 2023 05:43:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3DC6A8A for ; Tue, 6 Jun 2023 05:43:53 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1686030217.4d7daa4a569e404e99cb96fdf6ea9b247de18a03.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/netcdf4/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/netcdf4/Manifest dev-python/netcdf4/metadata.xml dev-python/netcdf4/netcdf4-1.6.4.ebuild X-VCS-Directories: dev-python/netcdf4/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4d7daa4a569e404e99cb96fdf6ea9b247de18a03 X-VCS-Branch: master Date: Tue, 6 Jun 2023 05:43:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c60e657d-3000-414f-a549-af559e7800c1 X-Archives-Hash: 198fecbeb4c0ba9a7ef459f04718d9a5 commit: 4d7daa4a569e404e99cb96fdf6ea9b247de18a03 Author: Michał Górny gentoo org> AuthorDate: Tue Jun 6 04:42:20 2023 +0000 Commit: Michał Górny gentoo 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 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. + unidata/netcdf4-python netCDF4 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]" +}