From 129160ec854dca4c3fedb5bcfbcb56930371da0f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Jan 2021 21:06:00 +0000 Subject: gentoo new year resync : 01.01.2021 --- sci-libs/netcdf/Manifest | 2 ++ sci-libs/netcdf/netcdf-4.7.4.ebuild | 65 +++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 sci-libs/netcdf/netcdf-4.7.4.ebuild (limited to 'sci-libs/netcdf') diff --git a/sci-libs/netcdf/Manifest b/sci-libs/netcdf/Manifest index e906966ab14c..b0729b37ccf8 100644 --- a/sci-libs/netcdf/Manifest +++ b/sci-libs/netcdf/Manifest @@ -1,7 +1,9 @@ AUX netcdf-4.3.2-HDF5-1.8.13+-compat.patch 5258 BLAKE2B ef4afcaf5f9139c6db2898e8e6339e77de8534218c7e00a6b16ff68bdaeb470a96b06493637a6b7734bc00a4813f21a4fd179bc12d1cf156a04ee651380bfc5e SHA512 aa54ec936aff884b105217a8c87f5d7722b8b76a4bdd8b8804366c6509abba9962fdcdbfda2361662fec3732be1a1c2b7a2ae8abea1862d2ad7fd3b0f3828f59 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 EBUILD netcdf-4.3.2-r1.ebuild 1499 BLAKE2B 7bfd5e8ac228a24e707089b4c0c7853051804b368c588080a1abf6080c2e81470a18814b4a999660e2e4af229b5ab68fe6d2d8f08e4f3a4bbc7a85446003d82d SHA512 63d12e90ba69030eda48a8d2c905f6cd2337b9cf9d1aa96856c4e45227f65bcb113a3aba0d0d1f7a5781a23fdbcdf0aa34c9322a4feb2b5533e591c85ca234de EBUILD netcdf-4.6.1-r1.ebuild 1339 BLAKE2B 93c0f23f0abfa4d52bd4de02f67a7521400ad82c91ade18d6c09e18fe8fb9b4e053ee7864fa0e21b472df0d813680d74c91589c9049da100191646fea03553ba SHA512 6d3b500df1de3f15a694b8162d1bc52cd4d91428a57946db1f9fa1a81adb911feb9710cf57b96693388994ad301d5600c08eb00cfcfd4aa9979815078302bc55 EBUILD netcdf-4.6.1.ebuild 1341 BLAKE2B bc9e4f661439c5bad7436f5bfb6f0b9aed1bb1192365c519fd66b97997e8f06199a916c53c46ec48b088c41eea94d833c2f345a3525dc76f04eb06c0ba1118e9 SHA512 8db8eb13f11d42ffeb244a330a80abc0d9909364c3697f9b92f6db1665a3dca6372cdcfbfabca2023443147fc0ccc2738affee1a41a5961e25d00fa10f0c6c5e +EBUILD netcdf-4.7.4.ebuild 1425 BLAKE2B 66579ba0c24b480c9cd0254daf6f166bfcb687925610ff6f25169632583f562184af9c39d10d376c5fcdfc3fc7a5cde644482b5c765e201692f3341da24e0c0f SHA512 fd5f93864cbfa93dffb46b7d1ab8a6f6ffd605de1818cd076df7098d58bfce6f88658eb1edc7663d88d25e2ad6afc65347470839969ed1dead1450fae79be966 MISC metadata.xml 1064 BLAKE2B 7980e918eb2d2f438aeb5deb4a678c2e324606b40e8d04e592df7d24492bdfbc548082f6fa372c168b09597c3511df15a046cd8f6d746db3d9aeae31cf3604ac SHA512 2aaa7a6c4659ff3daf81bdb63541ce08359f43bb7007f38dea333d0a05fc920e6780b79a9b0f79fec59d4e05a005efd3642acaedcd3223a21d5aa919110545dd 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 000000000000..8f99b01c1bde --- /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 +} -- cgit v1.2.3