Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/xblas/
Date: Sat, 30 Jan 2021 10:04:35
Message-Id: 1612001068.aeaf9f50bd9cb22035712b02d7a1d9d0d367765c.andrewammerlaan@gentoo
1 commit: aeaf9f50bd9cb22035712b02d7a1d9d0d367765c
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Sat Jan 30 10:04:28 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sat Jan 30 10:04:28 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=aeaf9f50
7
8 sci-libs/xblas: EAPI bump
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12
13 sci-libs/xblas/xblas-1.0.248-r1.ebuild | 11 ++++++-----
14 1 file changed, 6 insertions(+), 5 deletions(-)
15
16 diff --git a/sci-libs/xblas/xblas-1.0.248-r1.ebuild b/sci-libs/xblas/xblas-1.0.248-r1.ebuild
17 index b58b0bfde..7bc73bc32 100644
18 --- a/sci-libs/xblas/xblas-1.0.248-r1.ebuild
19 +++ b/sci-libs/xblas/xblas-1.0.248-r1.ebuild
20 @@ -1,12 +1,12 @@
21 # Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=7
26
27 NUMERIC_MODULE_NAME="xblas"
28 FORTRAN_NEEDED=fortran
29
30 -inherit flag-o-matic fortran-2 numeric-int64-multibuild toolchain-funcs versionator
31 +inherit flag-o-matic fortran-2 numeric-int64-multibuild toolchain-funcs
32
33 DESCRIPTION="Extra Precise Basic Linear Algebra Subroutines"
34 HOMEPAGE="https://www.netlib.org/xblas/"
35 @@ -24,7 +24,7 @@ DEPEND="${RDEPEND}
36 static_to_shared() {
37 local libstatic=${1}; shift
38 local libname=$(basename ${libstatic%.a})
39 - local soname=${libname}$(get_libname $(get_version_component_range 1-2))
40 + local soname=${libname}$(get_libname $(ver_rs 1-2))
41 local libdir=$(dirname ${libstatic})
42
43 einfo "Making ${soname} from ${libstatic}"
44 @@ -38,8 +38,8 @@ static_to_shared() {
45 -shared -Wl,-soname=${soname} \
46 -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \
47 "$@" -o ${libdir}/${soname} || die "${soname} failed"
48 - [[ $(get_version_component_count) -gt 1 ]] && \
49 - ln -s ${soname} ${libdir}/${libname}$(get_libname $(get_major_version)) || die
50 + [[ ${#PV} -gt 1 ]] && \
51 + ln -s ${soname} ${libdir}/${libname}$(get_libname $(ver_cut 0-1)) || die
52 ln -s ${soname} ${libdir}/${libname}$(get_libname) || die
53 fi
54 }
55 @@ -49,6 +49,7 @@ pkg_setup() {
56 }
57
58 src_prepare() {
59 + default
60 numeric-int64-multibuild_copy_sources
61 }