Gentoo Archives: gentoo-commits

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