public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/eclib/
Date: Tue,  9 May 2023 17:45:44 +0000 (UTC)	[thread overview]
Message-ID: <1683652462.33ca4fe8799bed7fe7f32909a84363095dff0820.mjo@gentoo> (raw)

commit:     33ca4fe8799bed7fe7f32909a84363095dff0820
Author:     François Bissey <frp.bissey <AT> gmail <DOT> com>
AuthorDate: Sun May  7 09:15:03 2023 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> 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 <frp.bissey <AT> gmail.com>
Signed-off-by: Michael Orlitzky <mjo <AT> 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
+}


             reply	other threads:[~2023-05-09 17:45 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-09 17:45 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-20 14:13 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/eclib/ Michael Orlitzky
2024-08-20 13:27 Michael Orlitzky
2024-02-09  0:18 Michael Orlitzky
2024-02-09  0:18 Michael Orlitzky
2024-01-07  1:39 Michael Orlitzky
2023-11-22 22:23 Michael Orlitzky
2023-07-16 11:43 Michael Orlitzky
2023-07-16  5:25 Sam James
2023-02-09 14:01 Michael Orlitzky
2023-02-07 20:18 Sam James
2023-02-07 20:18 Sam James
2022-12-21 12:32 Michael Orlitzky
2022-10-20 22:01 Michael Orlitzky
2022-08-15  7:46 Agostino Sarubbo
2022-08-13  6:58 Agostino Sarubbo
2022-07-02 12:56 Michael Orlitzky
2021-11-03 12:44 Michael Orlitzky
2021-11-03 10:08 Agostino Sarubbo
2021-11-03 10:06 Agostino Sarubbo
2021-07-01 19:30 Michael Orlitzky
2021-07-01 19:30 Michael Orlitzky
2021-05-14 14:21 Michael Orlitzky
2020-07-23  7:03 Kent Fredric
2019-12-30 14:35 Michael Orlitzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1683652462.33ca4fe8799bed7fe7f32909a84363095dff0820.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox