sci-mathematics/lcalc: add 2.1.0

Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Michael Orlitzky
2025-01-10 10:25:51 -05:00
parent 63fff38350
commit 47e42639cd
2 changed files with 37 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST lcalc-2.0.5.tar.xz 830360 BLAKE2B 4a282de8548bc0b3d95fe079362ea98dd1397a1f0f7c4c61c6d2df8c5f95b9638aa628a25b138e6037520c69e56bfab635872115139caf3270d473e01276b980 SHA512 d3b7fa25dd3c2a8f88671076dfb5ab5e933be7feff24bbd160c92a476953f5553f9fb58f72c36b9c668929385084918fc3396e1a0bcc55de12ea8cb647c53929
DIST lcalc-2.1.0.tar.xz 831000 BLAKE2B 2b48fbf488a95f96a8a33b778b5094da4a566e6c4d0b0dddbaad2fb1a33d70e34aed7dbb3b517dbb37622fd7978630ed50c0b342d1d5135588c565640a3dea05 SHA512 31f31f6877c47756bc5b6e91da3ecdbeec9131f7c99d046b7e186f743b0726dc1f257fa107e86e6ececabacbd16a61329aa058196f0e83ef7df517588ec7ff28

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Command-line utility and library for L-function computations"
HOMEPAGE="https://gitlab.com/sagemath/lcalc"
SRC_URI="https://gitlab.com/-/project/12934202/uploads/679cb360a06a713233876cd6fa0ba2fa/${P}.tar.xz"
LICENSE="GPL-2+"
# The subslot is the libLfunction soname major version
SLOT="0/2"
KEYWORDS="~amd64 ~riscv"
# Omit USE=mpfr for now because it's broken upstream:
#
# https://gitlab.com/sagemath/lcalc/-/issues/7
#
IUSE="+double double-double quad-double pari"
REQUIRED_USE="^^ ( double double-double quad-double )"
BDEPEND="dev-util/gengetopt"
DEPEND="double-double? ( sci-libs/qd:= )
quad-double? ( sci-libs/qd:= )
pari? ( sci-mathematics/pari:= )"
RDEPEND="${DEPEND}"
src_configure() {
econf $(use_with pari) \
--enable-precision="$(usev double)$(usev double-double)$(usev quad-double)"
}
src_install() {
default
find "${ED}" -type f -name '*.la' -delete || die
}