1 |
commit: d1bd5a544b917ad2ff1d1a6b5e9c4b4173128b0d |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 26 00:53:10 2021 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 26 00:53:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1bd5a54 |
7 |
|
8 |
sci-mathematics/lcalc: new upstream version 2.0.4. |
9 |
|
10 |
Better upstream support for clang/libc++. |
11 |
|
12 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
13 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
14 |
|
15 |
sci-mathematics/lcalc/Manifest | 1 + |
16 |
sci-mathematics/lcalc/lcalc-2.0.4.ebuild | 31 +++++++++++++++++++++++++++++++ |
17 |
2 files changed, 32 insertions(+) |
18 |
|
19 |
diff --git a/sci-mathematics/lcalc/Manifest b/sci-mathematics/lcalc/Manifest |
20 |
index 7b3b0435da9e..e39c6f601a36 100644 |
21 |
--- a/sci-mathematics/lcalc/Manifest |
22 |
+++ b/sci-mathematics/lcalc/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST lcalc-2.0.3.tar.xz 825904 BLAKE2B c2daab62de1d5bfb024a8246a965d850480cf313efe4f0ddb7561c28d2cae2aa231fea5c07e073d21e04cfcf2b558f931472825f9100e6ab4585ac87d80b4d3a SHA512 33d7cff04d88b62775a69b5b38eea41c24bdb88592d5185fbf9c13ea0c62a7c07c041f7f4e5c06415a3983b0ba369f3c9766a556090a6282e1cd7003ad25ba46 |
25 |
+DIST lcalc-2.0.4.tar.xz 832620 BLAKE2B b37d9ebf2d1df88b04fba6c9834ebc977ed483ad399cdaccf5347e4aee2295e26615a0331f6386209fe87424a8444f198a9ec1173d88e741dd6f2b9246ae287c SHA512 760634a66184f4777b8849859322c4b31f4bdd9d6644a44a2129e47e2f691424b126953353273f7a57dba7236cffe4f35504bb9d03fdd152f74c7d1a48dc712c |
26 |
|
27 |
diff --git a/sci-mathematics/lcalc/lcalc-2.0.4.ebuild b/sci-mathematics/lcalc/lcalc-2.0.4.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..26818c40aafb |
30 |
--- /dev/null |
31 |
+++ b/sci-mathematics/lcalc/lcalc-2.0.4.ebuild |
32 |
@@ -0,0 +1,31 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+DESCRIPTION="Command-line utility and library for L-function computations" |
39 |
+HOMEPAGE="https://gitlab.com/sagemath/lcalc" |
40 |
+SRC_URI="https://gitlab.com/sagemath/lcalc/uploads/4d84022aa5285414eb547121b783601a/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="GPL-2+" |
43 |
+# The subslot is the libLfunction soname major version |
44 |
+SLOT="0/1" |
45 |
+KEYWORDS="~amd64" |
46 |
+ |
47 |
+# Omit USE=mpfr for now because it's broken upstream: |
48 |
+# |
49 |
+# https://gitlab.com/sagemath/lcalc/-/issues/7 |
50 |
+# |
51 |
+IUSE="+double double-double quad-double pari" |
52 |
+REQUIRED_USE="^^ ( double double-double quad-double )" |
53 |
+ |
54 |
+BDEPEND="dev-util/gengetopt" |
55 |
+DEPEND="double-double? ( sci-libs/qd:= ) |
56 |
+ quad-double? ( sci-libs/qd:= ) |
57 |
+ pari? ( sci-mathematics/pari:= )" |
58 |
+REPEND="${DEPEND}" |
59 |
+ |
60 |
+src_configure() { |
61 |
+ econf $(use_with pari) \ |
62 |
+ --enable-precision="$(usev double)$(usev double-double)$(usev quad-double)" |
63 |
+} |