[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/files/, sci-libs/gsl/

2023-02-28 Thread Sam James
commit: e1ab113ab5191355b1c4738ddef01a79126710ae
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 28 23:31:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar  1 02:30:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1ab113a

sci-libs/gsl: fix configure w/ clang 16

Closes: https://bugs.gentoo.org/898410
Signed-off-by: Sam James  gentoo.org>

 .../gsl/files/gsl-2.7.1-configure-clang16.patch| 26 ++
 .../{gsl-2.7.1-r1.ebuild => gsl-2.7.1-r2.ebuild}   | 10 +
 2 files changed, 32 insertions(+), 4 deletions(-)

diff --git a/sci-libs/gsl/files/gsl-2.7.1-configure-clang16.patch 
b/sci-libs/gsl/files/gsl-2.7.1-configure-clang16.patch
new file mode 100644
index ..ba239563a38e
--- /dev/null
+++ b/sci-libs/gsl/files/gsl-2.7.1-configure-clang16.patch
@@ -0,0 +1,26 @@
+https://bugs.gentoo.org/898410
+https://savannah.gnu.org/bugs/?63679
+
+Avoid calling the undeclared exit function and future failures
+with compilers which do not support implicit function declarations.
+
+--- a/configure.ac
 b/configure.ac
+@@ -449,7 +449,7 @@ int main (void)
+inf = exp(1.0e10);
+nan = inf / inf ;
+status = (nan == nan);
+-   exit (status);
++   return status;
+ 
}]])],[ac_cv_c_ieee_comparisons="yes"],[ac_cv_c_ieee_comparisons="no"],[ac_cv_c_ieee_comparisons="yes"])
+ ])
+ 
+@@ -469,7 +469,7 @@ int main (void)
+for (i = 0; i < 5; i++) { z = z / 10.0 ; };
+for (i = 0; i < 5; i++) { z = z * 10.0 ; };
+status = (z == 0.0);
+-   exit (status);
++   return status;
+ 
}]])],[ac_cv_c_ieee_denormals="yes"],[ac_cv_c_ieee_denormals="no"],[ac_cv_c_ieee_denormals="yes"])
+ ])
+ 

diff --git a/sci-libs/gsl/gsl-2.7.1-r1.ebuild b/sci-libs/gsl/gsl-2.7.1-r2.ebuild
similarity index 93%
rename from sci-libs/gsl/gsl-2.7.1-r1.ebuild
rename to sci-libs/gsl/gsl-2.7.1-r2.ebuild
index 64e427099641..e65ec799e0d2 100644
--- a/sci-libs/gsl/gsl-2.7.1-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.7.1-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools flag-o-matic toolchain-funcs
 
@@ -22,20 +22,22 @@ BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
"${WORKDIR}"/${PN}-2.7-cblas.patch
+   "${FILESDIR}"/${PN}-2.7.1-configure-clang16.patch
 )
 
 src_prepare() {
-   filter-flags -ffast-math
-
default
 
if use deprecated; then
sed -i -e "/GSL_DISABLE_DEPRECATED/,+2d" configure.ac || die
fi
+
eautoreconf
 }
 
 src_configure() {
+   filter-flags -ffast-math
+
if use cblas-external; then
export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)"
export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2022-11-08 Thread Andrew Ammerlaan
commit: ef86be3ef0dba92c5a0056bf23d5a145f6129aae
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Nov  8 08:54:33 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Nov  8 08:54:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef86be3e

sci-libs/gsl: update LICENSE

Closes: https://bugs.gentoo.org/880281
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-libs/gsl/gsl-2.7.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.1-r1.ebuild b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
index 19f17d317bdc..64e427099641 100644
--- a/sci-libs/gsl/gsl-2.7.1-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.gnu.org/software/gsl/;
 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz

https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.7-cblas.patch.bz2;
 
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
 # Usually 0/${PV} but check
 SLOT="0/27"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2022-10-17 Thread Sam James
commit: d09fe467ce91291dd1a9db628fbedddf951cfb2c
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 18 01:47:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 18 02:17:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d09fe467

sci-libs/gsl: add savannah upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sci-libs/gsl/metadata.xml b/sci-libs/gsl/metadata.xml
index bc6b9fcfdd1e..473598ecdcc7 100644
--- a/sci-libs/gsl/metadata.xml
+++ b/sci-libs/gsl/metadata.xml
@@ -23,4 +23,7 @@
 (virtual/cblas) instead of shipped internal version
 Enable deprecated functions
   
+  
+gsl
+  
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2022-10-08 Thread Sam James
commit: 0ba677884b319bff8607075f32ff87e3ec135e4e
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  8 23:09:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  8 23:09:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ba67788

sci-libs/gsl: drop 2.7

Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/Manifest   |  1 -
 sci-libs/gsl/gsl-2.7.ebuild | 58 -
 2 files changed, 59 deletions(-)

diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest
index 2e0cbab8fc4c..52bf6e92f49e 100644
--- a/sci-libs/gsl/Manifest
+++ b/sci-libs/gsl/Manifest
@@ -1,3 +1,2 @@
 DIST gsl-2.7-cblas.patch.bz2 12073 BLAKE2B 
71f2bdafdb1f42ca5c3515f8e39266242185218495705018d88e523be9bc776b39749156500cdc5746a16e481e9cfe2b79660e250eb1a70f3b18819d16fe11c5
 SHA512 
5b9b2a798079610d7d4981b83672cc978ed44b66aaf6e671794685f10bd4069764bb358870019dc0eec1e251639cde12aaa3598cae0e2fc050ea39c79435fe2f
 DIST gsl-2.7.1.tar.gz 7509209 BLAKE2B 
dd216c2fdb536e57b6e29613e46e1a05183fd18c47434039caac68fefffc0390cfe2f21eb117347d4bbdf9004de837ef2db02c17c01eaea4b615e3e45a4fd90f
 SHA512 
3300a748b63b583374701d5ae2a9db7349d0de51061a9f98e7c145b2f7de9710b3ad58b3318d0be2a9a287ace4cc5735bb9348cdf48075b98c1f6cc1029df131
-DIST gsl-2.7.tar.gz 7508761 BLAKE2B 
a9da4df40ea57374880026a0586f2f218dbb0c9154cc661b3e7f5cd414311b95300e60faa2d7f4d3c6cdae5cfdf77cb8052075b56f51564aec2649cc4ad5f7f9
 SHA512 
a14ac5400acaf4884620430dbeb6f0b28eafe946923b792ab0eccc2a2abc9113d8ce342f4b1e5396f05247649f7d6f953944a8e6bdbf9ee1adb9e67b7c3df2b5

