commit:     b45a40c4bb99747a5d1df39f387fb15af0863a7e
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 12 22:21:50 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Oct 12 22:22:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b45a40c4

sci-libs/superlu_mt: update EAPI 6 -> 8

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 sci-libs/superlu_mt/superlu_mt-3.1.ebuild | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild 
b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
index dd832bde77b..f631900a16d 100644
--- a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
+++ b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
@@ -1,12 +1,12 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
-inherit toolchain-funcs versionator
+inherit toolchain-funcs
 
-MYPN=SuperLU_MT
-SOVERSION=$(get_major_version)
+MY_PN=SuperLU_MT
+SOVERSION=$(ver_cut 1)
 
 DESCRIPTION="Multithreaded sparse LU factorization library"
 HOMEPAGE="https://portal.nersc.gov/project/sparse/superlu/";
@@ -20,13 +20,13 @@ RESTRICT="!test? ( test )"
 REQUIRED_USE="|| ( openmp threads )"
 
 RDEPEND="virtual/blas"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
        test? ( app-shells/tcsh )"
 
-S="${WORKDIR}/${MYPN}_${PV}"
+S="${WORKDIR}/${MY_PN}_${PV}"
 
-PATCHES=( "${FILESDIR}"/${P}-duplicate-symbols.patch )
+PATCHES=( "${FILESDIR}"/${PN}-3.1-duplicate-symbols.patch )
 
 pkg_setup() {
        if use openmp && ! use threads; then
@@ -71,10 +71,10 @@ src_prepare() {
 src_compile() {
        # shared library
        emake PIC="-fPIC" \
-                 ARCH="echo" \
-                 ARCHFLAGS="" \
-                 RANLIB="echo" \
-                 superlulib
+               ARCH="echo" \
+               ARCHFLAGS="" \
+               RANLIB="echo" \
+               superlulib
        $(tc-getCC) ${LDFLAGS} ${LDTHREADS} -shared -Wl,-soname=${SONAME} 
SRC/*.o \
                                $($(tc-getPKG_CONFIG) --libs blas) -lm -o 
lib/${SONAME} || die
        ln -s ${SONAME} lib/libsuperlu_mt.so || die
@@ -97,7 +97,7 @@ src_install() {
        dodoc README
        use doc && dodoc DOC/ug.pdf
        if use examples; then
-               insinto /usr/share/doc/${PF}/examples
-               doins -r EXAMPLE/* make.inc
+               docinto /examples
+               dodoc -r EXAMPLE/* make.inc
        fi
 }

Reply via email to