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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7BB06138334 for ; Mon, 30 Dec 2019 14:36:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77F17E0B4C; Mon, 30 Dec 2019 14:36:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F00BE0B4C for ; Mon, 30 Dec 2019 14:36:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C863034DD59 for ; Mon, 30 Dec 2019 14:35:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 57D3A3D for ; Mon, 30 Dec 2019 14:35:56 +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: <1577716439.1a3933ff7eed77e5b91f3dc47cc1164316d09984.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-20190909.ebuild sci-mathematics/eclib/metadata.xml X-VCS-Directories: sci-mathematics/eclib/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 1a3933ff7eed77e5b91f3dc47cc1164316d09984 X-VCS-Branch: master Date: Mon, 30 Dec 2019 14:35:56 +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: 315df96e-e563-4ae0-a70c-a00eee4b0b25 X-Archives-Hash: 1b7e3f747e2ab67f109e53b6dea9c2f3 commit: 1a3933ff7eed77e5b91f3dc47cc1164316d09984 Author: Michael Orlitzky gentoo org> AuthorDate: Mon Dec 30 14:09:52 2019 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Mon Dec 30 14:33:59 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a3933ff sci-mathematics/eclib: new package for rational elliptic curves. This commit imports eclib-20190909 from the sage-on-gentoo overlay where François Bissey has been maintaining it for use with SageMath. I've made a few changes on top of the overlay version: * Enabled the test suite (it passes for me). * Put the "--disable-allprogs" configure flag behind USE=minimal. * Put the "--with-boost" configure flag behind USE=boost. * Inlined the SRC_URI which was using a custom thirdpartymirror. * Dropped obsolete autotools.eclass and RESTRICT=mirror. The SageMath build system can detect eclib on the system now, so having this package installed will save users time when rebuilding SageMath. Closes: https://bugs.gentoo.org/704096 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/eclib/Manifest | 1 + sci-mathematics/eclib/eclib-20190909.ebuild | 37 +++++++++++++++++++++++++++ sci-mathematics/eclib/metadata.xml | 39 +++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+) diff --git a/sci-mathematics/eclib/Manifest b/sci-mathematics/eclib/Manifest new file mode 100644 index 00000000000..176b940896e --- /dev/null +++ b/sci-mathematics/eclib/Manifest @@ -0,0 +1 @@ +DIST eclib-20190909.tar.bz2 914900 BLAKE2B df57972792f96e65b25db5a2ab1063d5a8f1ad05edbed77d9ca2632ddfb4af2cb8586e572155beec09cc0c03472300d1e6fcbdda3527c36e9106006239f50600 SHA512 df829b10c353f528f2040b55d6198e3a48eba179b9a80e71794e4c6d46ee9bb13b3eccec15c7d286ec5d8252e6ba91157c2a08ac4e2da86969a4158450a41960 diff --git a/sci-mathematics/eclib/eclib-20190909.ebuild b/sci-mathematics/eclib/eclib-20190909.ebuild new file mode 100644 index 00000000000..e30f083b999 --- /dev/null +++ b/sci-mathematics/eclib/eclib-20190909.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Programs for elliptic curves defined over the rational numbers" +HOMEPAGE="https://www.warwick.ac.uk/~masgaj/mwrank/index.html" + +# We use the SageMath tarball instead of the one from github because +# the github releases don't contain the "make dist" stuff and we would +# need autotools.eclass to generate it. +SRC_URI="http://files.sagemath.org/spkg/upstream/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0/6" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="boost flint minimal static-libs 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) \ + $(use_enable static-libs static) +} + +src_install(){ + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/sci-mathematics/eclib/metadata.xml b/sci-mathematics/eclib/metadata.xml new file mode 100644 index 00000000000..9561ac3f61e --- /dev/null +++ b/sci-mathematics/eclib/metadata.xml @@ -0,0 +1,39 @@ + + + + + mjo@gentoo.org + + + + frp.bissey@gmail.com + François Bissey + + + proxy-maint@gentoo.org + Proxy Maintainers + + + + + Add parallel capabilities using dev-libs/boost. + + + + Enable the use of sci-mathematics/flint for certain + operations. + + + + Build only the "mwrank" program. + + + + + JohnCremona/eclib + +