diff options
author | Sam James <sam@gentoo.org> | 2021-11-25 01:57:59 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-11-25 02:04:19 +0000 |
commit | fc6f79fa84b259ac0845547d06b154dd60361a3a (patch) | |
tree | 8dd66665d87e321998ad3a1b59131d26936d7ab8 /sci-libs | |
parent | net-misc/gallery-dl: update metadata.xml - remove proxied attribute (diff) | |
download | gentoo-fc6f79fa84b259ac0845547d06b154dd60361a3a.tar.gz gentoo-fc6f79fa84b259ac0845547d06b154dd60361a3a.tar.bz2 gentoo-fc6f79fa84b259ac0845547d06b154dd60361a3a.zip |
sci-libs/netcdf-fortran: add 4.5.3
Closes: https://bugs.gentoo.org/771612
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/netcdf-fortran/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/netcdf-fortran/netcdf-fortran-4.5.3.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/sci-libs/netcdf-fortran/Manifest b/sci-libs/netcdf-fortran/Manifest index fdc76a3e95b3..2afd1e9c3f4b 100644 --- a/sci-libs/netcdf-fortran/Manifest +++ b/sci-libs/netcdf-fortran/Manifest @@ -1 +1,2 @@ DIST netcdf-fortran-4.4.3.tar.gz 1286951 BLAKE2B 6e68505359328bac4155065419cb9c2fb2df0de875210c0eb9a4e63312b2ec272d63ecfa73b5dcebe7cf75b58a184d1a0ccb2c06c45869d3f4573590d610d9e0 SHA512 94f51b4be889d6a9d6a86e3fcb2639ac58288969160d0f334ed6965e3c9cbacff7289b1fc54ed06e6ec8b845b19f5c409fbdcab432c8edf5c96efde887920924 +DIST netcdf-fortran-4.5.3.tar.gz 1805683 BLAKE2B f32a36a77872e039a0c03a1f1ccdbb00761309dc7d255a1203b0a1971464e75d87f56230f28a5d5928ca3e7e388f52c4622836c2cea3d35b286161b8044e375b SHA512 fe4b2f6f8c44bf4fdeebe3cbd57ee44ccee15a70075428bb68f0d33b70f9291b68b542965634a27fb4be5a59c756d672a3d264f2628391861edb98a244e072b4 diff --git a/sci-libs/netcdf-fortran/netcdf-fortran-4.5.3.ebuild b/sci-libs/netcdf-fortran/netcdf-fortran-4.5.3.ebuild new file mode 100644 index 000000000000..c5e5ff3a2d11 --- /dev/null +++ b/sci-libs/netcdf-fortran/netcdf-fortran-4.5.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +FORTRAN_STANDARD="77 90" + +inherit autotools fortran-2 flag-o-matic + +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-fortran/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="UCAR-Unidata" +SLOT="0/7" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples static-libs" + +RDEPEND="sci-libs/netcdf" +DEPEND="${RDEPEND} + dev-lang/cfortran" +BDEPEND="doc? ( app-doc/doxygen )" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # GCC 10 workaround + # bug #723274 + # (As of 4.5.3, configure is meant to check for this flag & use it + # but it doesn't seem to be doing that.) + append-fflags $(test-flags-FC -fallow-argument-mismatch) + + econf \ + --disable-valgrind \ + --with-temp-large="${T}" \ + --disable-dot \ + $(use_enable doc doxygen) \ + $(use_enable static-libs static) +} + +src_install() { + default + use examples && dodoc -r examples + find "${ED}" -name '*.la' -delete || die +} |