From 98e6e64d9ab40511c10df4665e68c6f78ff24828 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 14 Feb 2021 20:39:43 +0100 Subject: sci-mathematics/diagrtb: EAPI-7 bump, use cmake.eclass Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner --- sci-mathematics/diagrtb/diagrtb-2.64.ebuild | 12 +++++++----- sci-mathematics/diagrtb/files/CMakeLists.txt | 1 - 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'sci-mathematics/diagrtb') diff --git a/sci-mathematics/diagrtb/diagrtb-2.64.ebuild b/sci-mathematics/diagrtb/diagrtb-2.64.ebuild index 7d68ff7897a9..59b01102533f 100644 --- a/sci-mathematics/diagrtb/diagrtb-2.64.ebuild +++ b/sci-mathematics/diagrtb/diagrtb-2.64.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils fortran-2 +inherit cmake fortran-2 DESCRIPTION="Calculation of some eigenvectors of a large real, symmetrical, matrix" HOMEPAGE="http://ecole.modelisation.free.fr/modes.html" @@ -17,10 +17,12 @@ RESTRICT="mirror bindist" S="${WORKDIR}"/Source_RTB2011 +DOCS=( diagrtb.README ) + src_prepare() { cp "${FILESDIR}"/CMakeLists.txt . || die - cmake-utils_src_prepare + cmake_src_prepare } src_configure() { @@ -28,5 +30,5 @@ src_configure() { -DEXAMPLES=$(usex examples) ) - cmake-utils_src_configure + cmake_src_configure } diff --git a/sci-mathematics/diagrtb/files/CMakeLists.txt b/sci-mathematics/diagrtb/files/CMakeLists.txt index d1eb6c62f09f..ef022328bce9 100644 --- a/sci-mathematics/diagrtb/files/CMakeLists.txt +++ b/sci-mathematics/diagrtb/files/CMakeLists.txt @@ -6,7 +6,6 @@ option (EXAMPLES "Instal additional example files" OFF) add_executable(diagrtb diagrtb.f) install (TARGETS diagrtb DESTINATION bin) -install (FILES diagrtb.README DESTINATION share/doc/diagrtb) if ( EXAMPLES ) install (DIRECTORY ../Try_RTB2011 DESTINATION share/diagrtb/examples) -- cgit v1.2.3-65-gdbad