commit:     98e6e64d9ab40511c10df4665e68c6f78ff24828
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 14 19:39:43 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 14 20:04:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e6e64d

sci-mathematics/diagrtb: EAPI-7 bump, use cmake.eclass

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-mathematics/diagrtb/diagrtb-2.64.ebuild  | 12 +++++++-----
 sci-mathematics/diagrtb/files/CMakeLists.txt |  1 -
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/sci-mathematics/diagrtb/diagrtb-2.64.ebuild 
b/sci-mathematics/diagrtb/diagrtb-2.64.ebuild
index 7d68ff7897a..59b01102533 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 d1eb6c62f09..ef022328bce 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)

Reply via email to