diff options
author | Sam James <sam@gentoo.org> | 2021-03-27 23:43:40 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-28 01:13:45 +0000 |
commit | fd5082a8ca42d8119a85207092141bc319340f9b (patch) | |
tree | 517af6ecd6a754bc5c23b819034b1706dbdafff8 /sci-libs | |
parent | sci-visualization/quickplot: port to EAPI 7, drop .la, drop static-libs (diff) | |
download | gentoo-fd5082a8ca42d8119a85207092141bc319340f9b.tar.gz gentoo-fd5082a8ca42d8119a85207092141bc319340f9b.tar.bz2 gentoo-fd5082a8ca42d8119a85207092141bc319340f9b.zip |
sci-libs/netcdf-cxx: port 4.2-r300 to EAPI 7, drop autotools-utils.eclass
* Port to EAPI 7
* Drop autotools-utils.eclass
* Drop unused versionator.eclass
Revbumping to ensure visibility of any reported issues, but should not
be technically necessary.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild (renamed from sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild) | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild index a15d37a2a1d2..25f862ab6e1b 100644 --- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild +++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit autotools-utils versionator +inherit autotools DESCRIPTION="C++ library for netCDF" HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" @@ -12,14 +12,19 @@ SRC_URI="https://www.unidata.ucar.edu/downloads/netcdf/ftp/${P}.tar.gz" LICENSE="UCAR-Unidata" SLOT="3" KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" -IUSE="examples static-libs" +IUSE="examples" RDEPEND=">=sci-libs/netcdf-4.2:0=" DEPEND="${RDEPEND}" +src_configure() { + econf --disable-static +} + src_install() { - autotools-utils_src_install - if use examples; then + default + + if use examples ; then insinto /usr/share/doc/${PF} doins -r examples fi |