summaryrefslogtreecommitdiff
path: root/sci-libs/symengine
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /sci-libs/symengine
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'sci-libs/symengine')
-rw-r--r--sci-libs/symengine/Manifest6
-rw-r--r--sci-libs/symengine/symengine-0.3.0-r1.ebuild77
-rw-r--r--sci-libs/symengine/symengine-0.4.0.ebuild77
-rw-r--r--sci-libs/symengine/symengine-0.5.0-r1.ebuild (renamed from sci-libs/symengine/symengine-0.5.0.ebuild)6
4 files changed, 5 insertions, 161 deletions
diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index 8200a6c10c93..e31c7bf3d3d6 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1,7 +1,3 @@
-DIST symengine-0.3.0.tar.gz 629813 BLAKE2B 8d611703604f10d1ed8837708fa2125c0e84d12a8513d34e5d4bd44ae55395bcaa8fda92754b538ba1ecfdcacff83d079094dda9dfca6fdcdc4cccb0702cf484 SHA512 e4a906bb1cc5159003969871711f40b3c6bfb9e38ac25258dc5797933d55374a2f201c8a89e9af48821b24cc54408d4feb70f6de421e0a9fbf766d2b35846b83
-DIST symengine-0.4.0.tar.gz 753664 BLAKE2B c6296ceef20cfbb16803adc3c623429cf417c639d45d8cad742c3f7cf9d8171f22fb72e168cd07a6a705726a09133866fa497e2092ec4885ae4462d55adc416e SHA512 162c4bb4c67e2f21a0a113726d7b0ad00cc3e80db0534e95109a41894dcd05ca03a3be39d1a56a336b4bb7926dadad72fbe6705c71df3448db99fde20139ad11
DIST symengine-0.5.0.tar.gz 761321 BLAKE2B ddff0e756188f375e966b92e6e7796936b8b6fe1a884c036066dc09d46183f157761c9813fe27366e625b7cc070381332964a12f14617be66b0f38f536c0518d SHA512 0b94b531f71adf9129440e0664a5b5ce23453de6c8d22ed385958b38cda9bc2b356a0182a80076f47b217e9f6b5a57f059b040fddf7d69694d5bd5857b0a046b
-EBUILD symengine-0.3.0-r1.ebuild 2114 BLAKE2B 5b12dc098d75469e3cf4dd78d10e3e4b19baa62ff77aef07028bbad902783c005bdb75bba1d31ec539733b67fd4be09df9305b5c03e02181417cc6d70a43cbda SHA512 6db741c9d998210c2f2a78611554d95c4d86be3ea22ce9bc28add645ce1cc0faf1b353f73b88e0394129d0861ec0bd4517146ad509c8af7f52a1e7b23c463e9c
-EBUILD symengine-0.4.0.ebuild 2114 BLAKE2B 0f35f1f7fdf1143fc4ed33fb344e56f25bc3325e18fc3725753497433a6bda7e2092de8092e8b28e7a17d0dee9f51785af6f7019e027550a6d1e1ae17a8ad9b9 SHA512 c2fee700ff34c69a474957b63f193042d1273c35fcb5007f4c19e12e66ef9a9601ac4f09e2206adbfdc57b887496351974741c36496c9e00c9aba5485e7234dd
-EBUILD symengine-0.5.0.ebuild 2131 BLAKE2B 5d8a6d399b944ceb628a8503d67818bebd882aff04d0a92498a0bb714f3018c464f077030ef063cbbc239802d9014facd593b3569e074df17c9e3a8fbc9f7d43 SHA512 402f7cbf2a3158eded9e5264929c89d3aa0cfc3e061dc793982a37e6b9672788b80a630f0136b3bd40018ebcbf3cc0d57c13dfd716f3ef9f7677678df27b3e1f
+EBUILD symengine-0.5.0-r1.ebuild 2193 BLAKE2B 775daf836fc5fc1a0860645201ca905184383f5409e95c482b702cdc4891658f2fcd70e99ef8c5667d536598f5025616398405f0670ec69ddaf42549bef7c00d SHA512 b966d73b297cea26f9b7f1d85014f8753ec009a268844e777a8f453934e13c352803bca48d855933450529c64471da1f09b6fba1d828928187ceed2a71171b92
MISC metadata.xml 1265 BLAKE2B f91a4783ae464dee61dbca5f532bb73a217600b49633f0c80ee46f7650f27f2e37e32cd4f5e14e171e6a47eb4c612d686f883034378afb73520ed0c22862d564 SHA512 f2a634346a9f703565959b48d7648df6abb088a479819aa3f9818ae941df168dbfa3cb1867f48673fce9f24dc890d05134689d93edb0d6761f2a54f4c802037e
diff --git a/sci-libs/symengine/symengine-0.3.0-r1.ebuild b/sci-libs/symengine/symengine-0.3.0-r1.ebuild
deleted file mode 100644
index bb4276b5f7e6..000000000000
--- a/sci-libs/symengine/symengine-0.3.0-r1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils flag-o-matic toolchain-funcs
-
-DESCRIPTION="Fast symbolic manipulation library, written in C++"
-HOMEPAGE="https://github.com/sympy/symengine"
-SRC_URI="https://github.com/sympy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/0.3"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="arb benchmarks boost debug doc flint llvm mpc mpfr openmp test tcmalloc threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/gmp:=
- sys-libs/binutils-libs:=
- arb? ( sci-mathematics/arb:= )
- boost? ( dev-libs/boost:= )
- mpc? ( dev-libs/mpc:= )
- tcmalloc? ( dev-util/google-perftools )
-"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen[dot] )
-"
-
-pkg_pretend() {
- use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
-}
-
-src_prepare() {
- cmake-utils_src_prepare
- sed -e "s|DESTINATION doc| DESTINATION share/doc/${PF}/html|" \
- -e "s|/lib|/$(get_libdir)|g" \
- -e "s|lib/|$(get_libdir)/|g" \
- -e "/DESTINATION/s|lib|$(get_libdir)|g" \
- -i CMakeLists.txt symengine/CMakeLists.txt \
- symengine/utilities/teuchos/CMakeLists.txt || die
-}
-
-src_configure() {
- # not in portage yet: piranha, ecm
- local int_class
- if use arb || use flint; then
- int_class=flint
- elif use mpfr; then
- int_class=gmpxx
- elif use boost; then
- int_class=boostmp
- else
- int_class=gmp
- fi
- local mycmakeargs=(
- -DARB_INCLUDE_DIR="${EPREFIX}/usr/include"
- -DINTEGER_CLASS="${int_class}"
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_BENCHMARKS="$(usex benchmarks)"
- -DBUILD_DOXYGEN="$(usex doc)"
- -DBUILD_TESTS="$(usex test)"
- -DWITH_ARB="$(usex arb)"
- -DWITH_BFD="$(usex debug)"
- -DWITH_SYMENGINE_ASSERT="$(usex debug)"
- -DWITH_SYMENGINE_THREAD_SAFE="$(usex threads)"
- -DWITH_FLINT="$(usex flint)"
- -DWITH_OPENMP="$(usex openmp)"
- -DWITH_MPFR="$(usex mpfr)"
- -DWITH_MPC="$(usex mpc)"
- -DWITH_LLVM="$(usex llvm)"
- -DWITH_PTHREAD="$(usex threads)"
- -DWITH_TCMALLOC="$(usex tcmalloc)"
- )
- test-flag-CXX -std=c++11 && append-cxxflags -std=c++11
- CMAKE_BUILD_TYPE=Release cmake-utils_src_configure
-}
diff --git a/sci-libs/symengine/symengine-0.4.0.ebuild b/sci-libs/symengine/symengine-0.4.0.ebuild
deleted file mode 100644
index fcecc23453ea..000000000000
--- a/sci-libs/symengine/symengine-0.4.0.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils flag-o-matic toolchain-funcs
-
-DESCRIPTION="Fast symbolic manipulation library, written in C++"
-HOMEPAGE="https://github.com/sympy/symengine"
-SRC_URI="https://github.com/sympy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/0.4"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="arb benchmarks boost debug doc flint llvm mpc mpfr openmp test tcmalloc threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/gmp:=
- sys-libs/binutils-libs:=
- arb? ( sci-mathematics/arb:= )
- boost? ( dev-libs/boost:= )
- mpc? ( dev-libs/mpc:= )
- tcmalloc? ( dev-util/google-perftools )
-"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen[dot] )
-"
-
-pkg_pretend() {
- use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
-}
-
-src_prepare() {
- cmake-utils_src_prepare
- sed -e "s|DESTINATION doc| DESTINATION share/doc/${PF}/html|" \
- -e "s|/lib|/$(get_libdir)|g" \
- -e "s|lib/|$(get_libdir)/|g" \
- -e "/DESTINATION/s|lib|$(get_libdir)|g" \
- -i CMakeLists.txt symengine/CMakeLists.txt \
- symengine/utilities/teuchos/CMakeLists.txt || die
-}
-
-src_configure() {
- # not in portage yet: piranha, ecm
- local int_class
- if use arb || use flint; then
- int_class=flint
- elif use mpfr; then
- int_class=gmpxx
- elif use boost; then
- int_class=boostmp
- else
- int_class=gmp
- fi
- local mycmakeargs=(
- -DARB_INCLUDE_DIR="${EPREFIX}/usr/include"
- -DINTEGER_CLASS="${int_class}"
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_BENCHMARKS="$(usex benchmarks)"
- -DBUILD_DOXYGEN="$(usex doc)"
- -DBUILD_TESTS="$(usex test)"
- -DWITH_ARB="$(usex arb)"
- -DWITH_BFD="$(usex debug)"
- -DWITH_SYMENGINE_ASSERT="$(usex debug)"
- -DWITH_SYMENGINE_THREAD_SAFE="$(usex threads)"
- -DWITH_FLINT="$(usex flint)"
- -DWITH_OPENMP="$(usex openmp)"
- -DWITH_MPFR="$(usex mpfr)"
- -DWITH_MPC="$(usex mpc)"
- -DWITH_LLVM="$(usex llvm)"
- -DWITH_PTHREAD="$(usex threads)"
- -DWITH_TCMALLOC="$(usex tcmalloc)"
- )
- test-flag-CXX -std=c++11 && append-cxxflags -std=c++11
- CMAKE_BUILD_TYPE=Release cmake-utils_src_configure
-}
diff --git a/sci-libs/symengine/symengine-0.5.0.ebuild b/sci-libs/symengine/symengine-0.5.0-r1.ebuild
index 5949ae7acbbe..2c9b5a766fd4 100644
--- a/sci-libs/symengine/symengine-0.5.0.ebuild
+++ b/sci-libs/symengine/symengine-0.5.0-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/sympy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/0.4"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="arb benchmarks boost debug doc ecm flint llvm mpc mpfr openmp test tcmalloc threads"
RESTRICT="!test? ( test )"
@@ -22,6 +22,7 @@ RDEPEND="
arb? ( sci-mathematics/arb:= )
boost? ( dev-libs/boost:= )
ecm? ( sci-mathematics/gmp-ecm )
+ flint? ( sci-mathematics/flint:= )
mpc? ( dev-libs/mpc:= )
tcmalloc? ( dev-util/google-perftools )
"
@@ -56,7 +57,6 @@ src_configure() {
int_class=gmp
fi
local mycmakeargs=(
- -DARB_INCLUDE_DIR="${EPREFIX}/usr/include"
-DINTEGER_CLASS="${int_class}"
-DBUILD_BENCHMARKS="$(usex benchmarks)"
-DBUILD_DOXYGEN="$(usex doc)"
@@ -74,6 +74,8 @@ src_configure() {
-DWITH_TCMALLOC="$(usex tcmalloc)"
-DWITH_ECM="$(usex ecm)"
)
+ use arb && mycmakeargs+=( -DARB_INCLUDE_DIR="${EPREFIX}/usr/include" )
+
test-flag-CXX -std=c++11 && append-cxxflags -std=c++11
cmake_src_configure
}