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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 38DBD1382C5 for ; Sun, 14 Feb 2021 08:35:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75A71E0874; Sun, 14 Feb 2021 08:35:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5922FE0874 for ; Sun, 14 Feb 2021 08:35:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 04D1433D7E3 for ; Sun, 14 Feb 2021 08:35:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8479CB9 for ; Sun, 14 Feb 2021 08:35:31 +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: <1613291727.362f7b9b46003fd6e31c32ca3ade9763c9c894f0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/netcdf4-python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/netcdf4-python/Manifest dev-python/netcdf4-python/netcdf4-python-1.5.6.ebuild X-VCS-Directories: dev-python/netcdf4-python/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 362f7b9b46003fd6e31c32ca3ade9763c9c894f0 X-VCS-Branch: master Date: Sun, 14 Feb 2021 08:35:31 +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: 4980f36f-e2a1-4e58-87cf-cb9612757e77 X-Archives-Hash: e77fef745880b2bae6a544bb5bfbc32b commit: 362f7b9b46003fd6e31c32ca3ade9763c9c894f0 Author: Michał Górny gentoo org> AuthorDate: Sun Feb 14 08:17:44 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Feb 14 08:35:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=362f7b9b dev-python/netcdf4-python: Bump to 1.5.6 Signed-off-by: Michał Górny gentoo.org> dev-python/netcdf4-python/Manifest | 1 + .../netcdf4-python/netcdf4-python-1.5.6.ebuild | 48 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-python/netcdf4-python/Manifest b/dev-python/netcdf4-python/Manifest index 0784f46d550..6c560619247 100644 --- a/dev-python/netcdf4-python/Manifest +++ b/dev-python/netcdf4-python/Manifest @@ -1,2 +1,3 @@ DIST netCDF4-1.2.2.tar.gz 679107 BLAKE2B c15ed9332bd8e4bb18c312cd4418add169716ef29b6f5c4b935c880259a6a16c8388ed7c790919bfbbee631e9e96ce4b9a9afaeabb305e4dd32028353e62207d SHA512 e09465d125077e71b8aad4332be844099c7fa29d0ea8f1dd0887f7a5e849ab778361026323466b1d4897bc3d8f8be1818cfa5f426773c765ee9c5f3728ff3da3 DIST netCDF4-1.5.5.tar.gz 793676 BLAKE2B 15783e359ed65062464874de24b3fabf07c5666f54f979cb4abd5429cb1668df9dc5aee6d96fb171f597b670ac87ac15400549659c82754da60dc9b00ab734cd SHA512 da6ead22ca60900468fbefdb5d1e9486555e73cf4d99096227404094e94cd4d0488320fe4eb2b7944e1183c39817d9e593065297f921016811b7dc6eabb918ef +DIST netCDF4-1.5.6.tar.gz 763732 BLAKE2B 0bb08ed81206c7d14817dad0f93683b5c44678869c760467071e2a0a76be76c9d78c0f714a043d77dba9b4535a83d59d8197340c105070a4f0204900b1e50410 SHA512 cc5bdb476fa034576f8e1a19e709dba53ad2db68cd10221df2de46a47fc7e5bacfc90fe8c4458ef45b20bf24a1cf52f275b1891af5574e2a139e95cb0d793a8b diff --git a/dev-python/netcdf4-python/netcdf4-python-1.5.6.ebuild b/dev-python/netcdf4-python/netcdf4-python-1.5.6.ebuild new file mode 100644 index 00000000000..9340c275dbf --- /dev/null +++ b/dev-python/netcdf4-python/netcdf4-python-1.5.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=bdepend +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 optfeature + +MY_PN="netCDF4" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python/numpy interface to the netCDF C library" +HOMEPAGE="https://unidata.github.io/netcdf4-python/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + sci-libs/hdf5 + sci-libs/netcdf:=[hdf5]" +RDEPEND="${DEPEND} + dev-python/cftime[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + sci-libs/hdf5 + sci-libs/netcdf[hdf5,tools] + dev-python/cftime[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + )" + +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]" +}