1 |
commit: 214ae6b02cd2074173aca80a344571c52f27b5db |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 14 14:19:13 2021 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 14 14:19:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=214ae6b0 |
7 |
|
8 |
sci-mathematics/eclib: new upstream version eclib-20210503. |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
11 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
12 |
|
13 |
sci-mathematics/eclib/Manifest | 1 + |
14 |
sci-mathematics/eclib/eclib-20210503.ebuild | 35 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 36 insertions(+) |
16 |
|
17 |
diff --git a/sci-mathematics/eclib/Manifest b/sci-mathematics/eclib/Manifest |
18 |
index 176b940896e..50866b965f5 100644 |
19 |
--- a/sci-mathematics/eclib/Manifest |
20 |
+++ b/sci-mathematics/eclib/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST eclib-20190909.tar.bz2 914900 BLAKE2B df57972792f96e65b25db5a2ab1063d5a8f1ad05edbed77d9ca2632ddfb4af2cb8586e572155beec09cc0c03472300d1e6fcbdda3527c36e9106006239f50600 SHA512 df829b10c353f528f2040b55d6198e3a48eba179b9a80e71794e4c6d46ee9bb13b3eccec15c7d286ec5d8252e6ba91157c2a08ac4e2da86969a4158450a41960 |
23 |
+DIST eclib-20210503.tar.bz2 920919 BLAKE2B 5481769d6e9152d85f69a15d856701b5faf0b2d7d8c5fd0e2b6452d7be1f5de23ec2c3f60603d87e4d95f25295ef2a2f44dacf5c844c6970e96a83cd61bdfe66 SHA512 a3ee992d97c00ec5069a090d19914b9e1d00b25f5f1fff1ccd02deb1d240e4773bcfe0e00366808b7afe3a24e0aed8bb2fc4e9cb4f9f97dfc6ef70c43362bd38 |
24 |
|
25 |
diff --git a/sci-mathematics/eclib/eclib-20210503.ebuild b/sci-mathematics/eclib/eclib-20210503.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..30537d59eb4 |
28 |
--- /dev/null |
29 |
+++ b/sci-mathematics/eclib/eclib-20210503.ebuild |
30 |
@@ -0,0 +1,35 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+DESCRIPTION="Programs for elliptic curves defined over the rational numbers" |
37 |
+HOMEPAGE="https://github.com/JohnCremona/eclib" |
38 |
+SRC_URI="https://github.com/JohnCremona/${PN}/releases/download/${PV}/${P}.tar.bz2" |
39 |
+ |
40 |
+LICENSE="GPL-2" |
41 |
+ |
42 |
+# Major version of /usr/lib64/libec.so |
43 |
+SLOT="0/7" |
44 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
45 |
+IUSE="boost flint minimal static-libs test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+RDEPEND="sci-mathematics/pari:= |
49 |
+ dev-libs/ntl:= |
50 |
+ boost? ( dev-libs/boost:= ) |
51 |
+ flint? ( sci-mathematics/flint:= )" |
52 |
+DEPEND="${RDEPEND}" |
53 |
+ |
54 |
+src_configure() { |
55 |
+ econf \ |
56 |
+ $(usex minimal --disable-allprogs "" "" "") \ |
57 |
+ $(use_with boost) \ |
58 |
+ $(use_with flint) \ |
59 |
+ $(use_enable static-libs static) |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ default |
64 |
+ find "${ED}" -name '*.la' -delete || die |
65 |
+} |