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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 32EFD158649 for ; Tue, 9 May 2023 17:45:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36845E07AE; Tue, 9 May 2023 17:45:48 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15D19E07AE for ; Tue, 9 May 2023 17:45:48 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A3DA1335DB1 for ; Tue, 9 May 2023 17:45:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1ECB990 for ; Tue, 9 May 2023 17:45:44 +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: <1683652462.33ca4fe8799bed7fe7f32909a84363095dff0820.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-20230424.ebuild X-VCS-Directories: sci-mathematics/eclib/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 33ca4fe8799bed7fe7f32909a84363095dff0820 X-VCS-Branch: master Date: Tue, 9 May 2023 17:45:44 +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: f51b8006-46dc-4001-a637-b4c2c05cb353 X-Archives-Hash: 99cb2d49d0abc0c0f33c8bb43b77854b commit: 33ca4fe8799bed7fe7f32909a84363095dff0820 Author: François Bissey gmail com> AuthorDate: Sun May 7 09:15:03 2023 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Tue May 9 17:14:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33ca4fe8 sci-mathematics/eclib: add 20230424 New version by François in which I've bumped the soname/subslot. The latest version has a backwards-incompatible change, but the "age" component of the library version wasn't reset. The ebuild does that now. Closes: https://github.com/gentoo/gentoo/pull/30912 Signed-off-by: François Bissey gmail.com> Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/eclib/Manifest | 1 + sci-mathematics/eclib/eclib-20230424.ebuild | 45 +++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/sci-mathematics/eclib/Manifest b/sci-mathematics/eclib/Manifest index 47b26f363aac..9c0319db55ba 100644 --- a/sci-mathematics/eclib/Manifest +++ b/sci-mathematics/eclib/Manifest @@ -1 +1,2 @@ DIST eclib-20221012.tar.bz2 922112 BLAKE2B 2a6e5dccdef7c3c3b8bb1a121706bbfbcaafa9fb50882e4e88f8fa826c3b1bcbec11dc55462cbd51da3ab263991ae357b151ff3bdbf453abfc30e82d2abdeac8 SHA512 9d04aefe9e35fbc1b18dd92b5ba872cf71f5ce1c94c9a0f1ff326c763bf144112d7d950ac80e2bd8d3780a303edeeac903754b4eb5fb241e87be7ef3f2738c19 +DIST eclib-20230424.tar.bz2 923074 BLAKE2B 00c314e54ff2ce37f3aa83b757c0f880aef563093ab33db5241dfeb1e78cfd21be4f6a5097965697d5b87aa1987da17bd47007a599717ebf39456717efa6ad2c SHA512 4c248c48fa563e53b9354f3822c4e95308320a809f2dcc3e116cba8a6f903b333e27b527da9a10dc8252052201c4fcf50d9747a75cf8438a98b9d3828eb3d9d9 diff --git a/sci-mathematics/eclib/eclib-20230424.ebuild b/sci-mathematics/eclib/eclib-20230424.ebuild new file mode 100644 index 000000000000..b6530c437e9e --- /dev/null +++ b/sci-mathematics/eclib/eclib-20230424.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 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" + +LICENSE="GPL-2" + +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 this release but LT_AGE was left at + # two despite an interface being removed. Here we fix it so that the + # soname is correctly updated (and matches the expected subslot + # again). + sed -e 's/LT_AGE=2/LT_AGE=0/' -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 +}