diff --git a/sci-libs/gsl/gsl-2.7.ebuild b/sci-libs/gsl/gsl-2.7.ebuild
deleted file mode 100644
index ac5938b4fe8d..
--- a/sci-libs/gsl/gsl-2.7.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic toolchain-funcs
-
-DESCRIPTION="The GNU Scientific Library"
-HOMEPAGE="https://www.gnu.org/software/gsl/;
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
-   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.7-cblas.patch.bz2;
-
-LICENSE="GPL-3"
-SLOT="0/25"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
-IUSE="cblas-external +deprecated static-libs"
-
-RDEPEND="cblas-external? ( virtual/cblas:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${WORKDIR}"/${PN}-2.7-cblas.patch
-)
-
-src_prepare() {
-   filter-flags -ffast-math
-
-   default
-
-   if use deprecated; then
-   sed -i -e "/GSL_DISABLE_DEPRECATED/,+2d" configure.ac || die
-   fi
-   eautoreconf
-}
-
-src_configure() {
-   if use cblas-external; then
-   export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)"
-   export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)"
-   fi
-
-   econf \
-   --enable-shared \
-   $(use_with cblas-external) \
-   $(use_enable static-libs static)
-}
-
-src_test() {
-   local MAKEOPTS="${MAKEOPTS} -j1"
-   default
-}
-
-src_install() {
-   default
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2022-05-16 Thread Sam James
commit: fa00da77020cebf93870a422ca022cf35f345501
Author: Sam James  gentoo  org>
AuthorDate: Tue May 17 01:49:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 17 05:33:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa00da77

sci-libs/gsl: [QA] drop (very) stale GCC version checks

Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/gsl-2.7.1-r1.ebuild | 5 -
 sci-libs/gsl/gsl-2.7.ebuild  | 7 +--
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/sci-libs/gsl/gsl-2.7.1-r1.ebuild b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
index 7c8a0d0550f5..19f17d317bdc 100644
--- a/sci-libs/gsl/gsl-2.7.1-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
@@ -25,11 +25,6 @@ PATCHES=(
 )
 
 src_prepare() {
-   # bug #349005
-   [[ $(tc-getCC)$ == *gcc* ]] && \
-   [[ $(tc-getCC)$ != *apple* ]] && \
-   [[ $(gcc-major-version)$(gcc-minor-version) -eq 44 ]] \
-   && filter-mfpmath sse
filter-flags -ffast-math
 
default

diff --git a/sci-libs/gsl/gsl-2.7.ebuild b/sci-libs/gsl/gsl-2.7.ebuild
index 1f76267c23d5..ac5938b4fe8d 100644
--- a/sci-libs/gsl/gsl-2.7.ebuild
+++ b/sci-libs/gsl/gsl-2.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -24,11 +24,6 @@ PATCHES=(
 )
 
 src_prepare() {
-   # bug #349005
-   [[ $(tc-getCC)$ == *gcc* ]] && \
-   [[ $(tc-getCC)$ != *apple* ]] && \
-   [[ $(gcc-major-version)$(gcc-minor-version) -eq 44 ]] \
-   && filter-mfpmath sse
filter-flags -ffast-math
 
default



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2022-05-07 Thread WANG Xuerui
commit: 28b9bb88afb056f1dd165c6c921512eea6a2c5a2
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun May  8 02:23:31 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun May  8 02:23:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28b9bb88

sci-libs/gsl: keyword 2.7.1-r1 for ~loong

Tests passed on real hardware.

Signed-off-by: WANG Xuerui  gentoo.org>

 sci-libs/gsl/gsl-2.7.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.1-r1.ebuild b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
index 2533db1b2bf1..7c8a0d0550f5 100644
--- a/sci-libs/gsl/gsl-2.7.1-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 LICENSE="GPL-3"
 # Usually 0/${PV} but check
 SLOT="0/27"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2022-02-13 Thread Sam James
commit: a3248dc490e0d5e135102b327d2e0025751d818b
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 14 00:55:23 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 14 00:55:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3248dc4

sci-libs/gsl: Stabilize 2.7.1-r1 ppc64, #830769

Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/gsl-2.7.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.1-r1.ebuild b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
index 67492e626ad0..2533db1b2bf1 100644
--- a/sci-libs/gsl/gsl-2.7.1-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 LICENSE="GPL-3"
 # Usually 0/${PV} but check
 SLOT="0/27"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2022-02-13 Thread Jakov Smolić
commit: 1de2eadba80c550d8e9bdee183197035788f8fdb
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Feb 13 23:41:05 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Feb 13 23:41:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1de2eadb

sci-libs/gsl: Stabilize 2.7.1-r1 x86, #830769

Signed-off-by: Jakov Smolić  gentoo.org>

 sci-libs/gsl/gsl-2.7.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.1-r1.ebuild b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
index 7b4161a93467..67492e626ad0 100644
--- a/sci-libs/gsl/gsl-2.7.1-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 LICENSE="GPL-3"
 # Usually 0/${PV} but check
 SLOT="0/27"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2022-02-07 Thread Sam James
commit: 538a79b6fbcc319080e423c360318cfafda7b0a8
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  8 06:35:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  8 06:35:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=538a79b6

sci-libs/gsl: Stabilize 2.7.1-r1 ppc, #830769

Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/gsl-2.7.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.1-r1.ebuild b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
index be2b46d449a7..7b4161a93467 100644
--- a/sci-libs/gsl/gsl-2.7.1-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 LICENSE="GPL-3"
 # Usually 0/${PV} but check
 SLOT="0/27"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2022-01-10 Thread Sam James
commit: e34418799fb5b5941c2e445f3137a6265665bc5b
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jan 10 15:24:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 10 23:01:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3441879

sci-libs/gsl: stable 2.7.1-r1 for sparc, bug #830769

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/gsl-2.7.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.1-r1.ebuild b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
index bc29c3a11356..be2b46d449a7 100644
--- a/sci-libs/gsl/gsl-2.7.1-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 LICENSE="GPL-3"
 # Usually 0/${PV} but check
 SLOT="0/27"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2022-01-08 Thread Arthur Zamarin
commit: b2c2197389c5de2e0bcdd26fba21cb14f1f1d730
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan  8 12:30:25 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan  8 12:30:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2c21973

sci-libs/gsl: Stabilize 2.7.1-r1 arm64, #830769

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/gsl/gsl-2.7.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.1-r1.ebuild b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
index 04e8bb2a75ca..bc29c3a11356 100644
--- a/sci-libs/gsl/gsl-2.7.1-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 LICENSE="GPL-3"
 # Usually 0/${PV} but check
 SLOT="0/27"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2022-01-08 Thread Jakov Smolić
commit: 01f3b093a1145c09c49ab5c1182c283b20971bc8
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Jan  8 12:21:16 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Jan  8 12:21:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f3b093

sci-libs/gsl: Stabilize 2.7.1-r1 amd64, #830769

Signed-off-by: Jakov Smolić  gentoo.org>

 sci-libs/gsl/gsl-2.7.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.1-r1.ebuild b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
index 16f63972f1e3..04e8bb2a75ca 100644
--- a/sci-libs/gsl/gsl-2.7.1-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 LICENSE="GPL-3"
 # Usually 0/${PV} but check
 SLOT="0/27"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2022-01-08 Thread Arthur Zamarin
commit: 880f9e67ecbd43bb26a85a0eebddc435b1092001
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan  8 12:20:08 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan  8 12:20:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=880f9e67

sci-libs/gsl: Stabilize 2.7.1-r1 arm, #830769

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/gsl/gsl-2.7.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/gsl/gsl-2.7.1-r1.ebuild b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
index f12a875ff1a2..16f63972f1e3 100644
--- a/sci-libs/gsl/gsl-2.7.1-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 LICENSE="GPL-3"
 # Usually 0/${PV} but check
 SLOT="0/27"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2021-12-02 Thread Sam James
commit: 2015309a8053d75ef857f134f46b02dbb3e469f8
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec  2 19:23:51 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec  2 19:23:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2015309a

sci-libs/gsl: fix subslot for 2.7.1

I thought I'd done this but apparently not.

Closes: https://bugs.gentoo.org/828023
Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/{gsl-2.7.1.ebuild => gsl-2.7.1-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.1.ebuild b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
similarity index 97%
rename from sci-libs/gsl/gsl-2.7.1.ebuild
rename to sci-libs/gsl/gsl-2.7.1-r1.ebuild
index 613995025b21..f12a875ff1a2 100644
--- a/sci-libs/gsl/gsl-2.7.1.ebuild
+++ b/sci-libs/gsl/gsl-2.7.1-r1.ebuild
@@ -11,7 +11,8 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz

https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.7-cblas.patch.bz2;
 
 LICENSE="GPL-3"
-SLOT="0/25"
+# Usually 0/${PV} but check
+SLOT="0/27"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2021-12-01 Thread Sam James
commit: c9ffd414901491772a7111511151c37520d93daf
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec  1 22:29:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec  1 22:29:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9ffd414

sci-libs/gsl: add 2.7.1

Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/Manifest |  1 +
 sci-libs/gsl/gsl-2.7.1.ebuild | 63 +++
 2 files changed, 64 insertions(+)

diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest
index 79e6a0067008..2e0cbab8fc4c 100644
--- a/sci-libs/gsl/Manifest
+++ b/sci-libs/gsl/Manifest
@@ -1,2 +1,3 @@
 DIST gsl-2.7-cblas.patch.bz2 12073 BLAKE2B 
71f2bdafdb1f42ca5c3515f8e39266242185218495705018d88e523be9bc776b39749156500cdc5746a16e481e9cfe2b79660e250eb1a70f3b18819d16fe11c5
 SHA512 
5b9b2a798079610d7d4981b83672cc978ed44b66aaf6e671794685f10bd4069764bb358870019dc0eec1e251639cde12aaa3598cae0e2fc050ea39c79435fe2f
+DIST gsl-2.7.1.tar.gz 7509209 BLAKE2B 
dd216c2fdb536e57b6e29613e46e1a05183fd18c47434039caac68fefffc0390cfe2f21eb117347d4bbdf9004de837ef2db02c17c01eaea4b615e3e45a4fd90f
 SHA512 
3300a748b63b583374701d5ae2a9db7349d0de51061a9f98e7c145b2f7de9710b3ad58b3318d0be2a9a287ace4cc5735bb9348cdf48075b98c1f6cc1029df131
 DIST gsl-2.7.tar.gz 7508761 BLAKE2B 
a9da4df40ea57374880026a0586f2f218dbb0c9154cc661b3e7f5cd414311b95300e60faa2d7f4d3c6cdae5cfdf77cb8052075b56f51564aec2649cc4ad5f7f9
 SHA512 
a14ac5400acaf4884620430dbeb6f0b28eafe946923b792ab0eccc2a2abc9113d8ce342f4b1e5396f05247649f7d6f953944a8e6bdbf9ee1adb9e67b7c3df2b5

diff --git a/sci-libs/gsl/gsl-2.7.1.ebuild b/sci-libs/gsl/gsl-2.7.1.ebuild
new file mode 100644
index ..613995025b21
--- /dev/null
+++ b/sci-libs/gsl/gsl-2.7.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic toolchain-funcs
+
+DESCRIPTION="The GNU Scientific Library"
+HOMEPAGE="https://www.gnu.org/software/gsl/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
+   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.7-cblas.patch.bz2;
+
+LICENSE="GPL-3"
+SLOT="0/25"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE="cblas-external +deprecated static-libs"
+
+RDEPEND="cblas-external? ( virtual/cblas:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${WORKDIR}"/${PN}-2.7-cblas.patch
+)
+
+src_prepare() {
+   # bug #349005
+   [[ $(tc-getCC)$ == *gcc* ]] && \
+   [[ $(tc-getCC)$ != *apple* ]] && \
+   [[ $(gcc-major-version)$(gcc-minor-version) -eq 44 ]] \
+   && filter-mfpmath sse
+   filter-flags -ffast-math
+
+   default
+
+   if use deprecated; then
+   sed -i -e "/GSL_DISABLE_DEPRECATED/,+2d" configure.ac || die
+   fi
+   eautoreconf
+}
+
+src_configure() {
+   if use cblas-external; then
+   export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)"
+   export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)"
+   fi
+
+   econf \
+   --enable-shared \
+   $(use_with cblas-external) \
+   $(use_enable static-libs static)
+}
+
+src_test() {
+   local MAKEOPTS="${MAKEOPTS} -j1"
+   default
+}
+
+src_install() {
+   default
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/, sci-libs/gsl/files/

2021-10-24 Thread David Seifert
commit: 24e7ec9028ec04695b9baba6d1424af3afd588bf
Author: David Seifert  gentoo  org>
AuthorDate: Sun Oct 24 22:09:04 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Oct 24 22:09:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24e7ec90

sci-libs/gsl: drop 1.16, 2.5-r1

Closes: https://github.com/gentoo/gentoo/pull/22607
Signed-off-by: David Seifert  gentoo.org>

 sci-libs/gsl/Manifest|   4 --
 sci-libs/gsl/files/cblas.pc.in   |  12 
 sci-libs/gsl/files/eselect.cblas.gsl |   5 --
 sci-libs/gsl/gsl-1.16.ebuild | 108 ---
 sci-libs/gsl/gsl-2.5-r1.ebuild   |  59 ---
 5 files changed, 188 deletions(-)

diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest
index 099284fea1d..79e6a006700 100644
--- a/sci-libs/gsl/Manifest
+++ b/sci-libs/gsl/Manifest
@@ -1,6 +1,2 @@
-DIST gsl-1.16-cblas.patch.bz2 2810 BLAKE2B 
364c9f93a386e5d95c86789a3c00231cdfbe588fe4371ae85447bc6574b7798721a8559fda747ee656de96e7d8c5657901db86dc9c59bcee27789c918222e38f
 SHA512 
55a2dab850697b1e378ecf64d299ed6f021f1b1eb7dbad749f5014e5b7f275ec6c981a5699a87969c4d0794677efa51a5a2317526b58ca96aabb3f6a68cabd81
-DIST gsl-1.16.tar.gz 3534080 BLAKE2B 
1c55a41e5ed57b57f671074240d23416aa8f23e3cc2bb832e455d4f44d307e6be6adfa3671dbbf2aa14604ea49f96ff636de7909f3532cdc811f6bd99b0aa59d
 SHA512 
94e998953f30d701e1cd0a5e05d572c5cca7b6f40f0533aa85394ba4218946826408093ffe3049a0ab13d6ba87034fcec1a7d52a67d0b8860dc02b5fd4feb8eb
-DIST gsl-2.3-cblas.patch.bz2 12036 BLAKE2B 
ddad801cc42f925581e2e4995292f3eab0d2faf70c43c3b205fcf521b98e426df1d0824ed7d98b2c4cc89bbc4068fd45f2595dc02d23bded5c702b5a01bbfdb2
 SHA512 
37b867a21e60cd96c453ae24139bcf16c00c85bb6d5a3dcece81185fd9af5870c5167d2fa3c74cffce55bfb84f72be34d28ea94e0889904f8dda8687f66b4d23
-DIST gsl-2.5.tar.gz 7303881 BLAKE2B 
7c6d10c21071a1af1f03123f83244476d2e90fcd27d05a115b03a74fe631eb7d8081f5260e534ae58ab0997cf980a5e4cb50d110ca626fe810c44be70180
 SHA512 
5b4c5c023f9029ce220f4e09aa4d0234fed94d42ac224d58fda095fe0532d54237a7c33278f8b5d0ba051f6004486edb38d0adb4fcb49337a8c1d8a18cf4a24a
 DIST gsl-2.7-cblas.patch.bz2 12073 BLAKE2B 
71f2bdafdb1f42ca5c3515f8e39266242185218495705018d88e523be9bc776b39749156500cdc5746a16e481e9cfe2b79660e250eb1a70f3b18819d16fe11c5
 SHA512 
5b9b2a798079610d7d4981b83672cc978ed44b66aaf6e671794685f10bd4069764bb358870019dc0eec1e251639cde12aaa3598cae0e2fc050ea39c79435fe2f
 DIST gsl-2.7.tar.gz 7508761 BLAKE2B 
a9da4df40ea57374880026a0586f2f218dbb0c9154cc661b3e7f5cd414311b95300e60faa2d7f4d3c6cdae5cfdf77cb8052075b56f51564aec2649cc4ad5f7f9
 SHA512 
a14ac5400acaf4884620430dbeb6f0b28eafe946923b792ab0eccc2a2abc9113d8ce342f4b1e5396f05247649f7d6f953944a8e6bdbf9ee1adb9e67b7c3df2b5

diff --git a/sci-libs/gsl/files/cblas.pc.in b/sci-libs/gsl/files/cblas.pc.in
deleted file mode 100644
index a2580f85e6e..000
--- a/sci-libs/gsl/files/cblas.pc.in
+++ /dev/null
@@ -1,12 +0,0 @@
-prefix=/usr
-exec_prefix=${prefix}
-libdir=/usr/@LIBDIR@
-includedir=${prefix}/include
-
-Name: cblas
-Description: GSL C Implementation of the Basic Linear Algebra Subprograms
-Version: @PV@
-URL: http://www.gnu.org/software/gsl
-Libs: -L${libdir} -lcblas
-Libs.private: -lm
-Cflags: -I${includedir}

diff --git a/sci-libs/gsl/files/eselect.cblas.gsl 
b/sci-libs/gsl/files/eselect.cblas.gsl
deleted file mode 100644
index af6fee51fef..000
--- a/sci-libs/gsl/files/eselect.cblas.gsl
+++ /dev/null
@@ -1,5 +0,0 @@
-libgslcblas.so /usr/@LIBDIR@/libcblas.so
-libgslcblas.so.0 /usr/@LIBDIR@/libcblas.so.0
-libgslcblas.a /usr/@LIBDIR@/libcblas.a
-../blas/gsl/cblas.pc /usr/@LIBDIR@/pkgconfig/cblas.pc
-gsl/gsl_cblas.h /usr/include/cblas.h

diff --git a/sci-libs/gsl/gsl-1.16.ebuild b/sci-libs/gsl/gsl-1.16.ebuild
deleted file mode 100644
index eac9c3b6f75..000
--- a/sci-libs/gsl/gsl-1.16.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit epatch flag-o-matic autotools toolchain-funcs
-
-DESCRIPTION="The GNU Scientific Library"
-HOMEPAGE="https://www.gnu.org/software/gsl/;
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
-   https://dev.gentoo.org/~mgorny/dist/${P}-cblas.patch.bz2;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
-IUSE="cblas-external static-libs"
-
-RDEPEND="
-   cblas-external? ( virtual/cblas )
-   app-eselect/eselect-cblas"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO )
-
-pkg_pretend() {
-   # prevent to use external cblas from a previously installed gsl
-   local current_lib
-   if use cblas-external; then
-   current_lib=$(eselect cblas show | cut -d' ' -f2)
-   if [[ ${current_lib} == gsl ]]; then
-   ewarn "USE flag cblas-external 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2021-10-23 Thread Sam James
commit: 4d2bebaf05579855c0a16f8dda835115f71669eb
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 24 04:10:53 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 24 04:10:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d2bebaf

sci-libs/gsl: Stabilize 2.7 sparc, #804795

Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/gsl-2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.ebuild b/sci-libs/gsl/gsl-2.7.ebuild
index f02ffb07daa..1f76267c23d 100644
--- a/sci-libs/gsl/gsl-2.7.ebuild
+++ b/sci-libs/gsl/gsl-2.7.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/25"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2021-10-23 Thread Sam James
commit: 8e2a7a6cf075e8e200ca213dd98d2dac3032e4ec
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 24 04:10:50 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 24 04:10:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e2a7a6c

sci-libs/gsl: Stabilize 2.7 x86, #804795

Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/gsl-2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.ebuild b/sci-libs/gsl/gsl-2.7.ebuild
index 7fe26757788..f02ffb07daa 100644
--- a/sci-libs/gsl/gsl-2.7.ebuild
+++ b/sci-libs/gsl/gsl-2.7.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/25"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2021-08-11 Thread Sam James
commit: 657c25b37eb9d3b1a6aa4f9c36f2d537f8967fef
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug 11 23:06:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug 11 23:06:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=657c25b3

sci-libs/gsl: Stabilize 2.7 ppc, #804795

Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/gsl-2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.ebuild b/sci-libs/gsl/gsl-2.7.ebuild
index 247d2fe2b63..7fe26757788 100644
--- a/sci-libs/gsl/gsl-2.7.ebuild
+++ b/sci-libs/gsl/gsl-2.7.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/25"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2021-08-03 Thread Sam James
commit: 8d308262ee15e9bd97be7e1aff922745e15dd212
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug  3 11:08:56 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug  3 11:08:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d308262

sci-libs/gsl: Stabilize 2.7 ppc64, #804795

Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/gsl-2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.ebuild b/sci-libs/gsl/gsl-2.7.ebuild
index 0531b1128a6..247d2fe2b63 100644
--- a/sci-libs/gsl/gsl-2.7.ebuild
+++ b/sci-libs/gsl/gsl-2.7.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/25"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2021-08-03 Thread Sam James
commit: b5dc32ec7ea7e81999d36a2d2da3fd4494a0b3f7
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug  3 11:00:48 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug  3 11:00:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5dc32ec

sci-libs/gsl: Stabilize 2.7 arm64, #804795

Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/gsl-2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.ebuild b/sci-libs/gsl/gsl-2.7.ebuild
index 1819cb8629d..0531b1128a6 100644
--- a/sci-libs/gsl/gsl-2.7.ebuild
+++ b/sci-libs/gsl/gsl-2.7.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/25"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2021-07-31 Thread Sam James
commit: f7693a08e2f61de50aecb0b6176a763529fb4dba
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 31 22:10:36 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 31 22:10:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7693a08

sci-libs/gsl: Stabilize 2.7 arm, #804795

Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/gsl-2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.ebuild b/sci-libs/gsl/gsl-2.7.ebuild
index 885b6815816..1819cb8629d 100644
--- a/sci-libs/gsl/gsl-2.7.ebuild
+++ b/sci-libs/gsl/gsl-2.7.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/25"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2021-07-29 Thread Agostino Sarubbo
commit: 32ae341e4d653792bcbe97d2d6782da5ea260a8b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 29 07:05:54 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 29 07:05:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32ae341e

sci-libs/gsl: amd64 stable wrt bug #804795

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/gsl/gsl-2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.ebuild b/sci-libs/gsl/gsl-2.7.ebuild
index 613995025b2..885b6815816 100644
--- a/sci-libs/gsl/gsl-2.7.ebuild
+++ b/sci-libs/gsl/gsl-2.7.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/25"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2021-07-28 Thread Marek Szuba
commit: ae4f179ff78aec3c27d5e31fd32517532e5d6074
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 28 16:48:19 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 28 18:41:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae4f179f

sci-libs/gsl: keyword 2.7 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 sci-libs/gsl/gsl-2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.7.ebuild b/sci-libs/gsl/gsl-2.7.ebuild
index 35e85c74340..613995025b2 100644
--- a/sci-libs/gsl/gsl-2.7.ebuild
+++ b/sci-libs/gsl/gsl-2.7.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/25"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2021-06-01 Thread Sam James
commit: 2d19b45cd14c5e47bc37fa826fdd7c13f0b5d27b
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun  1 20:43:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun  1 20:43:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d19b45c

sci-libs/gsl: add 2.7

Closes: https://bugs.gentoo.org/725368
Bug: https://bugs.gentoo.org/687126
Bug: https://bugs.gentoo.org/687342
Signed-off-by: Sam James  gentoo.org>

 sci-libs/gsl/Manifest   |  2 ++
 sci-libs/gsl/gsl-2.7.ebuild | 63 +
 2 files changed, 65 insertions(+)

diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest
index 916572058e4..099284fea1d 100644
--- a/sci-libs/gsl/Manifest
+++ b/sci-libs/gsl/Manifest
@@ -2,3 +2,5 @@ DIST gsl-1.16-cblas.patch.bz2 2810 BLAKE2B 
364c9f93a386e5d95c86789a3c00231cdfbe5
 DIST gsl-1.16.tar.gz 3534080 BLAKE2B 
1c55a41e5ed57b57f671074240d23416aa8f23e3cc2bb832e455d4f44d307e6be6adfa3671dbbf2aa14604ea49f96ff636de7909f3532cdc811f6bd99b0aa59d
 SHA512 
94e998953f30d701e1cd0a5e05d572c5cca7b6f40f0533aa85394ba4218946826408093ffe3049a0ab13d6ba87034fcec1a7d52a67d0b8860dc02b5fd4feb8eb
 DIST gsl-2.3-cblas.patch.bz2 12036 BLAKE2B 
ddad801cc42f925581e2e4995292f3eab0d2faf70c43c3b205fcf521b98e426df1d0824ed7d98b2c4cc89bbc4068fd45f2595dc02d23bded5c702b5a01bbfdb2
 SHA512 
37b867a21e60cd96c453ae24139bcf16c00c85bb6d5a3dcece81185fd9af5870c5167d2fa3c74cffce55bfb84f72be34d28ea94e0889904f8dda8687f66b4d23
 DIST gsl-2.5.tar.gz 7303881 BLAKE2B 
7c6d10c21071a1af1f03123f83244476d2e90fcd27d05a115b03a74fe631eb7d8081f5260e534ae58ab0997cf980a5e4cb50d110ca626fe810c44be70180
 SHA512 
5b4c5c023f9029ce220f4e09aa4d0234fed94d42ac224d58fda095fe0532d54237a7c33278f8b5d0ba051f6004486edb38d0adb4fcb49337a8c1d8a18cf4a24a
+DIST gsl-2.7-cblas.patch.bz2 12073 BLAKE2B 
71f2bdafdb1f42ca5c3515f8e39266242185218495705018d88e523be9bc776b39749156500cdc5746a16e481e9cfe2b79660e250eb1a70f3b18819d16fe11c5
 SHA512 
5b9b2a798079610d7d4981b83672cc978ed44b66aaf6e671794685f10bd4069764bb358870019dc0eec1e251639cde12aaa3598cae0e2fc050ea39c79435fe2f
+DIST gsl-2.7.tar.gz 7508761 BLAKE2B 
a9da4df40ea57374880026a0586f2f218dbb0c9154cc661b3e7f5cd414311b95300e60faa2d7f4d3c6cdae5cfdf77cb8052075b56f51564aec2649cc4ad5f7f9
 SHA512 
a14ac5400acaf4884620430dbeb6f0b28eafe946923b792ab0eccc2a2abc9113d8ce342f4b1e5396f05247649f7d6f953944a8e6bdbf9ee1adb9e67b7c3df2b5

diff --git a/sci-libs/gsl/gsl-2.7.ebuild b/sci-libs/gsl/gsl-2.7.ebuild
new file mode 100644
index 000..35e85c74340
--- /dev/null
+++ b/sci-libs/gsl/gsl-2.7.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic toolchain-funcs
+
+DESCRIPTION="The GNU Scientific Library"
+HOMEPAGE="https://www.gnu.org/software/gsl/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
+   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.7-cblas.patch.bz2;
+
+LICENSE="GPL-3"
+SLOT="0/25"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE="cblas-external +deprecated static-libs"
+
+RDEPEND="cblas-external? ( virtual/cblas:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${WORKDIR}"/${PN}-2.7-cblas.patch
+)
+
+src_prepare() {
+   # bug #349005
+   [[ $(tc-getCC)$ == *gcc* ]] && \
+   [[ $(tc-getCC)$ != *apple* ]] && \
+   [[ $(gcc-major-version)$(gcc-minor-version) -eq 44 ]] \
+   && filter-mfpmath sse
+   filter-flags -ffast-math
+
+   default
+
+   if use deprecated; then
+   sed -i -e "/GSL_DISABLE_DEPRECATED/,+2d" configure.ac || die
+   fi
+   eautoreconf
+}
+
+src_configure() {
+   if use cblas-external; then
+   export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)"
+   export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)"
+   fi
+
+   econf \
+   --enable-shared \
+   $(use_with cblas-external) \
+   $(use_enable static-libs static)
+}
+
+src_test() {
+   local MAKEOPTS="${MAKEOPTS} -j1"
+   default
+}
+
+src_install() {
+   default
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2021-05-25 Thread Andrew Ammerlaan
commit: 6dbcc61c8ec84fa62b69fde2c277a59eb585ea98
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue May 25 18:42:54 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue May 25 18:43:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dbcc61c

sci-libs/gsl: move eselect-cblas to RDEPEND

Closes: https://bugs.gentoo.org/610392
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-libs/gsl/gsl-1.16.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sci-libs/gsl/gsl-1.16.ebuild b/sci-libs/gsl/gsl-1.16.ebuild
index b4ccad464d8..eac9c3b6f75 100644
--- a/sci-libs/gsl/gsl-1.16.ebuild
+++ b/sci-libs/gsl/gsl-1.16.ebuild
@@ -15,9 +15,10 @@ SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external static-libs"
 
-RDEPEND="cblas-external? ( virtual/cblas )"
+RDEPEND="
+   cblas-external? ( virtual/cblas )
+   app-eselect/eselect-cblas"
 DEPEND="${RDEPEND}
-   app-eselect/eselect-cblas
virtual/pkgconfig"
 
 DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO )



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2021-01-17 Thread David Seifert
commit: 9b6e3222db3c6e398726138ca303d66053a3ddd0
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sun Jan 17 11:51:21 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan 17 11:51:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b6e3222

sci-libs/gsl: Remove old

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-libs/gsl/Manifest   |   1 -
 sci-libs/gsl/gsl-2.4.ebuild | 112 
 sci-libs/gsl/gsl-2.5.ebuild | 112 
 3 files changed, 225 deletions(-)

diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest
index 00fc6640e73..916572058e4 100644
--- a/sci-libs/gsl/Manifest
+++ b/sci-libs/gsl/Manifest
@@ -1,5 +1,4 @@
 DIST gsl-1.16-cblas.patch.bz2 2810 BLAKE2B 
364c9f93a386e5d95c86789a3c00231cdfbe588fe4371ae85447bc6574b7798721a8559fda747ee656de96e7d8c5657901db86dc9c59bcee27789c918222e38f
 SHA512 
55a2dab850697b1e378ecf64d299ed6f021f1b1eb7dbad749f5014e5b7f275ec6c981a5699a87969c4d0794677efa51a5a2317526b58ca96aabb3f6a68cabd81
 DIST gsl-1.16.tar.gz 3534080 BLAKE2B 
1c55a41e5ed57b57f671074240d23416aa8f23e3cc2bb832e455d4f44d307e6be6adfa3671dbbf2aa14604ea49f96ff636de7909f3532cdc811f6bd99b0aa59d
 SHA512 
94e998953f30d701e1cd0a5e05d572c5cca7b6f40f0533aa85394ba4218946826408093ffe3049a0ab13d6ba87034fcec1a7d52a67d0b8860dc02b5fd4feb8eb
 DIST gsl-2.3-cblas.patch.bz2 12036 BLAKE2B 
ddad801cc42f925581e2e4995292f3eab0d2faf70c43c3b205fcf521b98e426df1d0824ed7d98b2c4cc89bbc4068fd45f2595dc02d23bded5c702b5a01bbfdb2
 SHA512 
37b867a21e60cd96c453ae24139bcf16c00c85bb6d5a3dcece81185fd9af5870c5167d2fa3c74cffce55bfb84f72be34d28ea94e0889904f8dda8687f66b4d23
-DIST gsl-2.4.tar.gz 5916715 BLAKE2B 
f22c07b2d5759a383e05b8bfdba70071672cc27f12ff2a8c755451fe7e10c8e2d80e3fcc601508c5e9942e4cfd05e51c43ba9326b760e4390eb0c2552886
 SHA512 
12442b023dd959e8b22a9c486646b5cedec7fdba0daf2604cda365cf96d10d99aefdec2b42e59c536cc071da1525373454e5ed6f4b15293b305ca9b1dc6db130
 DIST gsl-2.5.tar.gz 7303881 BLAKE2B 
7c6d10c21071a1af1f03123f83244476d2e90fcd27d05a115b03a74fe631eb7d8081f5260e534ae58ab0997cf980a5e4cb50d110ca626fe810c44be70180
 SHA512 
5b4c5c023f9029ce220f4e09aa4d0234fed94d42ac224d58fda095fe0532d54237a7c33278f8b5d0ba051f6004486edb38d0adb4fcb49337a8c1d8a18cf4a24a

diff --git a/sci-libs/gsl/gsl-2.4.ebuild b/sci-libs/gsl/gsl-2.4.ebuild
deleted file mode 100644
index e061f9b29d0..000
--- a/sci-libs/gsl/gsl-2.4.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="The GNU Scientific Library"
-HOMEPAGE="https://www.gnu.org/software/gsl/;
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
-   https://dev.gentoo.org/~mgorny/dist/${PN}-2.3-cblas.patch.bz2;
-
-LICENSE="GPL-3"
-SLOT="0/23"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
-IUSE="cblas-external +deprecated static-libs"
-
-RDEPEND="cblas-external? ( virtual/cblas:= )"
-DEPEND="${RDEPEND}
-   app-eselect/eselect-cblas
-   virtual/pkgconfig"
-
-PATCHES=( "${WORKDIR}"/${PN}-2.3-cblas.patch )
-
-pkg_pretend() {
-   # prevent to use external cblas from a previously installed gsl
-   local current_lib
-   if use cblas-external; then
-   current_lib=$(eselect cblas show | cut -d' ' -f2)
-   if [[ ${current_lib} == gsl ]]; then
-   ewarn "USE flag cblas-external is set: linking gsl with 
an external cblas."
-   ewarn "However the current selected external cblas is 
gsl."
-   ewarn "Please install and/or eselect another cblas"
-   die "Circular gsl dependency"
-   fi
-   fi
-}
-
-src_prepare() {
-   ESELECT_PROF="gsl"
-
-   # bug 349005
-   [[ $(tc-getCC)$ == *gcc* ]] && \
-   [[ $(tc-getCC)$ != *apple* ]] && \
-   [[ $(gcc-major-version)$(gcc-minor-version) -eq 44 ]] \
-   && filter-mfpmath sse
-   filter-flags -ffast-math
-
-   default
-   if use deprecated; then
-   sed -i -e "/GSL_DISABLE_DEPRECATED/,+2d" configure.ac || die
-   fi
-   eautoreconf
-
-   cp "${FILESDIR}"/eselect.cblas.gsl "${T}"/ || die
-   sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.cblas.gsl || die
-   if [[ ${CHOST} == *-darwin* ]] ; then
-   sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \
-   "${T}"/eselect.cblas.gsl || die
-   fi
-}
-
-src_configure() {
-   if use cblas-external; then
-   export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)"
-   export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)"
-   fi
-   econf \
-   --enable-shared \
-   

[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2021-01-06 Thread Fabian Groffen
commit: b13f2f923fbb7315afa62660f62ed5c921cc8832
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 15:15:16 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 15:15:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b13f2f92

sci-libs/gsl: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 sci-libs/gsl/gsl-1.16.ebuild   | 4 ++--
 sci-libs/gsl/gsl-2.4.ebuild| 4 ++--
 sci-libs/gsl/gsl-2.5-r1.ebuild | 4 ++--
 sci-libs/gsl/gsl-2.5.ebuild| 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sci-libs/gsl/gsl-1.16.ebuild b/sci-libs/gsl/gsl-1.16.ebuild
index 9e12fd2e9bd..dd0a369c37c 100644
--- a/sci-libs/gsl/gsl-1.16.ebuild
+++ b/sci-libs/gsl/gsl-1.16.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas )"

