From 8c3c4a208704296e233e89d61a251edb38112dd9 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 27 Jun 2024 08:12:06 -0400 Subject: sci-libs/symengine: add 0.12.0 This version uses flint-3.x, which includes the package formerly known as sci-mathematics/arb. As a result we can drop the arb dependency; and when this version is stable, we can mask sci-mathematics/arb. Upstream still offers -DWITH_ARB, but plan to remove it soon, https://github.com/symengine/symengine/issues/2014 so I have removed it from the ebuild ahead of time. The use of arb is now goverened by USE=flint. Signed-off-by: Michael Orlitzky --- sci-libs/symengine/Manifest | 1 + sci-libs/symengine/symengine-0.12.0.ebuild | 99 ++++++++++++++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 sci-libs/symengine/symengine-0.12.0.ebuild (limited to 'sci-libs') diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest index b5add05ebc62..94cdf67fc5f3 100644 --- a/sci-libs/symengine/Manifest +++ b/sci-libs/symengine/Manifest @@ -1 +1,2 @@ DIST symengine-0.11.1.tar.gz 898181 BLAKE2B ef14e09ceb7e9783711ca7f9f06a59362c40222e7f85de5545be834ecd79bbf41fcd34141bb3a63c106ee45067dd0b957377f937097183ffd5b93c6943976571 SHA512 076aac35428589c5b3524a46bd939a3a3a7da44b1c866b5f71487678b27b6e48b4da034029f1630881d7713a9252e905411a04b8016c9ec56a608b6de23365ac +DIST symengine-0.12.0.tar.gz 898768 BLAKE2B 81bca3f59e864d2e37598a058cb4db97b1f9c8536ee841c10df6f01c6322fa744281ecdeb338e5bf33bf599ead66adcaaa724650535df9b3d4bd7f07e22a3ad2 SHA512 fbc73a75299c19155a09f1854888a5050150aaad5bc3df683d43e8036af8005f8152a36ae79029e00bc8422c3edd7252baaf3a0da6a21d1d754d80a44c5c68bf diff --git a/sci-libs/symengine/symengine-0.12.0.ebuild b/sci-libs/symengine/symengine-0.12.0.ebuild new file mode 100644 index 000000000000..8511224ebba8 --- /dev/null +++ b/sci-libs/symengine/symengine-0.12.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_MAX_SLOT=18 +inherit cmake llvm toolchain-funcs + +DESCRIPTION="Fast symbolic manipulation library, written in C++" +HOMEPAGE="https://github.com/symengine/symengine" +SRC_URI="https://github.com/symengine/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +# BUILD_FOR_DISTRIBUTION enables threads by default so do it here +IUSE="benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test tcmalloc +threads" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/gmp:= + sys-libs/binutils-libs:= + boost? ( dev-libs/boost:= ) + ecm? ( sci-mathematics/gmp-ecm ) + flint? ( sci-mathematics/flint:= ) + mpc? ( dev-libs/mpc:= ) + mpfr? ( dev-libs/mpfr:= ) + llvm? (