From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DE81B15852A for ; Tue, 20 Aug 2024 13:27:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE265E29AA; Tue, 20 Aug 2024 13:27:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CD0A3E29AA for ; Tue, 20 Aug 2024 13:27:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4685335D6D for ; Tue, 20 Aug 2024 13:27:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0642B1EF1 for ; Tue, 20 Aug 2024 13:27:50 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1724158807.a445ab5e2664f2414175bd86b8f959f0a345f60a.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/eclib/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/eclib/Manifest sci-mathematics/eclib/eclib-20240408.ebuild X-VCS-Directories: sci-mathematics/eclib/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: a445ab5e2664f2414175bd86b8f959f0a345f60a X-VCS-Branch: master Date: Tue, 20 Aug 2024 13:27:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a3eb8a82-d9eb-4dab-a0e7-8e025925243a X-Archives-Hash: 8616c803399d72207cbd9331512564e2 commit: a445ab5e2664f2414175bd86b8f959f0a345f60a Author: François Bissey gmail com> AuthorDate: Sun Aug 18 23:54:42 2024 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Tue Aug 20 13:00:07 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a445ab5e sci-mathematics/eclib: add 20240408 Closes: https://github.com/gentoo/gentoo/pull/38195 Signed-off-by: François Bissey gmail.com> Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/eclib/Manifest | 1 + sci-mathematics/eclib/eclib-20240408.ebuild | 49 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/sci-mathematics/eclib/Manifest b/sci-mathematics/eclib/Manifest index e539bf0d9aaf..194e412a262d 100644 --- a/sci-mathematics/eclib/Manifest +++ b/sci-mathematics/eclib/Manifest @@ -1 +1,2 @@ DIST eclib-20231212.tar.bz2 926463 BLAKE2B 8105ac4014f9e44545d1d1e1cd5e18e36e467131b57a04a02d7e4f2390b0b0f78d0bac60dfbc0403a6681816a64a6e81c8d6a198f83bef991f697c2756a6d048 SHA512 692aa6bc2a52cd9496700990172b5a807abbd3f8bf8e931de14c48a401d1d383f95fa5def68bbf9a1aee08dfabac608604c0fd6f8bb49b813e6c6c909a2f27a7 +DIST eclib-20240408.tar.bz2 918771 BLAKE2B e9f4a37973b40e73a111330800fcfebae91251613902b35ff29a45bdf3e7cd8cc49b061af121eff6aaa657d28b24b20ec00b77bad468504e545b3810852a50d2 SHA512 d93c724fa5816ce45a661d50000309e148fdbd0e287fbdbbf30bd6b3c6a7225846d90f11bc4d86c4b96111cbe8429b174e7d81ea0be1eef1a8acaa43287c09cf diff --git a/sci-mathematics/eclib/eclib-20240408.ebuild b/sci-mathematics/eclib/eclib-20240408.ebuild new file mode 100644 index 000000000000..df7ada010cb3 --- /dev/null +++ b/sci-mathematics/eclib/eclib-20240408.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +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/v${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+" + +# Subslot is from the soname, (LT_CURRENT - LT_AGE) in configure.ac. +# (But for now, see src_prepare below.) +SLOT="0/12" +KEYWORDS="~amd64 ~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_prepare() { + default + # LT_CURRENT was bumped to 12 in the 20230424 release but LT_AGE was + # left at two despite an interface being removed. Subsequent releases + # have propagated the off-by-two error. This isn't strictly necessary + # but it's nice to have the soname match the subslot. + sed -e 's/LT_AGE=3/LT_AGE=1/' -i configure.ac || die + eautoreconf +} + +src_configure() { + econf \ + $(usex minimal --disable-allprogs "" "" "") \ + $(use_with boost) \ + $(use_with flint) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}