diff --git a/sci-libs/gsl/gsl-2.4.ebuild b/sci-libs/gsl/gsl-2.4.ebuild
index 717234335f1..e061f9b29d0 100644
--- a/sci-libs/gsl/gsl-2.4.ebuild
+++ b/sci-libs/gsl/gsl-2.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/23"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"

diff --git a/sci-libs/gsl/gsl-2.5-r1.ebuild b/sci-libs/gsl/gsl-2.5-r1.ebuild
index f1d81874a93..2a2625d5c3d 100644
--- a/sci-libs/gsl/gsl-2.5-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/23"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"

diff --git a/sci-libs/gsl/gsl-2.5.ebuild b/sci-libs/gsl/gsl-2.5.ebuild
index 491d3cbe761..65e051a9dce 100644
--- a/sci-libs/gsl/gsl-2.5.ebuild
+++ b/sci-libs/gsl/gsl-2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/23"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2020-11-30 Thread Sergei Trofimovich
commit: d2202d7636b97566ce40fb5ea673f804879fac39
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Nov 30 21:00:26 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Nov 30 22:31:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2202d76

sci-libs/gsl: drop to ~hppa

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-libs/gsl/gsl-1.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-1.16.ebuild b/sci-libs/gsl/gsl-1.16.ebuild
index 079f9e21ec1..9e12fd2e9bd 100644
--- a/sci-libs/gsl/gsl-1.16.ebuild
+++ b/sci-libs/gsl/gsl-1.16.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2020-03-22 Thread Agostino Sarubbo
commit: bd1625e8e39c9db08ed2604fbdb234227cdc377e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Mar 22 14:07:28 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Mar 22 14:07:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd1625e8

sci-libs/gsl: x86 stable wrt bug #700196

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/gsl/gsl-2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.5-r1.ebuild b/sci-libs/gsl/gsl-2.5-r1.ebuild
index 61db2c784e1..8351dad0a78 100644
--- a/sci-libs/gsl/gsl-2.5-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.5-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/23"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2020-03-22 Thread Agostino Sarubbo
commit: 46ef8e8746acb9dd4bfe463a6b2c64c7b499ce82
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Mar 22 14:06:48 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Mar 22 14:06:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46ef8e87

sci-libs/gsl: ppc64 stable wrt bug #700196

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/gsl/gsl-2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.5-r1.ebuild b/sci-libs/gsl/gsl-2.5-r1.ebuild
index a5a55b8ab15..61db2c784e1 100644
--- a/sci-libs/gsl/gsl-2.5-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.5-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/23"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2019-12-27 Thread Aaron Bauman
commit: 4e4bd92d288b8d088f076aeb0cd39bbd9a990852
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri Dec 27 19:35:16 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Dec 27 19:35:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e4bd92d

sci-libs/gsl: arm64 stable (bug #700196)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

 sci-libs/gsl/gsl-2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.5-r1.ebuild b/sci-libs/gsl/gsl-2.5-r1.ebuild
index 7d7ec3ef16e..9b2bc0dde89 100644
--- a/sci-libs/gsl/gsl-2.5-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.5-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/23"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2019-12-24 Thread Mikle Kolyada
commit: f78a1e15ebf343befc3cb5e6f54d1031ab83738e
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue Dec 24 20:04:16 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue Dec 24 20:04:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f78a1e15

sci-libs/gsl: alpha stable wrt bug #700196

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="alpha"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sci-libs/gsl/gsl-2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.5-r1.ebuild b/sci-libs/gsl/gsl-2.5-r1.ebuild
index e30e34b7901..7d7ec3ef16e 100644
--- a/sci-libs/gsl/gsl-2.5-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.5-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/23"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2019-12-24 Thread Mikle Kolyada
commit: 42f202a8e66f4f7fff3f029e54541fd162510da4
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue Dec 24 14:32:52 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue Dec 24 14:32:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f202a8

sci-libs/gsl: arm stable wrt bug #700196

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sci-libs/gsl/gsl-2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.5-r1.ebuild b/sci-libs/gsl/gsl-2.5-r1.ebuild
index 22e2c8677c6..e30e34b7901 100644
--- a/sci-libs/gsl/gsl-2.5-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.5-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/23"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2019-12-15 Thread Agostino Sarubbo
commit: 38270d82f1130ac96943884e818b3beb386fe5e1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 15 14:21:52 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 15 14:21:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38270d82

sci-libs/gsl: ia64 stable wrt bug #700196

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/gsl/gsl-2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.5-r1.ebuild b/sci-libs/gsl/gsl-2.5-r1.ebuild
index 73cb091a5fb..22e2c8677c6 100644
--- a/sci-libs/gsl/gsl-2.5-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.5-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/23"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2019-12-15 Thread Agostino Sarubbo
commit: cf0edc05bb914fb4ab35b60e74a1706290e4d8d9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 15 14:06:57 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 15 14:07:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0edc05

sci-libs/gsl: ppc stable wrt bug #700196

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/gsl/gsl-2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.5-r1.ebuild b/sci-libs/gsl/gsl-2.5-r1.ebuild
index be40aa2ab04..73cb091a5fb 100644
--- a/sci-libs/gsl/gsl-2.5-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.5-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/23"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2019-11-17 Thread Pacho Ramos
commit: 1323314ddb770aafe925e7cabcbb4c545e6dc023
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Nov 17 12:08:46 2019 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Nov 17 12:08:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1323314d

sci-libs/gsl: amd64 stable, bug #700196

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Pacho Ramos  gentoo.org>

 sci-libs/gsl/gsl-2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.5-r1.ebuild b/sci-libs/gsl/gsl-2.5-r1.ebuild
index 8cf301ee19b..be40aa2ab04 100644
--- a/sci-libs/gsl/gsl-2.5-r1.ebuild
+++ b/sci-libs/gsl/gsl-2.5-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/23"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2019-06-26 Thread Benda XU
commit: dc5c06fd1e256673003eb9dea74cc0e131b208db
Author: Benda Xu  gentoo  org>
AuthorDate: Wed Jun 26 16:05:41 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Wed Jun 26 16:07:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc5c06fd

sci-libs/gsl: strip the cblas provider role.

  Computationally sci-libs/gsl as a cblas provider has no significant
  advantage over the reference implementation.  Providing sci-libs/gsl
  as a general cblas provider introduces possibility circular
  dependency.  sci-libs/gsl should rather be a cblas user than a
  provider.

Closes: https://bugs.gentoo.org/688742
Package-Manager: Portage-2.3.52, Repoman-2.3.12
RepoMan-Options: --force
Signed-off-by: Benda Xu  gentoo.org>

 sci-libs/gsl/gsl-2.5-r1.ebuild | 58 ++
 1 file changed, 58 insertions(+)

diff --git a/sci-libs/gsl/gsl-2.5-r1.ebuild b/sci-libs/gsl/gsl-2.5-r1.ebuild
new file mode 100644
index 000..0c95bb68c55
--- /dev/null
+++ b/sci-libs/gsl/gsl-2.5-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic toolchain-funcs
+
+DESCRIPTION="The GNU Scientific Library"
+HOMEPAGE="https://www.gnu.org/software/gsl/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
+   https://dev.gentoo.org/~mgorny/dist/${PN}-2.3-cblas.patch.bz2;
+
+LICENSE="GPL-3"
+SLOT="0/23"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
+IUSE="cblas-external +deprecated static-libs"
+
+RDEPEND="cblas-external? ( virtual/cblas:= )"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${WORKDIR}"/${PN}-2.3-cblas.patch )
+
+src_prepare() {
+   # bug 349005
+   [[ $(tc-getCC)$ == *gcc* ]] && \
+   [[ $(tc-getCC)$ != *apple* ]] && \
+   [[ $(gcc-major-version)$(gcc-minor-version) -eq 44 ]] \
+   && filter-mfpmath sse
+   filter-flags -ffast-math
+
+   default
+   if use deprecated; then
+   sed -i -e "/GSL_DISABLE_DEPRECATED/,+2d" configure.ac || die
+   fi
+   eautoreconf
+}
+
+src_configure() {
+   if use cblas-external; then
+   export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)"
+   export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)"
+   fi
+   econf \
+   --enable-shared \
+   $(use_with cblas-external) \
+   $(use_enable static-libs static)
+}
+
+src_test() {
+   local MAKEOPTS="${MAKEOPTS} -j1"
+   default
+}
+
+src_install() {
+   default
+
+   find "${ED}" -name '*.la' -exec rm -f {} +
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2019-06-20 Thread Mikle Kolyada
commit: 46d1328588e06b79635dfe9836aac1b983ccfee0
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Jun 20 09:28:05 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Jun 20 09:28:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46d13285

sci-libs/gsl: amd64 stable wrt bug #685692

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 sci-libs/gsl/gsl-2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.5.ebuild b/sci-libs/gsl/gsl-2.5.ebuild
index c676aa3c518..6da27aa5901 100644
--- a/sci-libs/gsl/gsl-2.5.ebuild
+++ b/sci-libs/gsl/gsl-2.5.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/23"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2019-05-26 Thread Sergei Trofimovich
commit: 39a788363ce1e5bfbe2f586a6f9d9670b4a3cc88
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun May 26 16:02:45 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun May 26 17:01:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39a78836

sci-libs/gsl: stable 2.5 for sparc, bug #685692

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-libs/gsl/gsl-2.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/gsl/gsl-2.5.ebuild b/sci-libs/gsl/gsl-2.5.ebuild
index da1026f0739..c676aa3c518 100644
--- a/sci-libs/gsl/gsl-2.5.ebuild
+++ b/sci-libs/gsl/gsl-2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0/23"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2019-05-20 Thread Aaron Bauman
commit: 05a0244ac49778d82315a4fd0c189efb5b514336
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon May 20 19:36:50 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon May 20 19:36:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05a0244a

sci-libs/gsl: arm64 stable

* tests fail on all versions across both arm64 and amd64

* Unfortunately, the package is integral to several others

* Maintainer should consider RESTRICT="test"

Signed-off-by: Aaron Bauman  gentoo.org>

 sci-libs/gsl/gsl-1.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-1.16.ebuild b/sci-libs/gsl/gsl-1.16.ebuild
index b09b5db2496..553e9508912 100644
--- a/sci-libs/gsl/gsl-1.16.ebuild
+++ b/sci-libs/gsl/gsl-1.16.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE="cblas-external static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2018-08-06 Thread Amy Liffey
commit: d605c4d73a17a910c6bf7d5ce3cced96d7fedab9
Author: Amy Liffey  gentoo  org>
AuthorDate: Mon Aug  6 14:10:13 2018 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Mon Aug  6 14:10:13 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d605c4d7

sci-libs/gsl: version bump 2.5

Closes: https://bugs.gentoo.org/661380
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-libs/gsl/Manifest   |   1 +
 sci-libs/gsl/gsl-2.5.ebuild | 112 
 2 files changed, 113 insertions(+)

diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest
index a5822d65a93..00fc6640e73 100644
--- a/sci-libs/gsl/Manifest
+++ b/sci-libs/gsl/Manifest
@@ -2,3 +2,4 @@ DIST gsl-1.16-cblas.patch.bz2 2810 BLAKE2B 
364c9f93a386e5d95c86789a3c00231cdfbe5
 DIST gsl-1.16.tar.gz 3534080 BLAKE2B 
1c55a41e5ed57b57f671074240d23416aa8f23e3cc2bb832e455d4f44d307e6be6adfa3671dbbf2aa14604ea49f96ff636de7909f3532cdc811f6bd99b0aa59d
 SHA512 
94e998953f30d701e1cd0a5e05d572c5cca7b6f40f0533aa85394ba4218946826408093ffe3049a0ab13d6ba87034fcec1a7d52a67d0b8860dc02b5fd4feb8eb
 DIST gsl-2.3-cblas.patch.bz2 12036 BLAKE2B 
ddad801cc42f925581e2e4995292f3eab0d2faf70c43c3b205fcf521b98e426df1d0824ed7d98b2c4cc89bbc4068fd45f2595dc02d23bded5c702b5a01bbfdb2
 SHA512 
37b867a21e60cd96c453ae24139bcf16c00c85bb6d5a3dcece81185fd9af5870c5167d2fa3c74cffce55bfb84f72be34d28ea94e0889904f8dda8687f66b4d23
 DIST gsl-2.4.tar.gz 5916715 BLAKE2B 
f22c07b2d5759a383e05b8bfdba70071672cc27f12ff2a8c755451fe7e10c8e2d80e3fcc601508c5e9942e4cfd05e51c43ba9326b760e4390eb0c2552886
 SHA512 
12442b023dd959e8b22a9c486646b5cedec7fdba0daf2604cda365cf96d10d99aefdec2b42e59c536cc071da1525373454e5ed6f4b15293b305ca9b1dc6db130
+DIST gsl-2.5.tar.gz 7303881 BLAKE2B 
7c6d10c21071a1af1f03123f83244476d2e90fcd27d05a115b03a74fe631eb7d8081f5260e534ae58ab0997cf980a5e4cb50d110ca626fe810c44be70180
 SHA512 
5b4c5c023f9029ce220f4e09aa4d0234fed94d42ac224d58fda095fe0532d54237a7c33278f8b5d0ba051f6004486edb38d0adb4fcb49337a8c1d8a18cf4a24a

diff --git a/sci-libs/gsl/gsl-2.5.ebuild b/sci-libs/gsl/gsl-2.5.ebuild
new file mode 100644
index 000..da1026f0739
--- /dev/null
+++ b/sci-libs/gsl/gsl-2.5.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic toolchain-funcs
+
+DESCRIPTION="The GNU Scientific Library"
+HOMEPAGE="https://www.gnu.org/software/gsl/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
+   https://dev.gentoo.org/~mgorny/dist/${PN}-2.3-cblas.patch.bz2;
+
+LICENSE="GPL-3"
+SLOT="0/23"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
+IUSE="cblas-external +deprecated static-libs"
+
+RDEPEND="cblas-external? ( virtual/cblas:= )"
+DEPEND="${RDEPEND}
+   app-eselect/eselect-cblas
+   virtual/pkgconfig"
+
+PATCHES=( "${WORKDIR}"/${PN}-2.3-cblas.patch )
+
+pkg_pretend() {
+   # prevent to use external cblas from a previously installed gsl
+   local current_lib
+   if use cblas-external; then
+   current_lib=$(eselect cblas show | cut -d' ' -f2)
+   if [[ ${current_lib} == gsl ]]; then
+   ewarn "USE flag cblas-external is set: linking gsl with 
an external cblas."
+   ewarn "However the current selected external cblas is 
gsl."
+   ewarn "Please install and/or eselect another cblas"
+   die "Circular gsl dependency"
+   fi
+   fi
+}
+
+src_prepare() {
+   ESELECT_PROF="gsl"
+
+   # bug 349005
+   [[ $(tc-getCC)$ == *gcc* ]] && \
+   [[ $(tc-getCC)$ != *apple* ]] && \
+   [[ $(gcc-major-version)$(gcc-minor-version) -eq 44 ]] \
+   && filter-mfpmath sse
+   filter-flags -ffast-math
+
+   default
+   if use deprecated; then
+   sed -i -e "/GSL_DISABLE_DEPRECATED/,+2d" configure.ac || die
+   fi
+   eautoreconf
+
+   cp "${FILESDIR}"/eselect.cblas.gsl "${T}"/ || die
+   sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.cblas.gsl || die
+   if [[ ${CHOST} == *-darwin* ]] ; then
+   sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \
+   "${T}"/eselect.cblas.gsl || die
+   fi
+}
+
+src_configure() {
+   if use cblas-external; then
+   export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)"
+   export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)"
+   fi
+   econf \
+   --enable-shared \
+   $(use_with cblas-external) \
+   $(use_enable static-libs static)
+}
+
+src_test() {
+   local MAKEOPTS="${MAKEOPTS} -j1"
+   default
+}
+
+src_install() {
+   default
+
+   find "${ED}" -name '*.la' -exec rm -f {} +
+
+   # take care of pkgconfig file for cblas 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/, sci-libs/gsl/files/

2017-12-17 Thread Michał Górny
commit: f16d09b80f010f9395c41daf9b0fd2803bb43b15
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 17 18:12:09 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 17 18:35:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f16d09b8

sci-libs/gsl: Drop old

Closes: https://github.com/gentoo/gentoo/pull/6572

 sci-libs/gsl/Manifest  |   2 -
 sci-libs/gsl/files/gsl-2.1-cblas.patch | 326 -
 sci-libs/gsl/gsl-2.1.ebuild| 108 ---
 sci-libs/gsl/gsl-2.3.ebuild| 111 ---
 4 files changed, 547 deletions(-)

diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest
index fd13241e5b0..94248f35473 100644
--- a/sci-libs/gsl/Manifest
+++ b/sci-libs/gsl/Manifest
@@ -1,4 +1,2 @@
 DIST gsl-1.16.tar.gz 3534080 BLAKE2B 
1c55a41e5ed57b57f671074240d23416aa8f23e3cc2bb832e455d4f44d307e6be6adfa3671dbbf2aa14604ea49f96ff636de7909f3532cdc811f6bd99b0aa59d
 SHA512 
94e998953f30d701e1cd0a5e05d572c5cca7b6f40f0533aa85394ba4218946826408093ffe3049a0ab13d6ba87034fcec1a7d52a67d0b8860dc02b5fd4feb8eb
-DIST gsl-2.1.tar.gz 3827265 BLAKE2B 
2b359dc9f74ed69aa033508923cff4541894c26a6d2e5c606ee5cf4e4e95c58d270351998537c8c4f4bc8130ee5870b6f64133ede9079f20d8309d83637164f5
 SHA512 
d63660fdfae9c9ec9f4fd1894b0af705297cefb6169973ef10faacd0b8a3d52f537508e9c07f4f9f4253138cc48e5570bb10ef303538226d7febd92e8fd184b0
-DIST gsl-2.3.tar.gz 4510731 BLAKE2B 
5bc58346340a04f039405d4b256598b14f33e9b4e265c4fb159e691f5ea3372a0f9b7526b6ea6e259d5968ef8e7ce5b4d4e2465a78fb0b42f85a383fdc32d4bf
 SHA512 
ada622079f4ac667d95f74b38aa368726fc1b18fd34555bcefe90920d3da93a9289ebff966be43325af806107001bc8973daf9f8418e6c97b866be2296b566ff
 DIST gsl-2.4.tar.gz 5916715 BLAKE2B 
f22c07b2d5759a383e05b8bfdba70071672cc27f12ff2a8c755451fe7e10c8e2d80e3fcc601508c5e9942e4cfd05e51c43ba9326b760e4390eb0c2552886
 SHA512 
12442b023dd959e8b22a9c486646b5cedec7fdba0daf2604cda365cf96d10d99aefdec2b42e59c536cc071da1525373454e5ed6f4b15293b305ca9b1dc6db130

diff --git a/sci-libs/gsl/files/gsl-2.1-cblas.patch 
b/sci-libs/gsl/files/gsl-2.1-cblas.patch
deleted file mode 100644
index 54cc8802c59..000
--- a/sci-libs/gsl/files/gsl-2.1-cblas.patch
+++ /dev/null
@@ -1,326 +0,0 @@
- Makefile.am   |  8 +++---
- ax_cblas.m4   | 69 +++
- bspline/Makefile.am   |  2 +-
- configure.ac  | 10 +++
- eigen/Makefile.am |  2 +-
- gsl-config.in |  4 +--
- gsl.pc.in |  2 +-
- interpolation/Makefile.am |  2 +-
- linalg/Makefile.am|  2 +-
- multifit/Makefile.am  |  4 +--
- multimin/Makefile.am  |  4 +--
- multiroots/Makefile.am|  2 +-
- ode-initval/Makefile.am   |  2 +-
- poly/Makefile.am  |  2 +-
- specfunc/Makefile.am  |  2 +-
- wavelet/Makefile.am   |  2 +-
- 16 files changed, 100 insertions(+), 19 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 278dcd9..a75418c 100644
 a/Makefile.am
-+++ b/Makefile.am
-@@ -19,7 +19,7 @@ EXTRA_DIST = autogen.sh gsl-config.in gsl.pc.in configure.ac 
THANKS BUGS gsl.spe
- 
- lib_LTLIBRARIES = libgsl.la
- libgsl_la_SOURCES = version.c
--libgsl_la_LIBADD = $(GSL_LIBADD) $(SUBLIBS)
-+libgsl_la_LIBADD = $(GSL_LIBADD) $(SUBLIBS) @CBLAS_LINK_LIBS@
- libgsl_la_LDFLAGS = $(GSL_LDFLAGS) -version-info $(GSL_LT_VERSION)
- noinst_HEADERS = templates_on.h templates_off.h build.h
- 
-@@ -29,10 +29,10 @@ m4data_DATA = gsl.m4
- bin_PROGRAMS = gsl-randist gsl-histogram
- 
- gsl_randist_SOURCES = gsl-randist.c
--gsl_randist_LDADD = libgsl.la cblas/libgslcblas.la
-+gsl_randist_LDADD = libgsl.la
- 
- gsl_histogram_SOURCES = gsl-histogram.c
--gsl_histogram_LDADD = libgsl.la cblas/libgslcblas.la
-+gsl_histogram_LDADD = libgsl.la
- 
- check_SCRIPTS = test_gsl_histogram.sh pkgconfig.test
- TESTS = test_gsl_histogram.sh pkgconfig.test
-@@ -51,6 +51,8 @@ edit = $(SED) \
-   -e 's|@GSL_CFLAGS[@]|$(GSL_CFLAGS)|g' \
-   -e 's|@GSL_LIBM[@]|$(GSL_LIBM)|g' \
-   -e 's|@GSL_LIBS[@]|$(GSL_LIBS)|g' \
-+  -e 's|@CBLAS_CFLAGS[@]|$(CBLAS_CFLAGS)|g' \
-+  -e 's|@CBLAS_LIBS[@]|$(CBLAS_LIBS)|g' \
-   -e 's|@LIBS[@]|$(LIBS)|g' \
-   -e 's|@VERSION[@]|$(VERSION)|g'
- 
-diff --git a/ax_cblas.m4 b/ax_cblas.m4
-new file mode 100644
-index 000..6ef143a
 /dev/null
-+++ b/ax_cblas.m4
-@@ -0,0 +1,69 @@
-+AC_DEFUN([AX_CBLAS],[
-+
-+  ext_cblas=no
-+  ext_cblas_libs="-lcblas"
-+  ext_cblas_cflags=""
-+
-+  AC_ARG_WITH(cblas-external,
-+  [AS_HELP_STRING([--with-cblas-external], 
-+  [Use external CBLAS library (default is no)])],
-+  [with_ext_cblas=$withval],
-+  [with_ext_cblas=no])
-+
-+  case $with_ext_cblas in
-+  no) ext_cblas=no ;;
-+  yes) ext_cblas=yes ;;
-+  -* | */* | *.a | *.so | *.so.* | *.o) 
-+ ext_cblas=yes
-+ ext_cblas_libs="$with_cblas" ;;
-+  *) ext_cblas=yes
-+ ext_cblas_libs="-l$with_cblas" 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/files/, sci-libs/gsl/

2017-12-17 Thread Michał Górny
commit: 330e80687ecbbc2168facd071f55b2ae1c3a4fcd
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 17 18:34:52 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 17 18:35:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=330e8068

sci-libs/gsl: [QA] Move patches to SRC_URI

Closes: https://bugs.gentoo.org/620626

 sci-libs/gsl/Manifest   |2 +
 sci-libs/gsl/files/gsl-1.16-cblas.patch |  294 --
 sci-libs/gsl/files/gsl-2.3-cblas.patch  | 1485 ---
 sci-libs/gsl/gsl-1.16.ebuild|5 +-
 sci-libs/gsl/gsl-2.4.ebuild |5 +-
 5 files changed, 8 insertions(+), 1783 deletions(-)

diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest
index 94248f35473..a5822d65a93 100644
--- a/sci-libs/gsl/Manifest
+++ b/sci-libs/gsl/Manifest
@@ -1,2 +1,4 @@
+DIST gsl-1.16-cblas.patch.bz2 2810 BLAKE2B 
364c9f93a386e5d95c86789a3c00231cdfbe588fe4371ae85447bc6574b7798721a8559fda747ee656de96e7d8c5657901db86dc9c59bcee27789c918222e38f
 SHA512 
55a2dab850697b1e378ecf64d299ed6f021f1b1eb7dbad749f5014e5b7f275ec6c981a5699a87969c4d0794677efa51a5a2317526b58ca96aabb3f6a68cabd81
 DIST gsl-1.16.tar.gz 3534080 BLAKE2B 
1c55a41e5ed57b57f671074240d23416aa8f23e3cc2bb832e455d4f44d307e6be6adfa3671dbbf2aa14604ea49f96ff636de7909f3532cdc811f6bd99b0aa59d
 SHA512 
94e998953f30d701e1cd0a5e05d572c5cca7b6f40f0533aa85394ba4218946826408093ffe3049a0ab13d6ba87034fcec1a7d52a67d0b8860dc02b5fd4feb8eb
+DIST gsl-2.3-cblas.patch.bz2 12036 BLAKE2B 
ddad801cc42f925581e2e4995292f3eab0d2faf70c43c3b205fcf521b98e426df1d0824ed7d98b2c4cc89bbc4068fd45f2595dc02d23bded5c702b5a01bbfdb2
 SHA512 
37b867a21e60cd96c453ae24139bcf16c00c85bb6d5a3dcece81185fd9af5870c5167d2fa3c74cffce55bfb84f72be34d28ea94e0889904f8dda8687f66b4d23
 DIST gsl-2.4.tar.gz 5916715 BLAKE2B 
f22c07b2d5759a383e05b8bfdba70071672cc27f12ff2a8c755451fe7e10c8e2d80e3fcc601508c5e9942e4cfd05e51c43ba9326b760e4390eb0c2552886
 SHA512 
12442b023dd959e8b22a9c486646b5cedec7fdba0daf2604cda365cf96d10d99aefdec2b42e59c536cc071da1525373454e5ed6f4b15293b305ca9b1dc6db130

diff --git a/sci-libs/gsl/files/gsl-1.16-cblas.patch 
b/sci-libs/gsl/files/gsl-1.16-cblas.patch
deleted file mode 100644
index c29ef529471..000
--- a/sci-libs/gsl/files/gsl-1.16-cblas.patch
+++ /dev/null
@@ -1,294 +0,0 @@
-diff -Nur gsl-1.16.orig/ax_cblas.m4 gsl-1.16/ax_cblas.m4
 gsl-1.16.orig/ax_cblas.m4  1969-12-31 16:00:00.0 -0800
-+++ gsl-1.16/ax_cblas.m4   2013-08-19 15:48:54.376300825 -0700
-@@ -0,0 +1,69 @@
-+AC_DEFUN([AX_CBLAS],[
-+
-+  ext_cblas=no
-+  ext_cblas_libs="-lcblas"
-+  ext_cblas_cflags=""
-+
-+  AC_ARG_WITH(cblas-external,
-+  [AS_HELP_STRING([--with-cblas-external], 
-+  [Use external CBLAS library (default is no)])],
-+  [with_ext_cblas=$withval],
-+  [with_ext_cblas=no])
-+
-+  case $with_ext_cblas in
-+  no) ext_cblas=no ;;
-+  yes) ext_cblas=yes ;;
-+  -* | */* | *.a | *.so | *.so.* | *.o) 
-+ ext_cblas=yes
-+ ext_cblas_libs="$with_cblas" ;;
-+  *) ext_cblas=yes
-+ ext_cblas_libs="-l$with_cblas" ;;
-+  esac
-+
-+  AC_ARG_WITH(cblas-external-libs,
-+  [AS_HELP_STRING([--with-cblas-external-libs=],
-+  [External cblas libraries to link with (default is 
"$ext_cblas_libs")])],
-+  [ext_cblas_libs=$withval],
-+  [])
-+
-+  AC_ARG_WITH(cblas-external-cflags,
-+  [AS_HELP_STRING([--with-cblas-external-cflags=],
-+  [Pre-processing flags to compile with external cblas 
("-I")])],
-+  [ext_cblas_cflags=$withval],
-+  [])
-+
-+  if test x$ext_cblas != xno; then
-+  if test "x$CBLAS_LIBS" = x; then
-+ CBLAS_LIBS="$ext_cblas_libs"
-+  fi
-+  if test "x$CBLAS_CFLAGS" = x; then
-+ CBLAS_CFLAGS="$ext_cblas_cflags"
-+  fi
-+
-+  CFLAGS_sav="$CFLAGS"
-+  CFLAGS="$CFLAGS $CBLAS_CFLAGS"
-+  AC_CHECK_HEADER(cblas.h, ,
-+  [AC_MSG_ERROR([
-+  *** Header file cblas.h not found.
-+  *** If you installed cblas header in a non standard place,
-+  *** specify its install prefix using the following option
-+  ***  --with-cblas-external-cflags="-I"])
-+  ])
-+  CFLAGS="$CFLAGS_sav"
-+
-+  LIBS_sav="$LIBS"
-+  LIBS="$LIBS $CBLAS_LIBS -lm"
-+  AC_MSG_CHECKING([for cblas_sgemm in $CBLAS_LIBS])
-+  AC_TRY_LINK_FUNC(cblas_sgemm, [ext_cblas=yes],
-+  [AC_MSG_ERROR([
-+  *** Linking with cblas with $LIBS failed.
-+  *** If you installed cblas library in a non standard 
place,
-+  *** specify its install prefix using the following option
-+  ***  --with-cblas-external-libs="-L -l"])
-+  ])
-+  AC_MSG_RESULT($ext_cblas)
-+  LIBS="$LIBS_sav"
-+  AC_SUBST([CBLAS_CFLAGS])
-+  AC_SUBST([CBLAS_LIBS])
-+ fi
-+])
-diff -Nur 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2017-07-17 Thread Alexis Ballier
commit: 776b9f64c585bc6cd359ed402275a20165ed4f9e
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Jul 17 10:06:16 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Jul 17 10:06:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776b9f64

