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 3BAB4138334 for ; Sun, 30 Sep 2018 10:10:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16790E0843; Sun, 30 Sep 2018 10:10:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 DC331E0843 for ; Sun, 30 Sep 2018 10:10:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 33A81335CD9 for ; Sun, 30 Sep 2018 10:10:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 816792C6 for ; Sun, 30 Sep 2018 10:10:16 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1538302192.899f0e6bf88c3dc6693f93f7fad486ef8e7f185e.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/netcdf/netcdf-4.6.1-r1.ebuild X-VCS-Directories: sci-libs/netcdf/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 899f0e6bf88c3dc6693f93f7fad486ef8e7f185e X-VCS-Branch: master Date: Sun, 30 Sep 2018 10:10:16 +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-Archives-Salt: 08ba0dda-7c84-45bf-bf45-7f51278d399c X-Archives-Hash: e175c3b1953ef15fc8b6f3c77907219f commit: 899f0e6bf88c3dc6693f93f7fad486ef8e7f185e Author: Pacho Ramos gentoo org> AuthorDate: Sun Sep 30 10:06:59 2018 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Sep 30 10:09:52 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899f0e6b sci-libs/netcdf: Update subslot (#654036 by Jouni Kosonen) Package-Manager: Portage-2.3.50, Repoman-2.3.11 Signed-off-by: Pacho Ramos gentoo.org> sci-libs/netcdf/netcdf-4.6.1-r1.ebuild | 53 ++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/sci-libs/netcdf/netcdf-4.6.1-r1.ebuild b/sci-libs/netcdf/netcdf-4.6.1-r1.ebuild new file mode 100644 index 00000000000..f4ebee1029c --- /dev/null +++ b/sci-libs/netcdf/netcdf-4.6.1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +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/13" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+dap examples hdf +hdf5 mpi static-libs szip test tools" + +RDEPEND=" + dap? ( net-misc/curl:0= ) + hdf? ( sci-libs/hdf:0= sci-libs/hdf5:0= ) + hdf5? ( sci-libs/hdf5:0=[hl(+),mpi=,szip=,zlib] )" +DEPEND="${RDEPEND}" +# doc generation is missing many doxygen files in tar ball +# doc? ( app-doc/doxygen[dot] )" + +REQUIRED_USE="test? ( tools ) szip? ( hdf5 ) mpi? ( hdf5 )" + +S="${WORKDIR}/${PN}-c-${PV}" + +src_configure() { + local myconf + if use mpi; then + export CC=mpicc + fi + econf "${myconf}" \ + --disable-examples \ + --disable-dap-remote-tests \ + $(use_enable dap) \ + $(use_enable hdf hdf4) \ + $(use_enable hdf5 netcdf-4) \ + $(use_enable static-libs static) \ + $(use_enable tools utilities) +} + +src_test() { + # fails parallel tests: bug #621486 + emake check -j1 +} + +src_install() { + default + use examples && dodoc -r examples + prune_libtool_files +}