1 |
commit: f987abf4a3928e6b49f13401a17b429eeea09da9 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 2 05:24:31 2019 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 2 05:24:31 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f987abf4 |
7 |
|
8 |
sci-mathematics/arb: bump to 2.16.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.13 |
11 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
12 |
|
13 |
sci-mathematics/arb/Manifest | 1 + |
14 |
sci-mathematics/arb/arb-2.16.0.ebuild | 56 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 57 insertions(+) |
16 |
|
17 |
diff --git a/sci-mathematics/arb/Manifest b/sci-mathematics/arb/Manifest |
18 |
index bf918a7f9de..a8ef8a032e9 100644 |
19 |
--- a/sci-mathematics/arb/Manifest |
20 |
+++ b/sci-mathematics/arb/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST arb-2.11.1.tar.gz 1248835 BLAKE2B 8ba11f3a92103231c4710c0158ce0811b2a01872e1ec7b7a4a4320d27ab86688aa8733df6dd2464aa55c0a506a8a595e4c370848c78b5c3a650e647f0c6d7411 SHA512 7a014da5208b55f20c7a3cd3eb51070b09ae107b04cbbd6329925780c2ab4d7c38e1fb3619f21456fa806939818370fcae921f59eb013661b6bdd3d0971e3353 |
23 |
+DIST arb-2.16.0.tar.gz 1526059 BLAKE2B 14f4a9b23fa6fc46659b742cc95b4970cee74cf52bda8bc696831b0a5c1f946f41f1c2bba180ad1199c55d741366b3376aeed0efbf6ee087b26f6de788519739 SHA512 171c965aeb03cd2830df8a53990403c6da480a94d44385dadfbb2d02697f7c03e8b9a217094b0ad93f796d889a1564f4b9ae9db35ef9de90f61bb2e3220911be |
24 |
|
25 |
diff --git a/sci-mathematics/arb/arb-2.16.0.ebuild b/sci-mathematics/arb/arb-2.16.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..72f39195885 |
28 |
--- /dev/null |
29 |
+++ b/sci-mathematics/arb/arb-2.16.0.ebuild |
30 |
@@ -0,0 +1,56 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit eutils toolchain-funcs |
37 |
+ |
38 |
+DESCRIPTION="C library for arbitrary-precision interval arithmetic" |
39 |
+HOMEPAGE="http://fredrikj.net/arb/" |
40 |
+SRC_URI="https://github.com/fredrik-johansson/arb/archive/${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2+" |
43 |
+SLOT="0/2" |
44 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-macos" |
45 |
+IUSE="static-libs" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ dev-libs/gmp:0= |
49 |
+ dev-libs/mpfr:0= |
50 |
+ >=sci-mathematics/flint-2.5.0:= |
51 |
+" |
52 |
+DEPEND="${RDEPEND}" |
53 |
+ |
54 |
+src_configure() { |
55 |
+ # Not an autoconf configure script. |
56 |
+ # Note that it appears to have been cloned from the flint configure script |
57 |
+ # and that not all the options offered are valid. |
58 |
+ tc-export CC AR CXX |
59 |
+ ./configure \ |
60 |
+ --prefix="${EPREFIX}/usr" \ |
61 |
+ --with-flint="${EPREFIX}/usr" \ |
62 |
+ --with-gmp="${EPREFIX}/usr" \ |
63 |
+ --with-mpfr="${EPREFIX}/usr" \ |
64 |
+ $(use_enable static-libs static) \ |
65 |
+ CFLAGS="${CPPFLAGS} ${CFLAGS}" || die |
66 |
+} |
67 |
+ |
68 |
+src_compile() { |
69 |
+ emake verbose |
70 |
+} |
71 |
+ |
72 |
+src_test() { |
73 |
+ # Have to set the library path otherwise a previous install of libarb may be loaded. |
74 |
+ # This is in part a consequence of setting the soname/installnae I think. |
75 |
+ if [[ ${CHOST} == *-darwin* ]] ; then |
76 |
+ DYLD_LIBRARY_PATH="${S}" emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check |
77 |
+ else |
78 |
+ LD_LIBRARY_PATH="${S}" emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check |
79 |
+ fi |
80 |
+} |
81 |
+ |
82 |
+src_install() { |
83 |
+ emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install |
84 |
+ use static-libs || prune_libtool_files --all |
85 |
+ dodoc README.md |
86 |
+} |