From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CCD781384B4 for ; Wed, 18 Nov 2015 23:58:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA32AE08B8; Wed, 18 Nov 2015 23:58:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 19AE021C007 for ; Wed, 18 Nov 2015 23:58:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BCF9C3409A4 for ; Wed, 18 Nov 2015 23:58:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0DDF0B5D for ; Wed, 18 Nov 2015 23:58:05 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1447891211.47b56a9dacdf67e0f46d75d2279d573aa65a792f.bicatali@gentoo> Subject: [gentoo-commits] dev/bicatali:master commit in: sci-libs/netcdf/ X-VCS-Repository: dev/bicatali X-VCS-Files: sci-libs/netcdf/Manifest sci-libs/netcdf/metadata.xml sci-libs/netcdf/netcdf-4.3.3.1.ebuild X-VCS-Directories: sci-libs/netcdf/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: 47b56a9dacdf67e0f46d75d2279d573aa65a792f X-VCS-Branch: master Date: Wed, 18 Nov 2015 23:58:05 +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: 7e6994d2-49b1-41ca-9063-cdb003b0f374 X-Archives-Hash: a35c299b1b086149a9f75af922f0083d commit: 47b56a9dacdf67e0f46d75d2279d573aa65a792f Author: Sébastien Fabbro gentoo org> AuthorDate: Thu Nov 19 00:00:11 2015 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Thu Nov 19 00:00:11 2015 +0000 URL: https://gitweb.gentoo.org/dev/bicatali.git/commit/?id=47b56a9d sci-libs/netcdf: version bump Package-Manager: portage-2.2.25 sci-libs/netcdf/Manifest | 1 + sci-libs/netcdf/metadata.xml | 18 +++++++++++ sci-libs/netcdf/netcdf-4.3.3.1.ebuild | 56 +++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) diff --git a/sci-libs/netcdf/Manifest b/sci-libs/netcdf/Manifest new file mode 100644 index 0000000..b947104 --- /dev/null +++ b/sci-libs/netcdf/Manifest @@ -0,0 +1 @@ +DIST netcdf-4.3.3.1.tar.gz 4999463 SHA256 bdde3d8b0e48eed2948ead65f82c5cfb7590313bc32c4cf6c6546e4cea47ba19 SHA512 a14e126ec3dcb4c7c68e82b20cd149f391ff9f2f733f19a93b159c1529e04ee2a66128962a4534cfe1f37e1c8a100f92def4f79069f5359c95a819715f62acef WHIRLPOOL 17d5ea91954fa85d110675066c04695739b4a36bd42eeeb14c678d7927dc1f22aadd075d10f754b3e4655c1cebd242fc80b6999c50b3660ec7334f4180bce3ee diff --git a/sci-libs/netcdf/metadata.xml b/sci-libs/netcdf/metadata.xml new file mode 100644 index 0000000..d78394e --- /dev/null +++ b/sci-libs/netcdf/metadata.xml @@ -0,0 +1,18 @@ + + + + sci + + NetCDF (network Common Data Form) is an interface for scientific + data access and a freely-distributed software library that provides an + implementation of the interface. The netCDF library also defines a + machine-independent format for representing scientific data. + Together, the interface, library, and format support the creation, + access, and sharing of scientific data. + + + Support for remote data access with the built-in OPeNDAP client + Add support for the Hierarchical Data Format v.4 sci-libs/hdf + Build the utilities nccopy, ncgen and ncdump + + diff --git a/sci-libs/netcdf/netcdf-4.3.3.1.ebuild b/sci-libs/netcdf/netcdf-4.3.3.1.ebuild new file mode 100644 index 0000000..347d2b3 --- /dev/null +++ b/sci-libs/netcdf/netcdf-4.3.3.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools-utils + +DESCRIPTION="Scientific library and interface for array oriented data access" +HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/" +SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/${P}.tar.gz" + +LICENSE="UCAR-Unidata" +SLOT="0/7" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+dap doc 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=[mpi=,szip=,zlib] )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] )" + +REQUIRED_USE="test? ( tools ) szip? ( hdf5 ) mpi? ( hdf5 )" + +src_configure() { + local myeconfargs=( + --docdir="${EPREFIX}"/usr/share/doc/${PF} + --disable-examples + --disable-dap-remote-tests + $(use_enable dap) + $(use_enable doc doxygen) + $(use_enable hdf hdf4) + $(use_enable hdf5 netcdf-4) + $(use_enable tools utilities) + ) + if use mpi; then + export CC=mpicc + myeconfargs+=( --enable-parallel ) + use test && myeconfargs+=( --enable-parallel-tests ) + fi + autotools-utils_src_configure +} + +src_test() { + autotools-utils_src_test -j1 +} + +src_install() { + autotools-utils_src_install + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +}