commit:     92b72bc59e461020ad083ed54f29e2a1f916919b
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Wed Jun 12 23:27:38 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 26 15:23:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92b72bc5

sci-libs/atlas: add 3.10.2-r1 update to EAPI-8

Closes: https://bugs.gentoo.org/836099
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .../{atlas-3.10.2.ebuild => atlas-3.10.2-r1.ebuild}    | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/sci-libs/atlas/atlas-3.10.2.ebuild 
b/sci-libs/atlas/atlas-3.10.2-r1.ebuild
similarity index 95%
rename from sci-libs/atlas/atlas-3.10.2.ebuild
rename to sci-libs/atlas/atlas-3.10.2-r1.ebuild
index 43582741de1a..88ac1701512c 100644
--- a/sci-libs/atlas/atlas-3.10.2.ebuild
+++ b/sci-libs/atlas/atlas-3.10.2-r1.ebuild
@@ -1,11 +1,11 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 FORTRAN_NEEDED=fortran
 
-inherit fortran-2 toolchain-funcs versionator
+inherit fortran-2 toolchain-funcs
 
 LAPACKP=lapack-3.6.0.tgz
 
@@ -13,17 +13,13 @@ DESCRIPTION="Automatically Tuned Linear Algebra Software"
 HOMEPAGE="https://math-atlas.sourceforge.net";
 SRC_URI="https://downloads.sourceforge.net/math-atlas/${PN}${PV}.tar.bz2
        fortran? ( lapack? ( http://www.netlib.org/lapack/${LAPACKP} ) )"
+S="${WORKDIR}/ATLAS"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc fortran generic lapack static-libs threads"
 
-RDEPEND=""
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/ATLAS"
-
 PATCHES=(
        "${FILESDIR}/${P}-x32-support.patch"
        "${FILESDIR}/${P}-format-security.patch"
@@ -48,9 +44,9 @@ src_configure() {
        [[ ${mycc} == *gcc* ]] && mycc=gcc
        atlas_configure() {
                local myconf=(
-                       --prefix="${ED}/usr"
-                       --libdir="${ED}/usr/$(get_libdir)"
-                       --incdir="${ED}/usr/include"
+                       --prefix="/usr"
+                       --libdir="/usr/$(get_libdir)"
+                       --incdir="/usr/include"
                        --cc="$(tc-getCC)"
                        "-D c -DWALL"
                        "-C acg '${mycc}'"
@@ -143,7 +139,7 @@ src_test() {
 atlas_install_libs() {
        local libname=$(basename ${1%.*})
        einfo "Installing ${libname}"
-       local soname=${libname}.so.$(get_major_version)
+       local soname=${libname}.so.$(ver_cut 1)
        shift
        pushd "${S}_shared"/lib > /dev/null
        ${LINK:-$(tc-getCC)} ${LDFLAGS} -shared -Wl,-soname=${soname} \

Reply via email to