diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-07 11:03:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-07 11:03:14 +0100 |
commit | 957235cf19a691360c720f7913672adda4258ed0 (patch) | |
tree | 812bba7928f4293ead05a7ee9c1ac39c5ef9f12e /sci-libs/netcdf | |
parent | 62f67115b5c46134c34f88f4b1cbdacc19384c0a (diff) |
gentoo resync : 07.10.2018
Diffstat (limited to 'sci-libs/netcdf')
-rw-r--r-- | sci-libs/netcdf/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/netcdf/netcdf-4.6.1-r1.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/sci-libs/netcdf/Manifest b/sci-libs/netcdf/Manifest index d7f18140d51e..18879e3c5b07 100644 --- a/sci-libs/netcdf/Manifest +++ b/sci-libs/netcdf/Manifest @@ -6,5 +6,6 @@ DIST netcdf-4.6.1.tar.gz 18201700 BLAKE2B 2dab9add736d0db3ad91fb1ccda63c200fe5a2 EBUILD netcdf-4.3.2-r1.ebuild 1474 BLAKE2B 4a7ae70e9f5442edd52ebff9263ad517345dd5c930af61668b0a013789052a42aae892ad2816368735ef0963c139ef1446a769366fb67dd842bdfb969045e371 SHA512 b5927be5e0c9d3c2833acc9612e2148b7d9fe92a444f0d662a24ee27956f40e5f1be19341ca7fa4ebabf5c0354d4ea43de20553d3d180a32ecc13454e448336f EBUILD netcdf-4.4.0-r1.ebuild 1311 BLAKE2B b2a0e74d7ebba7bd0f7bcfd67be94ec68ff389993c568ff72be61e7b48642a62db3e6cfa2a6a9d0375b45274f5c801d1c2fcc0c476370808bdca7388b9b9559b SHA512 16743218eea2154354c57c02b2f3cf76b0c85d9f3d7afa2f7cdb660cbcd7199509fc72a9da6be6b188390ddabe790c29b167b8c33c12835a0a672ac5273df54c EBUILD netcdf-4.4.1.1.ebuild 1387 BLAKE2B 35be1dfd64aeb91426dc92850d40e1ea066c1c0aeb29bbdbc9a280dd38680ee715bcddc24b33c3caafe428d0aad0ea17b5f17a605c89d1fad27238895ddd1978 SHA512 0023d4da50a3045313fa0698d6f867050c95e8e22cc882dd5d50a5ebaf7089f9b6d4ff521588a6c22f0be521d84a0c5fc3176005b2ce9ad6d878a725d4483944 +EBUILD netcdf-4.6.1-r1.ebuild 1304 BLAKE2B 3c8c2d5a9953efbe47beec71748301be6599f8eebbc98853932e10e90cb79d7519d72649b8f9b1249339216c1a897c9b98d7f6986b7a253e97a022623f1a42f8 SHA512 f809c16b23972993dcfb9f0a6cb9a53555ed02454ae7e8025cdb3aff7b52bb9939ed07800a52ee66c335c76956f96384f9efdd49a53283b3f1aca864afad47fe EBUILD netcdf-4.6.1.ebuild 1309 BLAKE2B 1f3b940aea083c0f02a6266e323edd8693d3eb97a9daaabd142950237c3345ae0154e69e221fa6ce6bba1897b005d55aa74cf567850ae0b45445d86b346c34a0 SHA512 982b9c8923f7223a794b3ac82967fa33fdc646d3e7493a54d02a2182b2e927a78e3672e32045151833b51a949db2ce715211ee4e9e67a42fca9fef88250605ed MISC metadata.xml 1064 BLAKE2B 7980e918eb2d2f438aeb5deb4a678c2e324606b40e8d04e592df7d24492bdfbc548082f6fa372c168b09597c3511df15a046cd8f6d746db3d9aeae31cf3604ac SHA512 2aaa7a6c4659ff3daf81bdb63541ce08359f43bb7007f38dea333d0a05fc920e6780b79a9b0f79fec59d4e05a005efd3642acaedcd3223a21d5aa919110545dd 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 000000000000..a37c4a93ef33 --- /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 +} |