commit: 06260c6893afb888d06f975c836820793cd1fd9b Author: Dima Pasechnik <dima <AT> pasechnik <DOT> info> AuthorDate: Wed Jul 30 05:10:35 2025 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Thu Jul 31 01:17:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06260c68
sci-mathematics/eclib: bump to version 20250627 This is needed to allow building with gcc-15 Closes: https://github.com/gentoo/gentoo/pull/43242 Signed-off-by: Dima Pasechnik <dima <AT> pasechnik.info> Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> sci-mathematics/eclib/Manifest | 1 + sci-mathematics/eclib/eclib-20250627.ebuild | 35 +++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/sci-mathematics/eclib/Manifest b/sci-mathematics/eclib/Manifest index 73d12a00369b..954f7f342659 100644 --- a/sci-mathematics/eclib/Manifest +++ b/sci-mathematics/eclib/Manifest @@ -1 +1,2 @@ DIST eclib-20250122.tar.bz2 956727 BLAKE2B b3a8c2458a7379d3763865e0adbb8bc13b2a19aeb239179a1e7788b16c7c5a6db68e862c3bf40b1f047af225c324d2a8a277274edaaaa52773b941fe608acf50 SHA512 f5112c131298be44b3aeef516b629c4be405233992f4dc4207107bb4da798c5c727affe60ef691378574294c7ac1efe477ffdd93a9a0cdd253d14803ef3762f2 +DIST eclib-20250627.tar.bz2 973590 BLAKE2B 46e8f7811ecdb78a62198ba14b7468da1a6f7fffbdeb223686ca0873981f55cf87dc79afaa640ec2ac3e2ff44169227597eb0ec4f9bf6b4912b47a649afa2795 SHA512 59af65317f579f067e11a8b526e593ac43bde8899b09e0e69e94f766e0c10a96528cc5dd618e32ba043d12ba17b2ca9e2ed2a64997c2571e037cb34f4d22c1d4 diff --git a/sci-mathematics/eclib/eclib-20250627.ebuild b/sci-mathematics/eclib/eclib-20250627.ebuild new file mode 100644 index 000000000000..e4401e9eab5c --- /dev/null +++ b/sci-mathematics/eclib/eclib-20250627.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Programs for elliptic curves defined over the rational numbers" +HOMEPAGE="https://github.com/JohnCremona/eclib" +SRC_URI="https://github.com/JohnCremona/${PN}/releases/download/${PV}/${P}.tar.bz2" + +# COPYING is GPL-2 but the file headers say "or ... any later version" +# LGPL-2.1+ is for bundled GetOpt.cc +LICENSE="GPL-2+ LGPL-2.1+" + +SLOT="0/14" +KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="boost flint minimal test" +RESTRICT="!test? ( test )" + +RDEPEND="sci-mathematics/pari:= + dev-libs/ntl:= + boost? ( dev-libs/boost:= ) + flint? ( sci-mathematics/flint:= )" +DEPEND="${RDEPEND}" + +src_configure() { + econf \ + $(usex minimal --disable-allprogs "" "" "") \ + $(use_with boost) \ + $(use_with flint) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}
