diff options
author | Matthias Maier <tamiko@gentoo.org> | 2018-04-24 10:36:32 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2018-04-24 10:57:49 -0500 |
commit | 27d91842b56c3c40aa61ea6c5c06231434e70580 (patch) | |
tree | d2226702ae583d129453856d799e5e96e76c3e03 | |
parent | 3d4a17a9afd328cbd49998124cb919409263060b (diff) | |
download | gentoo-27d91842b56c3c40aa61ea6c5c06231434e70580.tar.gz gentoo-27d91842b56c3c40aa61ea6c5c06231434e70580.tar.xz |
sci-libs/netcdf: version bump to 4.6.1
Package-Manager: Portage-2.3.31, Repoman-2.3.9
-rw-r--r-- | sci-libs/netcdf/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/netcdf/netcdf-4.6.1.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/sci-libs/netcdf/Manifest b/sci-libs/netcdf/Manifest index 908ece71cc1..327618d86c8 100644 --- a/sci-libs/netcdf/Manifest +++ b/sci-libs/netcdf/Manifest @@ -1,3 +1,4 @@ DIST netcdf-4.3.2.tar.gz 5013938 BLAKE2B 7acef16284bf8586750bdeb03da3e2e2a1c543b80423269eb2542d179e1b52dd51e30584a13f604e75c295ae9ff993c814183fbb5a78ad1141c62f8dbdda6525 SHA512 9cb9c761bf1e17a37601c37000fdc0bb654afcf111e5ac2fb7dcf037c6aa827e66beb29d5c661edc50ea3f84849f3dee387aab9e85ef81a9b6ca3f36e45debdd DIST netcdf-4.4.0.tar.gz 17487357 BLAKE2B 45c3ea75df4c7fef57cd49d242c349b078a73915f8690bf2508e0f93cb4189246806a3ecead5a0dd050204dbeeeb4eaa0468bcfba4eeee14b9766a3fe0f1ffa6 SHA512 c5cae15e86d11e6434a489bdac39ea498bdca2008ae6732a16603b32d79a9227a168a0fa0174c6d55ced0c92d9b644f60db4d946f695731161572abd6b778fa1 DIST netcdf-4.4.1.1.tar.gz 17670828 BLAKE2B 9d38b7ce9feaafbe8326b4a055be3aa805dbe0f8efd039c30b2fb9c41ac912a4ae9eb2f95709f0069f8d38c7526491636be4adc65d1d57ee69e0678edccf232b SHA512 ee23f37d7b40e7b9a115d29bc038c7c654d50dedfcad62617b8dee3efa4668305e6a0656ba655770727ff46f4b6d742869c719267eca3392c94e2488eb902da7 +DIST netcdf-4.6.1.tar.gz 18201700 BLAKE2B 2dab9add736d0db3ad91fb1ccda63c200fe5a2c6e56e2dd5b76375f6535807c6f462623d1709235f03e0940b66a8c2d1c3fd896b042b8b0004c87f038852befb SHA512 e290b10e763f9f6ef56b5224f834834853de7c21347ef6a078a2e7d819757fc8069814431784d0a0387ba2ce1f01776556e3051f9465829da0ffd3849571cd61 diff --git a/sci-libs/netcdf/netcdf-4.6.1.ebuild b/sci-libs/netcdf/netcdf-4.6.1.ebuild new file mode 100644 index 00000000000..69b0804fd8b --- /dev/null +++ b/sci-libs/netcdf/netcdf-4.6.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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="http://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/11" +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 + myconf="--enable-parallel" + use test && myconf+=" --enable-parallel-tests" + 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 +} |