commit: fd5082a8ca42d8119a85207092141bc319340f9b Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Mar 27 23:43:40 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Mar 28 01:13:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd5082a8
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 <AT> gentoo.org> ...cdf-cxx-4.2-r300.ebuild => netcdf-cxx-4.2-r301.ebuild} | 15 ++++++++++----- 1 file 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 similarity index 80% rename from sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild rename to sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild index a15d37a2a1d..25f862ab6e1 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