commit:     f8c284bd0c13b1666a6e8c29b07a05d4c3e077c7
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  6 11:09:09 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Mar  6 11:09:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8c284bd

sci-libs/clapack: https, cmake.eclass, EAPI-7 bump

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

 sci-libs/clapack/clapack-3.2.1-r8.ebuild | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/sci-libs/clapack/clapack-3.2.1-r8.ebuild 
b/sci-libs/clapack/clapack-3.2.1-r8.ebuild
index ac9a2c73f97..30384df4db4 100644
--- a/sci-libs/clapack/clapack-3.2.1-r8.ebuild
+++ b/sci-libs/clapack/clapack-3.2.1-r8.ebuild
@@ -1,25 +1,28 @@
-# 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 flag-o-matic cmake-utils
+inherit flag-o-matic cmake
 
 DESCRIPTION="f2c'ed version of LAPACK"
-HOMEPAGE="http://www.netlib.org/clapack/";
-SRC_URI="http://www.netlib.org/${PN}/${P}-CMAKE.tgz";
+HOMEPAGE="https://www.netlib.org/clapack/";
+SRC_URI="https://www.netlib.org/${PN}/${P}-CMAKE.tgz";
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
+# bug 433806
+RESTRICT="test"
+
 RDEPEND="
        >=dev-libs/libf2c-20090407-r1
        virtual/blas"
 DEPEND="${RDEPEND}"
 
-S=${WORKDIR}/${P}-CMAKE
+S="${WORKDIR}"/${P}-CMAKE
 
 PATCHES=(
        "${FILESDIR}/${P}-fix_include_file.patch"
@@ -28,18 +31,17 @@ PATCHES=(
        "${FILESDIR}/${P}-findblas-r7.patch"
 )
 
-# bug 433806
-RESTRICT="test"
-
 src_prepare() {
+       cmake_src_prepare
        rm INCLUDE/f2c.h F2CLIBS/libf2c/f2c.h || die
-       cmake-utils_src_prepare
 }
 
 src_configure() {
        filter-flags -ftree-vectorize
        # causes an internal compiler error with gcc-4.6.2
 
-       local mycmakeargs=( -DENABLE_TESTS=$(usex test) )
-       cmake-utils_src_configure
+       local mycmakeargs=(
+               -DENABLE_TESTS=$(usex test)
+       )
+       cmake_src_configure
 }

Reply via email to