Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/
Date: Tue, 12 Oct 2021 22:23:52
Message-Id: 1634077379.b45a40c4bb99747a5d1df39f387fb15af0863a7e.marecki@gentoo
1 commit: b45a40c4bb99747a5d1df39f387fb15af0863a7e
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 12 22:21:50 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 12 22:22:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b45a40c4
7
8 sci-libs/superlu_mt: update EAPI 6 -> 8
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 sci-libs/superlu_mt/superlu_mt-3.1.ebuild | 28 ++++++++++++++--------------
13 1 file changed, 14 insertions(+), 14 deletions(-)
14
15 diff --git a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
16 index dd832bde77b..f631900a16d 100644
17 --- a/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
18 +++ b/sci-libs/superlu_mt/superlu_mt-3.1.ebuild
19 @@ -1,12 +1,12 @@
20 # Copyright 1999-2021 Gentoo Authors
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=6
24 +EAPI=8
25
26 -inherit toolchain-funcs versionator
27 +inherit toolchain-funcs
28
29 -MYPN=SuperLU_MT
30 -SOVERSION=$(get_major_version)
31 +MY_PN=SuperLU_MT
32 +SOVERSION=$(ver_cut 1)
33
34 DESCRIPTION="Multithreaded sparse LU factorization library"
35 HOMEPAGE="https://portal.nersc.gov/project/sparse/superlu/"
36 @@ -20,13 +20,13 @@ RESTRICT="!test? ( test )"
37 REQUIRED_USE="|| ( openmp threads )"
38
39 RDEPEND="virtual/blas"
40 -DEPEND="${RDEPEND}
41 - virtual/pkgconfig
42 +DEPEND="${RDEPEND}"
43 +BDEPEND="virtual/pkgconfig
44 test? ( app-shells/tcsh )"
45
46 -S="${WORKDIR}/${MYPN}_${PV}"
47 +S="${WORKDIR}/${MY_PN}_${PV}"
48
49 -PATCHES=( "${FILESDIR}"/${P}-duplicate-symbols.patch )
50 +PATCHES=( "${FILESDIR}"/${PN}-3.1-duplicate-symbols.patch )
51
52 pkg_setup() {
53 if use openmp && ! use threads; then
54 @@ -71,10 +71,10 @@ src_prepare() {
55 src_compile() {
56 # shared library
57 emake PIC="-fPIC" \
58 - ARCH="echo" \
59 - ARCHFLAGS="" \
60 - RANLIB="echo" \
61 - superlulib
62 + ARCH="echo" \
63 + ARCHFLAGS="" \
64 + RANLIB="echo" \
65 + superlulib
66 $(tc-getCC) ${LDFLAGS} ${LDTHREADS} -shared -Wl,-soname=${SONAME} SRC/*.o \
67 $($(tc-getPKG_CONFIG) --libs blas) -lm -o lib/${SONAME} || die
68 ln -s ${SONAME} lib/libsuperlu_mt.so || die
69 @@ -97,7 +97,7 @@ src_install() {
70 dodoc README
71 use doc && dodoc DOC/ug.pdf
72 if use examples; then
73 - insinto /usr/share/doc/${PF}/examples
74 - doins -r EXAMPLE/* make.inc
75 + docinto /examples
76 + dodoc -r EXAMPLE/* make.inc
77 fi
78 }