sci-libs/gsl: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-libs/gsl/gsl-2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-2.4.ebuild b/sci-libs/gsl/gsl-2.4.ebuild
index f7dd010c507..659ed95f797 100644
--- a/sci-libs/gsl/gsl-2.4.ebuild
+++ b/sci-libs/gsl/gsl-2.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0/23"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas:= )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2017-07-11 Thread Sebastien Fabbro
commit: 0ee2f57c366d2c6241dc74cbe4c41f8a3e358dee
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jul 11 17:49:54 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Tue Jul 11 20:20:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee2f57c

sci-libs/gsl: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-libs/gsl/Manifest   |   1 +
 sci-libs/gsl/gsl-2.4.ebuild | 111 
 2 files changed, 112 insertions(+)

diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest
index 3cc474ccbb5..5cc43d24c28 100644
--- a/sci-libs/gsl/Manifest
+++ b/sci-libs/gsl/Manifest
@@ -1,3 +1,4 @@
 DIST gsl-1.16.tar.gz 3534080 SHA256 
73bc2f51b90d2a780e6d266d43e487b3dbd78945dd0b04b14ca5980fe28d2f53 SHA512 
94e998953f30d701e1cd0a5e05d572c5cca7b6f40f0533aa85394ba4218946826408093ffe3049a0ab13d6ba87034fcec1a7d52a67d0b8860dc02b5fd4feb8eb
 WHIRLPOOL 
46bf814c882ca36600d258097642a734b6a6483302cc64c14cab55c0c056ae6116c204495b3b81c57fec1871e145fbc5aa396e52e494e9e2fcd34ec06301
 DIST gsl-2.1.tar.gz 3827265 SHA256 
59ad06837397617f698975c494fe7b2b698739a59e2fcf830b776428938a0c66 SHA512 
d63660fdfae9c9ec9f4fd1894b0af705297cefb6169973ef10faacd0b8a3d52f537508e9c07f4f9f4253138cc48e5570bb10ef303538226d7febd92e8fd184b0
 WHIRLPOOL 
60aa8ea8d19bc88ace49fcb807f63877d3bd32ff5c9bbca0db9d45b55b3929bba93756f82ce8777be852ca9b015e425540b33091a58ea7edac0d74560cbe39a5
 DIST gsl-2.3.tar.gz 4510731 SHA256 
562500b789cd599b3a4f88547a7a3280538ab2ff4939504c8b4ac4ca25feadfb SHA512 
ada622079f4ac667d95f74b38aa368726fc1b18fd34555bcefe90920d3da93a9289ebff966be43325af806107001bc8973daf9f8418e6c97b866be2296b566ff
 WHIRLPOOL 
f6c597f88ccc4b98002f3887a0268f4964c2c6243196e1fd862f3c7360798900a8cfa4d739b9876b13b71481d175904d1577b6b059a31aa16156fe9fc3848ea5
+DIST gsl-2.4.tar.gz 5916715 SHA256 
4d46d07b946e7b31c19bbf33dda6204d7bedc2f5462a1bae1d4013426cd1ce9b SHA512 
12442b023dd959e8b22a9c486646b5cedec7fdba0daf2604cda365cf96d10d99aefdec2b42e59c536cc071da1525373454e5ed6f4b15293b305ca9b1dc6db130
 WHIRLPOOL 
5703de11ec8e8ba6a204ff87c0f3b695e7363d1f2322eb2fe13686b315ef922d3d1b64959c8a7d59d73aafbe716ba02f14265f9c37edd4569f8d02b06c32229f

diff --git a/sci-libs/gsl/gsl-2.4.ebuild b/sci-libs/gsl/gsl-2.4.ebuild
new file mode 100644
index 000..f7dd010c507
--- /dev/null
+++ b/sci-libs/gsl/gsl-2.4.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="The GNU Scientific Library"
+HOMEPAGE="https://www.gnu.org/software/gsl/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0/23"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="cblas-external +deprecated static-libs"
+
+RDEPEND="cblas-external? ( virtual/cblas:= )"
+DEPEND="${RDEPEND}
+   app-eselect/eselect-cblas
+   virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.3-cblas.patch )
+
+pkg_pretend() {
+   # prevent to use external cblas from a previously installed gsl
+   local current_lib
+   if use cblas-external; then
+   current_lib=$(eselect cblas show | cut -d' ' -f2)
+   if [[ ${current_lib} == gsl ]]; then
+   ewarn "USE flag cblas-external is set: linking gsl with 
an external cblas."
+   ewarn "However the current selected external cblas is 
gsl."
+   ewarn "Please install and/or eselect another cblas"
+   die "Circular gsl dependency"
+   fi
+   fi
+}
+
+src_prepare() {
+   ESELECT_PROF="gsl"
+
+   # bug 349005
+   [[ $(tc-getCC)$ == *gcc* ]] && \
+   [[ $(tc-getCC)$ != *apple* ]] && \
+   [[ $(gcc-major-version)$(gcc-minor-version) -eq 44 ]] \
+   && filter-mfpmath sse
+   filter-flags -ffast-math
+
+   default
+   if use deprecated; then
+   sed -i -e "/GSL_DISABLE_DEPRECATED/,+2d" configure.ac || die
+   fi
+   eautoreconf
+
+   cp "${FILESDIR}"/eselect.cblas.gsl "${T}"/ || die
+   sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.cblas.gsl || die
+   if [[ ${CHOST} == *-darwin* ]] ; then
+   sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \
+   "${T}"/eselect.cblas.gsl || die
+   fi
+}
+
+src_configure() {
+   if use cblas-external; then
+   export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)"
+   export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)"
+   fi
+   econf \
+   --enable-shared \
+   $(use_with cblas-external) \
+   $(use_enable static-libs static)
+}
+
+src_test() {
+   local MAKEOPTS="${MAKEOPTS} -j1"
+   default
+}
+
+src_install() {
+   

[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/files/, sci-libs/gsl/

2017-01-21 Thread Justin Lecher
commit: 5f6fff9d6aff0ec74992e720b59652c8e65f7e60
Author: Justin Lecher  gentoo  org>
AuthorDate: Fri Jan 20 19:49:31 2017 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sat Jan 21 16:24:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f6fff9d

sci-libs/gsl: Drop old

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Justin Lecher  gentoo.org>

 sci-libs/gsl/Manifest   |   1 -
 sci-libs/gsl/files/gsl-1.14-cblas.patch | 285 
 sci-libs/gsl/gsl-1.14.ebuild|  91 --
 sci-libs/gsl/metadata.xml   |   2 +-
 4 files changed, 1 insertion(+), 378 deletions(-)

diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest
index e8d4f65..3cc474c 100644
--- a/sci-libs/gsl/Manifest
+++ b/sci-libs/gsl/Manifest
@@ -1,4 +1,3 @@
-DIST gsl-1.14.tar.gz 3128269 SHA256 
3d4a47afd9a1e7c73b97791b4180d8cc4d5f0e5db6027fe06437f1f3f957fafb SHA512 
ac8d9ba4d6e3f5d698e86130af4b4218d36b22525e966ba5d7b47d44f7ad1bef19287efa05f6ad63a81e676179bd3a0bd19461f8383e85a4d674835ff69fcc42
 WHIRLPOOL 
ddc6637b95ad5b2c3943f067f9979fc3070204a04a85e82365c8fd6aec6685a2827bea7056138139893f7bb6cc449318797d235dfe5fee525b1b519927148b0b
 DIST gsl-1.16.tar.gz 3534080 SHA256 
73bc2f51b90d2a780e6d266d43e487b3dbd78945dd0b04b14ca5980fe28d2f53 SHA512 
94e998953f30d701e1cd0a5e05d572c5cca7b6f40f0533aa85394ba4218946826408093ffe3049a0ab13d6ba87034fcec1a7d52a67d0b8860dc02b5fd4feb8eb
 WHIRLPOOL 
46bf814c882ca36600d258097642a734b6a6483302cc64c14cab55c0c056ae6116c204495b3b81c57fec1871e145fbc5aa396e52e494e9e2fcd34ec06301
 DIST gsl-2.1.tar.gz 3827265 SHA256 
59ad06837397617f698975c494fe7b2b698739a59e2fcf830b776428938a0c66 SHA512 
d63660fdfae9c9ec9f4fd1894b0af705297cefb6169973ef10faacd0b8a3d52f537508e9c07f4f9f4253138cc48e5570bb10ef303538226d7febd92e8fd184b0
 WHIRLPOOL 
60aa8ea8d19bc88ace49fcb807f63877d3bd32ff5c9bbca0db9d45b55b3929bba93756f82ce8777be852ca9b015e425540b33091a58ea7edac0d74560cbe39a5
 DIST gsl-2.3.tar.gz 4510731 SHA256 
562500b789cd599b3a4f88547a7a3280538ab2ff4939504c8b4ac4ca25feadfb SHA512 
ada622079f4ac667d95f74b38aa368726fc1b18fd34555bcefe90920d3da93a9289ebff966be43325af806107001bc8973daf9f8418e6c97b866be2296b566ff
 WHIRLPOOL 
f6c597f88ccc4b98002f3887a0268f4964c2c6243196e1fd862f3c7360798900a8cfa4d739b9876b13b71481d175904d1577b6b059a31aa16156fe9fc3848ea5

diff --git a/sci-libs/gsl/files/gsl-1.14-cblas.patch 
b/sci-libs/gsl/files/gsl-1.14-cblas.patch
deleted file mode 100644
index b8d9fb7..
--- a/sci-libs/gsl/files/gsl-1.14-cblas.patch
+++ /dev/null
@@ -1,285 +0,0 @@
-diff -Nur gsl-1.14.orig/acx_cblas.m4 gsl-1.14/acx_cblas.m4
 gsl-1.14.orig/acx_cblas.m4 1970-01-01 01:00:00.0 +0100
-+++ gsl-1.14/acx_cblas.m4  2010-04-09 02:19:59.0 +0100
-@@ -0,0 +1,60 @@
-+AC_DEFUN([ACX_CBLAS],[
-+  use_cblas=no
-+  use_cblas_libs="-lcblas -lblas"
-+  use_cblas_cflags=""
-+
-+  AC_ARG_WITH(cblas,
-+  [AS_HELP_STRING([--with-cblas], [use external CBLAS library (default is 
no)])])
-+
-+  case $with_cblas in
-+  yes) use_cblas=yes ;;
-+  no | "" ) use_cblas=no ;;
-+  -* | */* | *.a | *.so | *.so.* | *.o) use_cblas_libs="$with_cblas" ;;
-+  *) use_cblas_libs="-l$with_cblas" ;;
-+  esac
-+
-+  AC_ARG_WITH(cblas-libs,
-+  [AS_HELP_STRING([--with-cblas-libs=],
-+   [external cblas libraries to link with (default is 
"$use_cblas_libs")])],
-+  [use_cblas_libs=$withval], [])
-+
-+  AC_ARG_WITH(cblas-cflags,
-+  [AS_HELP_STRING([--with-cblas-cflags=],
-+   [extra cflags to compile with external cblas ("-I")])],
-+  [use_cblas_cflags=$withval], [])
-+
-+  if test x$use_cblas != xno; then
-+  if test "x$CBLAS_LIBS" = x; then
-+  CBLAS_LIBS="$use_cblas_libs"
-+  fi
-+  if test "x$CBLAS_FLAGS" = x; then
-+  CBLAS_CFLAGS="$use_cblas_cflags"
-+  fi
-+
-+  CFLAGS_sav="$CFLAGS"
-+  CFLAGS="$CFLAGS $CBLAS_CFLAGS"
-+  AC_CHECK_HEADER(cblas.h, ,
-+  [AC_MSG_ERROR([
-+  *** Header file cblas.h not found.
-+  *** If you installed cblas header in a non standard place,
-+  *** specify its install prefix using the following option
-+  ***  --with-cblas-cflags="-I"])
-+  ])
-+  CFLAGS="$CFLAGS_sav"
-+
-+  LIBS_sav="$LIBS"
-+  LIBS="$LIBS $CBLAS_LIBS -lm"
-+  AC_MSG_CHECKING([for cblas_sgemm in $CBLAS_LIBS])
-+  AC_TRY_LINK_FUNC(cblas_sgemm, [use_cblas=yes],
-+  [AC_MSG_ERROR([
-+  *** Linking with cblas with $LIBS failed.
-+  *** If you installed cblas library in a non standard 
place,
-+  *** specify its install prefix using the following option
-+  ***  --with-cblas-libs="-L -l"])
-+  ])
-+  AC_MSG_RESULT($use_cblas)
-+  LIBS="$LIBS_sav"
-+  AC_SUBST(CBLAS_CFLAGS)
-+  AC_SUBST(CBLAS_LIBS)
-+ fi
-+])
-diff -Nur gsl-1.14.orig/bspline/Makefile.am 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2017-01-17 Thread Agostino Sarubbo
commit: dd4b8f8131b2a8c33a2aaae72531a35cd674ec80
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jan 17 14:21:33 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jan 17 14:24:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd4b8f81

sci-libs/gsl: ia64 stable wrt bug #438768

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/gsl/gsl-1.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-1.16.ebuild b/sci-libs/gsl/gsl-1.16.ebuild
index 822f089..b7b0bee 100644
--- a/sci-libs/gsl/gsl-1.16.ebuild
+++ b/sci-libs/gsl/gsl-1.16.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cblas-external static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2017-01-11 Thread Agostino Sarubbo
commit: 2d4240209c88e56dbeedc11125bd9fcd7784
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jan 11 10:35:10 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jan 11 10:35:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d424033

sci-libs/gsl: sparc stable wrt bug #438768

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/gsl/gsl-1.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-1.16.ebuild b/sci-libs/gsl/gsl-1.16.ebuild
index f3c4a27..822f089 100644
--- a/sci-libs/gsl/gsl-1.16.ebuild
+++ b/sci-libs/gsl/gsl-1.16.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cblas-external static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2017-01-03 Thread Agostino Sarubbo
commit: 0e333d3929eb5111da5f302ec977a2a6ecb05daf
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jan  3 10:36:56 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jan  3 10:38:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e333d39

sci-libs/gsl: ppc64 stable wrt bug #438768

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/gsl/gsl-1.16.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/gsl/gsl-1.16.ebuild b/sci-libs/gsl/gsl-1.16.ebuild
index 7862416..f3c4a27 100644
--- a/sci-libs/gsl/gsl-1.16.ebuild
+++ b/sci-libs/gsl/gsl-1.16.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cblas-external static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2016-12-23 Thread Manuel Rüger
commit: e2cbd36d3be616d48a33209d43a2c32bdeec66c5
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Dec 23 14:52:55 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Dec 23 14:52:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2cbd36d

sci-libs/gsl: Add USE-flag to enable deprecated functions

As acked by jlec

Package-Manager: portage-2.3.3

 sci-libs/gsl/gsl-2.3.ebuild | 7 +--
 sci-libs/gsl/metadata.xml   | 1 +
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-libs/gsl/gsl-2.3.ebuild b/sci-libs/gsl/gsl-2.3.ebuild
index 1ef8865..8d2f3c5 100644
--- a/sci-libs/gsl/gsl-2.3.ebuild
+++ b/sci-libs/gsl/gsl-2.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0/19.3"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
-IUSE="cblas-external static-libs"
+IUSE="cblas-external +deprecated static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas )"
 DEPEND="${RDEPEND}
@@ -47,9 +47,12 @@ src_prepare() {
filter-flags -ffast-math
 
default
+   if use deprecated; then
+   sed -i -e "/GSL_DISABLE_DEPRECATED/,+2d" configure.ac || die
+   fi
eautoreconf
 
-   cp "${FILESDIR}"/eselect.cblas.gsl "${T}"/
+   cp "${FILESDIR}"/eselect.cblas.gsl "${T}"/ || die
sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.cblas.gsl || die
if [[ ${CHOST} == *-darwin* ]] ; then
sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \

diff --git a/sci-libs/gsl/metadata.xml b/sci-libs/gsl/metadata.xml
index 30aac9a..eb06cc2 100644
--- a/sci-libs/gsl/metadata.xml
+++ b/sci-libs/gsl/metadata.xml
@@ -21,5 +21,6 @@
   
 Link gsl with external cblas provided by
 (virtual/cblas) instead of shipped internal version
+   Enable deprecated functions
   
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/, sci-libs/gsl/files/

2016-12-10 Thread Justin Lecher
commit: d5ed0ab57fe91b92c0a38068e44829cc10a54ba7
Author: Justin Lecher  gentoo  org>
AuthorDate: Sat Dec 10 10:15:36 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sat Dec 10 10:15:45 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5ed0ab5

sci-libs/gsl: Version Bump

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=602200

Package-Manager: portage-2.3.3
Signed-off-by: Justin Lecher  gentoo.org>

 sci-libs/gsl/Manifest  |1 +
 sci-libs/gsl/files/gsl-2.3-cblas.patch | 1485 
 sci-libs/gsl/gsl-2.3.ebuild|  109 +++
 3 files changed, 1595 insertions(+)

diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest
index c1ca4bc..e8d4f65 100644
--- a/sci-libs/gsl/Manifest
+++ b/sci-libs/gsl/Manifest
@@ -1,3 +1,4 @@
 DIST gsl-1.14.tar.gz 3128269 SHA256 
3d4a47afd9a1e7c73b97791b4180d8cc4d5f0e5db6027fe06437f1f3f957fafb SHA512 
ac8d9ba4d6e3f5d698e86130af4b4218d36b22525e966ba5d7b47d44f7ad1bef19287efa05f6ad63a81e676179bd3a0bd19461f8383e85a4d674835ff69fcc42
 WHIRLPOOL 
ddc6637b95ad5b2c3943f067f9979fc3070204a04a85e82365c8fd6aec6685a2827bea7056138139893f7bb6cc449318797d235dfe5fee525b1b519927148b0b
 DIST gsl-1.16.tar.gz 3534080 SHA256 
73bc2f51b90d2a780e6d266d43e487b3dbd78945dd0b04b14ca5980fe28d2f53 SHA512 
94e998953f30d701e1cd0a5e05d572c5cca7b6f40f0533aa85394ba4218946826408093ffe3049a0ab13d6ba87034fcec1a7d52a67d0b8860dc02b5fd4feb8eb
 WHIRLPOOL 
46bf814c882ca36600d258097642a734b6a6483302cc64c14cab55c0c056ae6116c204495b3b81c57fec1871e145fbc5aa396e52e494e9e2fcd34ec06301
 DIST gsl-2.1.tar.gz 3827265 SHA256 
59ad06837397617f698975c494fe7b2b698739a59e2fcf830b776428938a0c66 SHA512 
d63660fdfae9c9ec9f4fd1894b0af705297cefb6169973ef10faacd0b8a3d52f537508e9c07f4f9f4253138cc48e5570bb10ef303538226d7febd92e8fd184b0
 WHIRLPOOL 
60aa8ea8d19bc88ace49fcb807f63877d3bd32ff5c9bbca0db9d45b55b3929bba93756f82ce8777be852ca9b015e425540b33091a58ea7edac0d74560cbe39a5
+DIST gsl-2.3.tar.gz 4510731 SHA256 
562500b789cd599b3a4f88547a7a3280538ab2ff4939504c8b4ac4ca25feadfb SHA512 
ada622079f4ac667d95f74b38aa368726fc1b18fd34555bcefe90920d3da93a9289ebff966be43325af806107001bc8973daf9f8418e6c97b866be2296b566ff
 WHIRLPOOL 
f6c597f88ccc4b98002f3887a0268f4964c2c6243196e1fd862f3c7360798900a8cfa4d739b9876b13b71481d175904d1577b6b059a31aa16156fe9fc3848ea5

diff --git a/sci-libs/gsl/files/gsl-2.3-cblas.patch 
b/sci-libs/gsl/files/gsl-2.3-cblas.patch
new file mode 100644
index ..7e12b37
--- /dev/null
+++ b/sci-libs/gsl/files/gsl-2.3-cblas.patch
@@ -0,0 +1,1485 @@
+ Makefile.am |   8 +-
+ Makefile.am.porig   |  66 
+ ax_cblas.m4 |  69 +
+ bspline/Makefile.am |   2 +-
+ bspline/Makefile.am.porig   |  17 ++
+ configure.ac|  10 +
+ configure.ac.porig  | 647 
+ eigen/Makefile.am   |   2 +-
+ eigen/Makefile.am.porig |  18 ++
+ gsl-config.in   |   4 +-
+ gsl-config.in.porig |  80 +
+ gsl.pc.in   |   2 +-
+ gsl.pc.in.porig |  11 +
+ interpolation/Makefile.am   |   2 +-
+ interpolation/Makefile.am.porig |  18 ++
+ linalg/Makefile.am  |   2 +-
+ linalg/Makefile.am.porig|  16 +
+ multifit/Makefile.am|   4 +-
+ multifit/Makefile.am.porig  |  74 +
+ multimin/Makefile.am|   4 +-
+ multimin/Makefile.am.porig  |  20 ++
+ multiroots/Makefile.am  |   2 +-
+ multiroots/Makefile.am.porig|  19 ++
+ ode-initval/Makefile.am |   2 +-
+ ode-initval/Makefile.am.porig   |  18 ++
+ poly/Makefile.am|   2 +-
+ poly/Makefile.am.porig  |  17 ++
+ specfunc/Makefile.am|   2 +-
+ specfunc/Makefile.am.porig  |  19 ++
+ wavelet/Makefile.am |   2 +-
+ wavelet/Makefile.am.porig   |  17 ++
+ 31 files changed, 1157 insertions(+), 19 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index c522001..4513bc8 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -19,7 +19,7 @@ EXTRA_DIST = autogen.sh gsl-config.in gsl.pc.in configure.ac 
THANKS BUGS gsl.spe
+ 
+ lib_LTLIBRARIES = libgsl.la
+ libgsl_la_SOURCES = version.c
+-libgsl_la_LIBADD = $(GSL_LIBADD) $(SUBLIBS)
++libgsl_la_LIBADD = $(GSL_LIBADD) $(SUBLIBS) @CBLAS_LINK_LIBS@
+ libgsl_la_LDFLAGS = $(GSL_LDFLAGS) -version-info $(GSL_LT_VERSION)
+ noinst_HEADERS = templates_on.h templates_off.h build.h
+ 
+@@ -29,10 +29,10 @@ m4data_DATA = gsl.m4
+ bin_PROGRAMS = gsl-randist gsl-histogram
+ 
+ gsl_randist_SOURCES = gsl-randist.c
+-gsl_randist_LDADD = libgsl.la cblas/libgslcblas.la
++gsl_randist_LDADD = libgsl.la
+ 
+ gsl_histogram_SOURCES = gsl-histogram.c
+-gsl_histogram_LDADD = libgsl.la cblas/libgslcblas.la
++gsl_histogram_LDADD = libgsl.la
+ 
+ check_SCRIPTS = test_gsl_histogram.sh pkgconfig.test
+ TESTS = test_gsl_histogram.sh pkgconfig.test
+@@ -51,6 +51,8 @@ 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2016-08-04 Thread Jeroen Roovers
commit: c6434c220d942b41f7ef2dcaf72b72c1d145722c
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Aug  4 09:00:00 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Aug  4 09:00:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6434c22

sci-libs/gsl: Stable for HPPA (bug #438768).

Package-Manager: portage-2.3.0
RepoMan-Options: --ignore-arches

 sci-libs/gsl/gsl-1.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-1.16.ebuild b/sci-libs/gsl/gsl-1.16.ebuild
index d8f0ee4..7862416 100644
--- a/sci-libs/gsl/gsl-1.16.ebuild
+++ b/sci-libs/gsl/gsl-1.16.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cblas-external static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2016-07-06 Thread Agostino Sarubbo
commit: 5fadaf1ba96f94019a7edf39374ca0b7a990a069
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jul  6 09:23:08 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jul  6 09:23:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fadaf1b

sci-libs/gsl: ppc stable wrt bug #438768

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/gsl/gsl-1.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-1.16.ebuild b/sci-libs/gsl/gsl-1.16.ebuild
index e484805..d8f0ee4 100644
--- a/sci-libs/gsl/gsl-1.16.ebuild
+++ b/sci-libs/gsl/gsl-1.16.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cblas-external static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2016-06-25 Thread Agostino Sarubbo
commit: b546120ec8b6590c8e4689f8844f3aa73de978ab
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 25 20:12:37 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 25 20:13:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b546120e

sci-libs/gsl: x86 stable wrt bug #438768

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/gsl/gsl-1.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-1.16.ebuild b/sci-libs/gsl/gsl-1.16.ebuild
index 639a78e..e484805 100644
--- a/sci-libs/gsl/gsl-1.16.ebuild
+++ b/sci-libs/gsl/gsl-1.16.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cblas-external static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2016-06-12 Thread Markus Meier
commit: a08e7bd9a655ed4b2cda1b3cdf27af5d0c8a3b86
Author: Markus Meier  gentoo  org>
AuthorDate: Sun Jun 12 19:52:02 2016 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sun Jun 12 19:52:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a08e7bd9

sci-libs/gsl: arm stable, bug #438768

Package-Manager: portage-2.3.0_rc1
RepoMan-Options: --include-arches="arm"

 sci-libs/gsl/gsl-1.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-1.16.ebuild b/sci-libs/gsl/gsl-1.16.ebuild
index bb26810..639a78e 100644
--- a/sci-libs/gsl/gsl-1.16.ebuild
+++ b/sci-libs/gsl/gsl-1.16.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cblas-external static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/

2016-05-23 Thread Tobias Klausmann
commit: 21b6235b6b514ff88674ef9294182d76d3012e7f
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Mon May 23 08:24:36 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Mon May 23 08:24:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21b6235b

sci-libs/gsl-1.16-r0: add alpha keyword

Gentoo-Bug: 438768

Package-Manager: portage-2.3.0_rc1

 sci-libs/gsl/gsl-1.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/gsl/gsl-1.16.ebuild b/sci-libs/gsl/gsl-1.16.ebuild
index 976b2de..bb26810 100644
--- a/sci-libs/gsl/gsl-1.16.ebuild
+++ b/sci-libs/gsl/gsl-1.16.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris 
~x86-solaris"
 IUSE="cblas-external static-libs"
 
 RDEPEND="cblas-external? ( virtual/cblas )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/, sci-libs/gsl/files/

2016-02-12 Thread Justin Lecher
commit: 2009725ba075a7575ec01dde4cb307f0aa55ae4a
Author: Justin Lecher  gentoo  org>
AuthorDate: Fri Feb 12 08:15:38 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Fri Feb 12 09:24:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2009725b

sci-libs/gsl: Version Bump

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=574402

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 sci-libs/gsl/Manifest  |   1 +
 sci-libs/gsl/files/gsl-2.1-cblas.patch | 326 +
 sci-libs/gsl/gsl-2.1.ebuild| 109 +++
 3 files changed, 436 insertions(+)

diff --git a/sci-libs/gsl/Manifest b/sci-libs/gsl/Manifest
index ef0c40f..c1ca4bc 100644
--- a/sci-libs/gsl/Manifest
+++ b/sci-libs/gsl/Manifest
@@ -1,2 +1,3 @@
 DIST gsl-1.14.tar.gz 3128269 SHA256 
3d4a47afd9a1e7c73b97791b4180d8cc4d5f0e5db6027fe06437f1f3f957fafb SHA512 
ac8d9ba4d6e3f5d698e86130af4b4218d36b22525e966ba5d7b47d44f7ad1bef19287efa05f6ad63a81e676179bd3a0bd19461f8383e85a4d674835ff69fcc42
 WHIRLPOOL 
ddc6637b95ad5b2c3943f067f9979fc3070204a04a85e82365c8fd6aec6685a2827bea7056138139893f7bb6cc449318797d235dfe5fee525b1b519927148b0b
 DIST gsl-1.16.tar.gz 3534080 SHA256 
73bc2f51b90d2a780e6d266d43e487b3dbd78945dd0b04b14ca5980fe28d2f53 SHA512 
94e998953f30d701e1cd0a5e05d572c5cca7b6f40f0533aa85394ba4218946826408093ffe3049a0ab13d6ba87034fcec1a7d52a67d0b8860dc02b5fd4feb8eb
 WHIRLPOOL 
46bf814c882ca36600d258097642a734b6a6483302cc64c14cab55c0c056ae6116c204495b3b81c57fec1871e145fbc5aa396e52e494e9e2fcd34ec06301
+DIST gsl-2.1.tar.gz 3827265 SHA256 
59ad06837397617f698975c494fe7b2b698739a59e2fcf830b776428938a0c66 SHA512 
d63660fdfae9c9ec9f4fd1894b0af705297cefb6169973ef10faacd0b8a3d52f537508e9c07f4f9f4253138cc48e5570bb10ef303538226d7febd92e8fd184b0
 WHIRLPOOL 
60aa8ea8d19bc88ace49fcb807f63877d3bd32ff5c9bbca0db9d45b55b3929bba93756f82ce8777be852ca9b015e425540b33091a58ea7edac0d74560cbe39a5

diff --git a/sci-libs/gsl/files/gsl-2.1-cblas.patch 
b/sci-libs/gsl/files/gsl-2.1-cblas.patch
new file mode 100644
index 000..54cc880
--- /dev/null
+++ b/sci-libs/gsl/files/gsl-2.1-cblas.patch
@@ -0,0 +1,326 @@
+ Makefile.am   |  8 +++---
+ ax_cblas.m4   | 69 +++
+ bspline/Makefile.am   |  2 +-
+ configure.ac  | 10 +++
+ eigen/Makefile.am |  2 +-
+ gsl-config.in |  4 +--
+ gsl.pc.in |  2 +-
+ interpolation/Makefile.am |  2 +-
+ linalg/Makefile.am|  2 +-
+ multifit/Makefile.am  |  4 +--
+ multimin/Makefile.am  |  4 +--
+ multiroots/Makefile.am|  2 +-
+ ode-initval/Makefile.am   |  2 +-
+ poly/Makefile.am  |  2 +-
+ specfunc/Makefile.am  |  2 +-
+ wavelet/Makefile.am   |  2 +-
+ 16 files changed, 100 insertions(+), 19 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 278dcd9..a75418c 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -19,7 +19,7 @@ EXTRA_DIST = autogen.sh gsl-config.in gsl.pc.in configure.ac 
THANKS BUGS gsl.spe
+ 
+ lib_LTLIBRARIES = libgsl.la
+ libgsl_la_SOURCES = version.c
+-libgsl_la_LIBADD = $(GSL_LIBADD) $(SUBLIBS)
++libgsl_la_LIBADD = $(GSL_LIBADD) $(SUBLIBS) @CBLAS_LINK_LIBS@
+ libgsl_la_LDFLAGS = $(GSL_LDFLAGS) -version-info $(GSL_LT_VERSION)
+ noinst_HEADERS = templates_on.h templates_off.h build.h
+ 
+@@ -29,10 +29,10 @@ m4data_DATA = gsl.m4
+ bin_PROGRAMS = gsl-randist gsl-histogram
+ 
+ gsl_randist_SOURCES = gsl-randist.c
+-gsl_randist_LDADD = libgsl.la cblas/libgslcblas.la
++gsl_randist_LDADD = libgsl.la
+ 
+ gsl_histogram_SOURCES = gsl-histogram.c
+-gsl_histogram_LDADD = libgsl.la cblas/libgslcblas.la
++gsl_histogram_LDADD = libgsl.la
+ 
+ check_SCRIPTS = test_gsl_histogram.sh pkgconfig.test
+ TESTS = test_gsl_histogram.sh pkgconfig.test
+@@ -51,6 +51,8 @@ edit = $(SED) \
+   -e 's|@GSL_CFLAGS[@]|$(GSL_CFLAGS)|g' \
+   -e 's|@GSL_LIBM[@]|$(GSL_LIBM)|g' \
+   -e 's|@GSL_LIBS[@]|$(GSL_LIBS)|g' \
++  -e 's|@CBLAS_CFLAGS[@]|$(CBLAS_CFLAGS)|g' \
++  -e 's|@CBLAS_LIBS[@]|$(CBLAS_LIBS)|g' \
+   -e 's|@LIBS[@]|$(LIBS)|g' \
+   -e 's|@VERSION[@]|$(VERSION)|g'
+ 
+diff --git a/ax_cblas.m4 b/ax_cblas.m4
+new file mode 100644
+index 000..6ef143a
+--- /dev/null
 b/ax_cblas.m4
+@@ -0,0 +1,69 @@
++AC_DEFUN([AX_CBLAS],[
++
++  ext_cblas=no
++  ext_cblas_libs="-lcblas"
++  ext_cblas_cflags=""
++
++  AC_ARG_WITH(cblas-external,
++  [AS_HELP_STRING([--with-cblas-external], 
++  [Use external CBLAS library (default is no)])],
++  [with_ext_cblas=$withval],
++  [with_ext_cblas=no])
++
++  case $with_ext_cblas in
++  no) ext_cblas=no ;;
++  yes) ext_cblas=yes ;;
++  -* | */* | *.a | *.so | *.so.* | *.o) 
++ ext_cblas=yes
++ ext_cblas_libs="$with_cblas" ;;
++  *) ext_cblas=yes
++ ext_cblas_libs="-l$with_cblas" ;;
++  esac
++
++  AC_ARG_WITH(cblas-external-libs,
++  

[gentoo-commits] repo/gentoo:master commit in: sci-libs/gsl/files/, sci-libs/gsl/

2016-02-12 Thread Justin Lecher
commit: e2cb47147dcdf317ec2452ef033cb2aee8d4c47a
Author: Justin Lecher  gentoo  org>
AuthorDate: Fri Feb 12 08:18:08 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Fri Feb 12 09:24:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2cb4714

sci-libs/gsl: QA & cleanup

* add missing die
* drop additional die
* drop old patches

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 sci-libs/gsl/files/gsl-1.13-cblas-vars.patch |  11 --
 sci-libs/gsl/files/gsl-1.13-cblas.patch  | 260 
 sci-libs/gsl/files/gsl-1.15-cblas.patch  | 286 ---
 sci-libs/gsl/gsl-1.16.ebuild |  16 +-
 4 files changed, 8 insertions(+), 565 deletions(-)

diff --git a/sci-libs/gsl/files/gsl-1.13-cblas-vars.patch 
b/sci-libs/gsl/files/gsl-1.13-cblas-vars.patch
deleted file mode 100644
index 47f06ca..000
--- a/sci-libs/gsl/files/gsl-1.13-cblas-vars.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 Makefile.am.orig   2009-09-20 22:41:14.0 +0400
-+++ Makefile.am2009-09-20 22:39:10.0 +0400
-@@ -55,6 +55,8 @@
-   -e 's|@includedir[@]|$(includedir)|g' \
-   -e 's|@GSL_CFLAGS[@]|$(GSL_CFLAGS)|g' \
-   -e 's|@GSL_LIBS[@]|$(GSL_LIBS)|g' \
-+  -e 's|@CBLAS_CFLAGS[@]|$(CBLAS_CFLAGS)|g' \
-+  -e 's|@CBLAS_LIBS[@]|$(CBLAS_LIBS)|g' \
-   -e 's|@LIBS[@]|$(LIBS)|g' \
-   -e 's|@VERSION[@]|$(VERSION)|g'
- 

diff --git a/sci-libs/gsl/files/gsl-1.13-cblas.patch 
b/sci-libs/gsl/files/gsl-1.13-cblas.patch
deleted file mode 100644
index be86c3a..000
--- a/sci-libs/gsl/files/gsl-1.13-cblas.patch
+++ /dev/null
@@ -1,260 +0,0 @@
 acx_cblas.m4.orig  1970-01-01 01:00:00.0 +0100
-+++ acx_cblas.m4   2009-01-19 15:45:43.319918648 +
-@@ -0,0 +1,60 @@
-+AC_DEFUN([ACX_CBLAS],[
-+  use_cblas=no
-+  use_cblas_libs="-lcblas -lblas"
-+  use_cblas_cflags=""
-+
-+  AC_ARG_WITH(cblas,
-+  [AS_HELP_STRING([--with-cblas], [use external CBLAS library (default is 
no)])])
-+
-+  case $with_cblas in
-+  yes) use_cblas=yes ;;
-+  no | "" ) use_cblas=no ;;
-+  -* | */* | *.a | *.so | *.so.* | *.o) use_cblas_libs="$with_cblas" ;;
-+  *) use_cblas_libs="-l$with_cblas" ;;
-+  esac
-+
-+  AC_ARG_WITH(cblas-libs,
-+  [AS_HELP_STRING([--with-cblas-libs=],
-+   [external cblas libraries to link with (default is 
"$use_cblas_libs")])],
-+  [use_cblas_libs=$withval], [])
-+
-+  AC_ARG_WITH(cblas-cflags,
-+  [AS_HELP_STRING([--with-cblas-cflags=],
-+   [extra cflags to compile with external cblas ("-I")])],
-+  [use_cblas_cflags=$withval], [])
-+
-+  if test x$use_cblas != xno; then
-+  if test "x$CBLAS_LIBS" = x; then
-+  CBLAS_LIBS="$use_cblas_libs"
-+  fi
-+  if test "x$CBLAS_FLAGS" = x; then
-+  CBLAS_CFLAGS="$use_cblas_cflags"
-+  fi
-+
-+  CFLAGS_sav="$CFLAGS"
-+  CFLAGS="$CFLAGS $CBLAS_CFLAGS"
-+  AC_CHECK_HEADER(cblas.h, ,
-+  [AC_MSG_ERROR([
-+  *** Header file cblas.h not found.
-+  *** If you installed cblas header in a non standard place,
-+  *** specify its install prefix using the following option
-+  ***  --with-cblas-cflags="-I"])
-+  ])
-+  CFLAGS="$CFLAGS_sav"
-+
-+  LIBS_sav="$LIBS"
-+  LIBS="$LIBS $CBLAS_LIBS -lm"
-+  AC_MSG_CHECKING([for cblas_sgemm in $CBLAS_LIBS])
-+  AC_TRY_LINK_FUNC(cblas_sgemm, [use_cblas=yes],
-+  [AC_MSG_ERROR([
-+  *** Linking with cblas with $LIBS failed.
-+  *** If you installed cblas library in a non standard 
place,
-+  *** specify its install prefix using the following option
-+  ***  --with-cblas-libs="-L -l"])
-+  ])
-+  AC_MSG_RESULT($use_cblas)
-+  LIBS="$LIBS_sav"
-+  AC_SUBST(CBLAS_CFLAGS)
-+  AC_SUBST(CBLAS_LIBS)
-+ fi
-+])
 bspline/Makefile.am.orig   2009-06-29 13:30:17.0 +0100
-+++ bspline/Makefile.am2009-09-17 22:31:53.0 +0100
-@@ -12,6 +12,6 @@
- 
- TESTS = $(check_PROGRAMS)
- 
--test_LDADD = libgslbspline.la ../linalg/libgsllinalg.la 
../permutation/libgslpermutation.la ../blas/libgslblas.la 
../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la 
../complex/libgslcomplex.la ../cblas/libgslcblas.la 
../ieee-utils/libgslieeeutils.la  ../err/libgslerr.la ../test/libgsltest.la 
../sys/libgslsys.la ../utils/libutils.la ../statistics/libgslstatistics.la
-+test_LDADD = libgslbspline.la ../linalg/libgsllinalg.la 
../permutation/libgslpermutation.la ../blas/libgslblas.la 
../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la 
../complex/libgslcomplex.la @CBLAS_LINK_LIBS@ ../ieee-utils/libgslieeeutils.la  
../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la 
../utils/libutils.la ../statistics/libgslstatistics.la
- 
- test_SOURCES = test.c
 configure.ac.orig