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 9BE8B1382C5 for ; Mon, 28 Dec 2020 16:11:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5BCFE0C47; Mon, 28 Dec 2020 16:11:04 +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 B925AE0C47 for ; Mon, 28 Dec 2020 16:11:04 +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 7864134119D for ; Mon, 28 Dec 2020 16:11:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A058CC for ; Mon, 28 Dec 2020 16:11:00 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1609171847.7ad9683f97dcc07c529842bda6880b7f5587178a.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/netcdf/Manifest sci-libs/netcdf/netcdf-4.7.4.ebuild X-VCS-Directories: sci-libs/netcdf/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 7ad9683f97dcc07c529842bda6880b7f5587178a X-VCS-Branch: master Date: Mon, 28 Dec 2020 16:11:00 +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: e4462aeb-f348-499d-855c-307b10e6675a X-Archives-Hash: 896b1b36d7f6dd4a541a98df87703543 commit: 7ad9683f97dcc07c529842bda6880b7f5587178a Author: Jakov Smolic sartura hr> AuthorDate: Mon Dec 28 16:10:47 2020 +0000 Commit: David Seifert gentoo org> CommitDate: Mon Dec 28 16:10:47 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad9683f sci-libs/netcdf: Bump to 4.7.4 Closes: https://github.com/gentoo/gentoo/pull/18739 Closes: https://bugs.gentoo.org/682340 Closes: https://bugs.gentoo.org/711460 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> sci-libs/netcdf/Manifest | 1 + sci-libs/netcdf/netcdf-4.7.4.ebuild | 65 +++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/sci-libs/netcdf/Manifest b/sci-libs/netcdf/Manifest index 5271389b4f2..f0ad551c5b0 100644 --- a/sci-libs/netcdf/Manifest +++ b/sci-libs/netcdf/Manifest @@ -1,2 +1,3 @@ DIST netcdf-4.3.2.tar.gz 5013938 BLAKE2B 7acef16284bf8586750bdeb03da3e2e2a1c543b80423269eb2542d179e1b52dd51e30584a13f604e75c295ae9ff993c814183fbb5a78ad1141c62f8dbdda6525 SHA512 9cb9c761bf1e17a37601c37000fdc0bb654afcf111e5ac2fb7dcf037c6aa827e66beb29d5c661edc50ea3f84849f3dee387aab9e85ef81a9b6ca3f36e45debdd DIST netcdf-4.6.1.tar.gz 18201700 BLAKE2B 2dab9add736d0db3ad91fb1ccda63c200fe5a2c6e56e2dd5b76375f6535807c6f462623d1709235f03e0940b66a8c2d1c3fd896b042b8b0004c87f038852befb SHA512 e290b10e763f9f6ef56b5224f834834853de7c21347ef6a078a2e7d819757fc8069814431784d0a0387ba2ce1f01776556e3051f9465829da0ffd3849571cd61 +DIST netcdf-4.7.4.tar.gz 19711158 BLAKE2B b49532e6f87b458e7f5654f70ec932d6c8c81272c97ce44df3d27bb61b01d3e005f918b959ce12e42e26f7c12309ab72eeb57a35216d20ab5761837db65741a4 SHA512 15922818fdd71be285eb7dd2fc9be2594fe9af979de3ed316465636c7bbdaec65eb151ca57ef8b703e6a360cdba036b8f9bc193ddff01ff7ce4214c0a66efa79 diff --git a/sci-libs/netcdf/netcdf-4.7.4.ebuild b/sci-libs/netcdf/netcdf-4.7.4.ebuild new file mode 100644 index 00000000000..8f99b01c1bd --- /dev/null +++ b/sci-libs/netcdf/netcdf-4.7.4.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Scientific library and interface for array oriented data access" +HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" +SRC_URI="https://github.com/Unidata/netcdf-c/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="UCAR-Unidata" +SLOT="0/18" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+dap doc examples hdf +hdf5 mpi szip test tools" +RESTRICT="!test? ( test )" + +RDEPEND=" + dap? ( net-misc/curl:0= ) + hdf? ( + sci-libs/hdf:0= + sci-libs/hdf5:0= + virtual/jpeg + ) + hdf5? ( sci-libs/hdf5:0=[hl(+),mpi=,szip=,zlib] )" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( app-doc/doxygen[dot] ) + virtual/pkgconfig" + +REQUIRED_USE=" + test? ( tools ) + szip? ( hdf5 ) + mpi? ( hdf5 )" + +S="${WORKDIR}/${PN}-c-${PV}" + +src_prepare() { + # skip test that requires network + sed -i -e '/run_get_hdf4_files/d' hdf4_test/CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + use mpi && export CC=mpicc + + local mycmakeargs=( + -DENABLE_DAP_REMOTE_TESTS=OFF + -DBUILD_UTILITIES=$(usex tools) + -DENABLE_DAP=$(usex dap) + -DENABLE_DOXYGEN=$(usex doc) + -DENABLE_EXAMPLES=$(usex examples) + -DENABLE_HDF4=$(usex hdf) + -DENABLE_NETCDF_4=$(usex hdf5) + -DENABLE_TESTS=$(usex test) + ) + + cmake_src_configure +} + +src_test() { + # fails parallel tests: bug #621486 + cmake_src_test -j1 +}