* [gentoo-commits] proj/sci:master commit in: sci-libs/xblas/
@ 2013-02-22 10:15 Justin Lecher
0 siblings, 0 replies; 7+ messages in thread
From: Justin Lecher @ 2013-02-22 10:15 UTC (permalink / raw
To: gentoo-commits
commit: 9104d111f267821fd677fb36380614bb1f3bc1e5
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 22 09:38:56 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Feb 22 09:38:56 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9104d111
sci-libs/xblas: Bump EAPI to 5
Package-Manager: portage-2.2.0_alpha163
---
sci-libs/xblas/ChangeLog | 6 +++++-
sci-libs/xblas/metadata.xml | 4 ++--
sci-libs/xblas/xblas-1.0.248.ebuild | 8 ++++----
3 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/sci-libs/xblas/ChangeLog b/sci-libs/xblas/ChangeLog
index 270c52d..17e85f6 100644
--- a/sci-libs/xblas/ChangeLog
+++ b/sci-libs/xblas/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for sci-libs/xblas
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 22 Feb 2013; Justin Lecher <jlec@gentoo.org> xblas-1.0.248.ebuild,
+ metadata.xml:
+ Bump EAPI to 5
+
12 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> xblas-1.0.248.ebuild:
sci-libs/xblas: Shared library fixes, prefix love and ebuild cleanup
diff --git a/sci-libs/xblas/metadata.xml b/sci-libs/xblas/metadata.xml
index 0331b98..4610f39 100644
--- a/sci-libs/xblas/metadata.xml
+++ b/sci-libs/xblas/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci</herd>
-<longdescription lang="en">
+ <herd>sci</herd>
+ <longdescription lang="en">
The XBLAS library of routines is part of a reference implementation for
the Dense and Banded Basic Linear Algebra Subroutines, along with their
Extended and Mixed Precision versions, as documented in Chapters 2 and 4
diff --git a/sci-libs/xblas/xblas-1.0.248.ebuild b/sci-libs/xblas/xblas-1.0.248.ebuild
index d65799a..ad27dd2 100644
--- a/sci-libs/xblas/xblas-1.0.248.ebuild
+++ b/sci-libs/xblas/xblas-1.0.248.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
+EAPI=5
-inherit eutils flag-o-matic toolchain-funcs versionator multilib fortran-2
+inherit eutils flag-o-matic fortran-2 multilib toolchain-funcs versionator
DESCRIPTION="Extra Precise Basic Linear Algebra Subroutines"
HOMEPAGE="http://www.netlib.org/xblas"
@@ -76,7 +76,7 @@ src_install() {
dodoc README README.devel
use doc && dodoc doc/report.ps
- # pkg-config file for our multliple blas stuff
+ # pkg-config file for our multliple numeric stuff
cat > ${PN}.pc <<-EOF
prefix=${EPREFIX}/usr
libdir=\${prefix}/$(get_libdir)
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/xblas/
@ 2021-12-16 11:07 Andrew Ammerlaan
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2021-12-16 11:07 UTC (permalink / raw
To: gentoo-commits
commit: b2d8225b3f9eb25c6c6c4e3723c893c2ad2d0a51
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 16 11:07:08 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Dec 16 11:07:08 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b2d8225b
sci-libs/xblas: fix IndirectInherits
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/xblas/xblas-1.0.248-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/xblas/xblas-1.0.248-r1.ebuild b/sci-libs/xblas/xblas-1.0.248-r1.ebuild
index 97eafe922..a5b0c8cf4 100644
--- a/sci-libs/xblas/xblas-1.0.248-r1.ebuild
+++ b/sci-libs/xblas/xblas-1.0.248-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
NUMERIC_MODULE_NAME="xblas"
FORTRAN_NEEDED=fortran
-inherit fortran-2 numeric-int64-multibuild toolchain-funcs
+inherit fortran-2 numeric numeric-int64-multibuild multilib toolchain-funcs
DESCRIPTION="Extra Precise Basic Linear Algebra Subroutines"
HOMEPAGE="https://www.netlib.org/xblas/"
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/xblas/
@ 2021-12-16 10:57 Andrew Ammerlaan
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2021-12-16 10:57 UTC (permalink / raw
To: gentoo-commits
commit: 6fe4bc6ca3ea534485dbfa961b663f740e70bdfc
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 16 10:49:42 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Dec 16 10:49:42 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6fe4bc6c
sci-libs/xblas: drop UnusedInherits
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/xblas/xblas-1.0.248-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/xblas/xblas-1.0.248-r1.ebuild b/sci-libs/xblas/xblas-1.0.248-r1.ebuild
index 1467ccc19..97eafe922 100644
--- a/sci-libs/xblas/xblas-1.0.248-r1.ebuild
+++ b/sci-libs/xblas/xblas-1.0.248-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
NUMERIC_MODULE_NAME="xblas"
FORTRAN_NEEDED=fortran
-inherit flag-o-matic fortran-2 numeric-int64-multibuild toolchain-funcs
+inherit fortran-2 numeric-int64-multibuild toolchain-funcs
DESCRIPTION="Extra Precise Basic Linear Algebra Subroutines"
HOMEPAGE="https://www.netlib.org/xblas/"
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/xblas/
@ 2021-01-30 10:12 Andrew Ammerlaan
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2021-01-30 10:12 UTC (permalink / raw
To: gentoo-commits
commit: 2e274ef75b773d345a0a0352d3c8c0fac80d21e7
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Jan 30 10:12:27 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Jan 30 10:12:27 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2e274ef7
sci-libs/xblas: correct soname variable
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
sci-libs/xblas/xblas-1.0.248-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/xblas/xblas-1.0.248-r1.ebuild b/sci-libs/xblas/xblas-1.0.248-r1.ebuild
index 7bc73bc32..1467ccc19 100644
--- a/sci-libs/xblas/xblas-1.0.248-r1.ebuild
+++ b/sci-libs/xblas/xblas-1.0.248-r1.ebuild
@@ -24,7 +24,7 @@ DEPEND="${RDEPEND}
static_to_shared() {
local libstatic=${1}; shift
local libname=$(basename ${libstatic%.a})
- local soname=${libname}$(get_libname $(ver_rs 1-2))
+ local soname=${libname}$(get_libname $(ver_cut 1-2))
local libdir=$(dirname ${libstatic})
einfo "Making ${soname} from ${libstatic}"
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/xblas/
@ 2021-01-30 10:04 Andrew Ammerlaan
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2021-01-30 10:04 UTC (permalink / raw
To: gentoo-commits
commit: aeaf9f50bd9cb22035712b02d7a1d9d0d367765c
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Jan 30 10:04:28 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Jan 30 10:04:28 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=aeaf9f50
sci-libs/xblas: EAPI bump
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
sci-libs/xblas/xblas-1.0.248-r1.ebuild | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/sci-libs/xblas/xblas-1.0.248-r1.ebuild b/sci-libs/xblas/xblas-1.0.248-r1.ebuild
index b58b0bfde..7bc73bc32 100644
--- a/sci-libs/xblas/xblas-1.0.248-r1.ebuild
+++ b/sci-libs/xblas/xblas-1.0.248-r1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
NUMERIC_MODULE_NAME="xblas"
FORTRAN_NEEDED=fortran
-inherit flag-o-matic fortran-2 numeric-int64-multibuild toolchain-funcs versionator
+inherit flag-o-matic fortran-2 numeric-int64-multibuild toolchain-funcs
DESCRIPTION="Extra Precise Basic Linear Algebra Subroutines"
HOMEPAGE="https://www.netlib.org/xblas/"
@@ -24,7 +24,7 @@ DEPEND="${RDEPEND}
static_to_shared() {
local libstatic=${1}; shift
local libname=$(basename ${libstatic%.a})
- local soname=${libname}$(get_libname $(get_version_component_range 1-2))
+ local soname=${libname}$(get_libname $(ver_rs 1-2))
local libdir=$(dirname ${libstatic})
einfo "Making ${soname} from ${libstatic}"
@@ -38,8 +38,8 @@ static_to_shared() {
-shared -Wl,-soname=${soname} \
-Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \
"$@" -o ${libdir}/${soname} || die "${soname} failed"
- [[ $(get_version_component_count) -gt 1 ]] && \
- ln -s ${soname} ${libdir}/${libname}$(get_libname $(get_major_version)) || die
+ [[ ${#PV} -gt 1 ]] && \
+ ln -s ${soname} ${libdir}/${libname}$(get_libname $(ver_cut 0-1)) || die
ln -s ${soname} ${libdir}/${libname}$(get_libname) || die
fi
}
@@ -49,6 +49,7 @@ pkg_setup() {
}
src_prepare() {
+ default
numeric-int64-multibuild_copy_sources
}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/xblas/
@ 2021-01-19 17:20 Andrew Ammerlaan
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2021-01-19 17:20 UTC (permalink / raw
To: gentoo-commits
commit: 716731dd8e52b4266e77f51f98a4b938e536b469
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan 19 17:20:46 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan 19 17:20:46 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=716731dd
sci-libs/xblas: update HOMEPAGE
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
sci-libs/xblas/xblas-1.0.248-r1.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sci-libs/xblas/xblas-1.0.248-r1.ebuild b/sci-libs/xblas/xblas-1.0.248-r1.ebuild
index a04d2a926..b58b0bfde 100644
--- a/sci-libs/xblas/xblas-1.0.248-r1.ebuild
+++ b/sci-libs/xblas/xblas-1.0.248-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -9,8 +9,8 @@ FORTRAN_NEEDED=fortran
inherit flag-o-matic fortran-2 numeric-int64-multibuild toolchain-funcs versionator
DESCRIPTION="Extra Precise Basic Linear Algebra Subroutines"
-HOMEPAGE="http://www.netlib.org/xblas"
-SRC_URI="${HOMEPAGE}/${P}.tar.gz"
+HOMEPAGE="https://www.netlib.org/xblas/"
+SRC_URI="https://www.netlib.org/xblas/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/xblas/
@ 2012-07-12 20:43 Sebastien Fabbro
0 siblings, 0 replies; 7+ messages in thread
From: Sebastien Fabbro @ 2012-07-12 20:43 UTC (permalink / raw
To: gentoo-commits
commit: 39188b01c0bc17069ba1c5a1888040de1367c35c
Author: Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Thu Jul 12 18:50:03 2012 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Jul 12 18:50:03 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=39188b01
sci-libs/xblas: Shared library fixes, prefix love and ebuild cleanup
(Portage version: 2.2.01.20757-prefix/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
---
sci-libs/xblas/ChangeLog | 6 ++-
sci-libs/xblas/xblas-1.0.248.ebuild | 53 ++++++++++++++++++++++------------
2 files changed, 38 insertions(+), 21 deletions(-)
diff --git a/sci-libs/xblas/ChangeLog b/sci-libs/xblas/ChangeLog
index 24b42cb..270c52d 100644
--- a/sci-libs/xblas/ChangeLog
+++ b/sci-libs/xblas/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for sci-libs/xblas
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 12 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> xblas-1.0.248.ebuild:
+ sci-libs/xblas: Shared library fixes, prefix love and ebuild cleanup
+
*xblas-1.0.248 (22 Aug 2011)
22 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> +xblas-1.0.248.ebuild,
@@ -17,4 +20,3 @@
03 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org> ChangeLog:
Initial import
-
diff --git a/sci-libs/xblas/xblas-1.0.248.ebuild b/sci-libs/xblas/xblas-1.0.248.ebuild
index f9663c4..d65799a 100644
--- a/sci-libs/xblas/xblas-1.0.248.ebuild
+++ b/sci-libs/xblas/xblas-1.0.248.ebuild
@@ -1,33 +1,48 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
-inherit eutils flag-o-matic toolchain-funcs versionator
+inherit eutils flag-o-matic toolchain-funcs versionator multilib fortran-2
DESCRIPTION="Extra Precise Basic Linear Algebra Subroutines"
-HOMEPAGE="http://www.netlib.org/xblas/"
+HOMEPAGE="http://www.netlib.org/xblas"
SRC_URI="${HOMEPAGE}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc fortran static-libs"
-DEPEND=""
-RDEPEND=""
+RDEPEND="fortran? ( virtual/fortran )"
+DEPEND="${RDEPEND}"
-make_shared_lib() {
- local libstatic=${1}
- local soname=$(basename "${1%.a}").so.$(get_major_version)
- shift
- einfo "Making ${soname}"
- ${LINK:-$(tc-getCC)} ${LDFLAGS} \
- -shared -Wl,-soname="${soname}" \
- -Wl,--whole-archive "${libstatic}" -Wl,--no-whole-archive \
- "$@" -o $(dirname "${libstatic}")/"${soname}" || die "${soname} failed"
- ln -s "${soname}" $(dirname "${libstatic}")/"${soname%.*}"
+static_to_shared() {
+ local libstatic=${1}; shift
+ local libname=$(basename ${libstatic%.a})
+ local soname=${libname}$(get_libname $(get_version_component_range 1-2))
+ local libdir=$(dirname ${libstatic})
+
+ einfo "Making ${soname} from ${libstatic}"
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ ${LINK:-$(tc-getCC)} ${LDFLAGS} \
+ -dynamiclib -install_name "${EPREFIX}"/usr/lib/"${soname}" \
+ -Wl,-all_load -Wl,${libstatic} \
+ "$@" -o ${libdir}/${soname} || die "${soname} failed"
+ else
+ ${LINK:-$(tc-getCC)} ${LDFLAGS} \
+ -shared -Wl,-soname=${soname} \
+ -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \
+ "$@" -o ${libdir}/${soname} || die "${soname} failed"
+ [[ $(get_version_component_count) -gt 1 ]] && \
+ ln -s ${soname} ${libdir}/${libname}$(get_libname $(get_major_version))
+ ln -s ${soname} ${libdir}/${libname}$(get_libname)
+ fi
+}
+
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
}
src_configure() {
@@ -48,7 +63,7 @@ src_compile() {
make.inc || die
emake makefiles
emake lib
- make_shared_lib lib${PN}.a
+ static_to_shared lib${PN}.a
}
src_test() {
@@ -56,7 +71,7 @@ src_test() {
}
src_install() {
- dolib.so lib${PN}.so*
+ dolib.so lib${PN}$(get_libname)*
use static-libs && newlib.a lib${PN}_nonpic.a lib${PN}.a
dodoc README README.devel
use doc && dodoc doc/report.ps
@@ -74,5 +89,5 @@ src_install() {
Cflags: -I\${includedir}
EOF
insinto /usr/$(get_libdir)/pkgconfig
- doins ${PN}.pc || die
+ doins ${PN}.pc
}
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-12-16 11:07 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-22 10:15 [gentoo-commits] proj/sci:master commit in: sci-libs/xblas/ Justin Lecher
-- strict thread matches above, loose matches on Subject: below --
2021-12-16 11:07 Andrew Ammerlaan
2021-12-16 10:57 Andrew Ammerlaan
2021-01-30 10:12 Andrew Ammerlaan
2021-01-30 10:04 Andrew Ammerlaan
2021-01-19 17:20 Andrew Ammerlaan
2012-07-12 20:43 Sebastien Fabbro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox