[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/, sci-libs/symengine/files/

2023-12-24 Thread Michał Górny
commit: b9383d127d02605200977c760165bfb04552dbf5
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Dec 25 07:00:16 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 25 07:06:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9383d12

sci-libs/symengine: Backportfix flint-3 build fix

Closes: https://bugs.gentoo.org/920645
Signed-off-by: Michał Górny  gentoo.org>

 .../symengine/files/symengine-0.11.1-flint-3.patch | 41 ++
 sci-libs/symengine/symengine-0.11.1.ebuild |  2 ++
 2 files changed, 43 insertions(+)

diff --git a/sci-libs/symengine/files/symengine-0.11.1-flint-3.patch 
b/sci-libs/symengine/files/symengine-0.11.1-flint-3.patch
new file mode 100644
index ..662a4bc1bdc1
--- /dev/null
+++ b/sci-libs/symengine/files/symengine-0.11.1-flint-3.patch
@@ -0,0 +1,41 @@
+From 1ef98559d75b4fa5b87dad2daff0d12e7857ac8d Mon Sep 17 00:00:00 2001
+From: Isuru Fernando 
+Date: Mon, 30 Oct 2023 20:25:05 -0500
+Subject: [PATCH] Fix flint headers and replace use of deprecated funcs in
+ flint2/3
+
+---
+ symengine/flint_wrapper.h | 8 ++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/symengine/flint_wrapper.h b/symengine/flint_wrapper.h
+index 21cfcef056..ade419088f 100644
+--- a/symengine/flint_wrapper.h
 b/symengine/flint_wrapper.h
+@@ -6,6 +6,8 @@
+ 
+ #include 
+ #include 
++#include 
++#include 
+ #include 
+ 
+ namespace SymEngine
+@@ -710,13 +712,15 @@ class fmpq_poly_wrapper
+ }
+ fmpq_poly_wrapper(const mpz_t z)
+ {
++fmpz_wrapper fz(z);
+ fmpq_poly_init(poly);
+-fmpq_poly_set_mpz(poly, z);
++fmpq_poly_set_fmpz(poly, fz.get_fmpz_t());
+ }
+ fmpq_poly_wrapper(const mpq_t q)
+ {
++fmpq_wrapper fq(q);
+ fmpq_poly_init(poly);
+-fmpq_poly_set_mpq(poly, q);
++fmpq_poly_set_fmpq(poly, fq.get_fmpq_t());
+ }
+ fmpq_poly_wrapper(const fmpq_wrapper )
+ {

diff --git a/sci-libs/symengine/symengine-0.11.1.ebuild 
b/sci-libs/symengine/symengine-0.11.1.ebuild
index eb06f3cc27bf..63bf4d2833ef 100644
--- a/sci-libs/symengine/symengine-0.11.1.ebuild
+++ b/sci-libs/symengine/symengine-0.11.1.ebuild
@@ -38,6 +38,8 @@ BDEPEND="doc? ( app-doc/doxygen[dot] )"
 PATCHES=(
"${FILESDIR}"/${PN}-0.7.0-cmake-build-type.patch
"${FILESDIR}"/${PN}-0.8.1-fix_llvm.patch
+   # https://github.com/symengine/symengine/pull/1985
+   "${FILESDIR}"/${PN}-0.11.1-flint-3.patch
 )
 
 pkg_pretend() {



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/files/, sci-libs/symengine/

2023-12-22 Thread Michał Górny
commit: e675ae12003e17698880d20cd159c7d515f54a4c
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 22 16:22:21 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 22 16:43:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e675ae12

sci-libs/symengine: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sci-libs/symengine/Manifest|   2 -
 .../files/symengine-0.9.0-pthread-cmake.patch  |  63 -
 sci-libs/symengine/symengine-0.10.1.ebuild | 103 -
 sci-libs/symengine/symengine-0.9.0-r3.ebuild   |  99 
 4 files changed, 267 deletions(-)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index cf6f7942c9bd..b5add05ebc62 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1,3 +1 @@
-DIST symengine-0.10.1.tar.gz 898206 BLAKE2B 
88182a7facaf0d9ac90de8acaf549a3fd3cb65f0ae12e0ba3d9a1ae477d193b312cebfca99e626815789d8746822f0d1e256db6836a1ce265f65951880f486f3
 SHA512 
e73f62a87d20b676cac66ce82ac93308b688ed2ac18ebdb6884bae1ae66868e1033e33908e797f86a1906f91b975e8607a02e8932db8550a677f6b41373b7934
 DIST symengine-0.11.1.tar.gz 898181 BLAKE2B 
ef14e09ceb7e9783711ca7f9f06a59362c40222e7f85de5545be834ecd79bbf41fcd34141bb3a63c106ee45067dd0b957377f937097183ffd5b93c6943976571
 SHA512 
076aac35428589c5b3524a46bd939a3a3a7da44b1c866b5f71487678b27b6e48b4da034029f1630881d7713a9252e905411a04b8016c9ec56a608b6de23365ac
-DIST symengine-0.9.0.tar.gz 878574 BLAKE2B 
32c37ca6575b3f7e37184c80c2df74ebf7bb7846537e951be6c888994b8dc049c1ed2a6f51da1c1cfb038e0a47393b18acff60cfef665c5a5e714beb9b0ecb12
 SHA512 
dceca49ddb6e2ac7c4f8ecb73ce19824cbaa3eff41ad0f50008e403498121184b4e9dc660628dbd8e4db979f8c16b83a709a40540f7834954ab01f9854e12caa

diff --git a/sci-libs/symengine/files/symengine-0.9.0-pthread-cmake.patch 
b/sci-libs/symengine/files/symengine-0.9.0-pthread-cmake.patch
deleted file mode 100644
index 0fa049dbf218..
--- a/sci-libs/symengine/files/symengine-0.9.0-pthread-cmake.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 6ad9620ffc578abdb920b84ea5e393c726389ac0 Mon Sep 17 00:00:00 2001
-From: Sam James 
-Date: Wed, 8 Jun 2022 06:02:25 +0100
-Subject: [PATCH] cmake: fix pthread detection
-
-The homebrew FindPTHREAD.cmake module was hardcoding the path to libpthread
-in the installed CMake config file which broke consumers when upgrading from
-< glibc-2.34 (e.g. glibc-2.33 -> glibc-2.34).
-
-CMake provides FindThreads which does the job fine for us. Tested with both
-glibc-2.33 (with a previously bad generated file, and then fixed) and 
glibc-2.35.
-
-This should be fine on musl and friends too. This brings symengine in line
-with most CMake packages.
-
-Bug: https://bugs.gentoo.org/849803
-Fixes: https://github.com/symengine/symengine/issues/1910
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -335,11 +335,10 @@ if (WITH_PIRANHA)
- endif()
- 
- if (WITH_PTHREAD)
--find_package(PTHREAD REQUIRED)
--include_directories(SYSTEM ${PTHREAD_INCLUDE_DIRS})
--set(LIBS ${LIBS} ${PTHREAD_TARGETS})
-+find_package(Threads)
-+set(THREADS_PREFER_PTHREAD_FLAG ON)
-+set(LIBS ${LIBS} ${CMAKE_THREAD_LIBS_INIT})
- set(HAVE_SYMENGINE_PTHREAD yes)
--set(PKGS ${PKGS} "PTHREAD")
- endif()
- 
- if (WITH_MPFR)
-@@ -761,10 +760,6 @@ if (WITH_BOOST)
- endif()
- 
- message("WITH_PTHREAD: ${WITH_PTHREAD}")
--if (WITH_PTHREAD)
--message("PTHREAD_INCLUDE_DIRS: ${PTHREAD_INCLUDE_DIRS}")
--message("PTHREAD_LIBRARIES: ${PTHREAD_LIBRARIES}")
--endif()
- 
- message("WITH_MPC: ${WITH_MPC}")
- if (WITH_MPC)
 a/cmake/FindPTHREAD.cmake
-+++ /dev/null
-@@ -1,14 +0,0 @@
--include(LibFindMacros)
--
--libfind_include(pthread.h pthread)
--libfind_library(pthread pthread)
--
--set(PTHREAD_LIBRARIES ${PTHREAD_LIBRARY})
--set(PTHREAD_INCLUDE_DIRS ${PTHREAD_INCLUDE_DIR})
--set(PTHREAD_TARGETS pthread)
--
--include(FindPackageHandleStandardArgs)
--find_package_handle_standard_args(PTHREAD DEFAULT_MSG PTHREAD_LIBRARIES
--PTHREAD_INCLUDE_DIRS)
--
--mark_as_advanced(PTHREAD_INCLUDE_DIR PTHEARD_LIBRARY)
-

diff --git a/sci-libs/symengine/symengine-0.10.1.ebuild 
b/sci-libs/symengine/symengine-0.10.1.ebuild
deleted file mode 100644
index eb06f3cc27bf..
--- a/sci-libs/symengine/symengine-0.10.1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_MAX_SLOT=16
-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="arb benchmarks boost debug doc ecm +flint llvm 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2023-11-29 Thread Arthur Zamarin
commit: ee082d30004991cafba1e5c1a70eeaaa217ee2b7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Nov 29 18:38:40 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Nov 29 18:38:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee082d30

sci-libs/symengine: Stabilize 0.11.1 amd64, #918862

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/symengine/symengine-0.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.11.1.ebuild 
b/sci-libs/symengine/symengine-0.11.1.ebuild
index 8be9f3a48539..eb06f3cc27bf 100644
--- a/sci-libs/symengine/symengine-0.11.1.ebuild
+++ b/sci-libs/symengine/symengine-0.11.1.ebuild
@@ -12,7 +12,7 @@ 
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"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 # BUILD_FOR_DISTRIBUTION enables threads by default so do it here
 IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test 
tcmalloc +threads"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2023-11-29 Thread Michał Górny
commit: cbca075113ee896415c36d622bfe45857788237d
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 29 18:06:03 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 29 18:06:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbca0751

sci-libs/symengine: Stabilize 0.11.1 arm64, #918862

Signed-off-by: Michał Górny  gentoo.org>

 sci-libs/symengine/symengine-0.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.11.1.ebuild 
b/sci-libs/symengine/symengine-0.11.1.ebuild
index 7091ded60ca0..8be9f3a48539 100644
--- a/sci-libs/symengine/symengine-0.11.1.ebuild
+++ b/sci-libs/symengine/symengine-0.11.1.ebuild
@@ -12,7 +12,7 @@ 
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"
+KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 # BUILD_FOR_DISTRIBUTION enables threads by default so do it here
 IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test 
tcmalloc +threads"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2023-11-24 Thread Sam James
commit: 2059beeafd7b6df9989a7945cef3efa543e93259
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 25 06:11:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 25 06:11:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2059beea

sci-libs/symengine: Stabilize 0.10.1 arm64, #918179

Signed-off-by: Sam James  gentoo.org>

 sci-libs/symengine/symengine-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.10.1.ebuild 
b/sci-libs/symengine/symengine-0.10.1.ebuild
index 5d4958377b95..eb06f3cc27bf 100644
--- a/sci-libs/symengine/symengine-0.10.1.ebuild
+++ b/sci-libs/symengine/symengine-0.10.1.ebuild
@@ -12,7 +12,7 @@ 
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"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 # BUILD_FOR_DISTRIBUTION enables threads by default so do it here
 IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test 
tcmalloc +threads"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2023-10-03 Thread Sam James
commit: 9ab7a1ff27e73e256350758d5faf701ab3f88cc5
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct  3 23:52:00 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct  3 23:52:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ab7a1ff

sci-libs/symengine: add 0.11.1

Signed-off-by: Sam James  gentoo.org>

 sci-libs/symengine/Manifest|   1 +
 sci-libs/symengine/symengine-0.11.1.ebuild | 103 +
 2 files changed, 104 insertions(+)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index d6758bec7bc4..cf6f7942c9bd 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1,2 +1,3 @@
 DIST symengine-0.10.1.tar.gz 898206 BLAKE2B 
88182a7facaf0d9ac90de8acaf549a3fd3cb65f0ae12e0ba3d9a1ae477d193b312cebfca99e626815789d8746822f0d1e256db6836a1ce265f65951880f486f3
 SHA512 
e73f62a87d20b676cac66ce82ac93308b688ed2ac18ebdb6884bae1ae66868e1033e33908e797f86a1906f91b975e8607a02e8932db8550a677f6b41373b7934
+DIST symengine-0.11.1.tar.gz 898181 BLAKE2B 
ef14e09ceb7e9783711ca7f9f06a59362c40222e7f85de5545be834ecd79bbf41fcd34141bb3a63c106ee45067dd0b957377f937097183ffd5b93c6943976571
 SHA512 
076aac35428589c5b3524a46bd939a3a3a7da44b1c866b5f71487678b27b6e48b4da034029f1630881d7713a9252e905411a04b8016c9ec56a608b6de23365ac
 DIST symengine-0.9.0.tar.gz 878574 BLAKE2B 
32c37ca6575b3f7e37184c80c2df74ebf7bb7846537e951be6c888994b8dc049c1ed2a6f51da1c1cfb038e0a47393b18acff60cfef665c5a5e714beb9b0ecb12
 SHA512 
dceca49ddb6e2ac7c4f8ecb73ce19824cbaa3eff41ad0f50008e403498121184b4e9dc660628dbd8e4db979f8c16b83a709a40540f7834954ab01f9854e12caa

diff --git a/sci-libs/symengine/symengine-0.11.1.ebuild 
b/sci-libs/symengine/symengine-0.11.1.ebuild
new file mode 100644
index ..7091ded60ca0
--- /dev/null
+++ b/sci-libs/symengine/symengine-0.11.1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_MAX_SLOT=16
+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="arb benchmarks boost debug doc ecm +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:= )
+   ecm? ( sci-mathematics/gmp-ecm )
+   flint? ( sci-mathematics/flint:= )
+   mpc? ( dev-libs/mpc:= )
+   mpfr? ( dev-libs/mpfr:= )
+   llvm? ( 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2023-06-12 Thread Arthur Zamarin
commit: 6de146db15fb2000c53d0af5fb284a1d34f9ea3d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jun 12 08:23:56 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jun 12 08:23:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6de146db

sci-libs/symengine: Stabilize 0.10.1 amd64, #907914

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/symengine/symengine-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.10.1.ebuild 
b/sci-libs/symengine/symengine-0.10.1.ebuild
index 7091ded60ca0..5d4958377b95 100644
--- a/sci-libs/symengine/symengine-0.10.1.ebuild
+++ b/sci-libs/symengine/symengine-0.10.1.ebuild
@@ -12,7 +12,7 @@ 
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"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 # BUILD_FOR_DISTRIBUTION enables threads by default so do it here
 IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test 
tcmalloc +threads"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2023-04-16 Thread WANG Xuerui
commit: b87ce24d9117af845c93ecb3c1fac2fcc4512dc5
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Apr 16 04:48:19 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Apr 16 12:03:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b87ce24d

sci-libs/symengine: keyword 0.10.1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sci-libs/symengine/symengine-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.10.1.ebuild 
b/sci-libs/symengine/symengine-0.10.1.ebuild
index 0651c8c712c7..7091ded60ca0 100644
--- a/sci-libs/symengine/symengine-0.10.1.ebuild
+++ b/sci-libs/symengine/symengine-0.10.1.ebuild
@@ -12,7 +12,7 @@ 
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 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 # BUILD_FOR_DISTRIBUTION enables threads by default so do it here
 IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test 
tcmalloc +threads"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2023-03-23 Thread Sam James
commit: 4545650697ba521445a2d8ffa08554bef61b5281
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 24 02:51:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 24 02:56:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45456506

sci-libs/symengine: add 0.10.1, drop 0.10.0

0.10.0 was a short-lived release. 0.10.1 has very fixes on top.

Signed-off-by: Sam James  gentoo.org>

 sci-libs/symengine/Manifest | 2 +-
 sci-libs/symengine/{symengine-0.10.0.ebuild => symengine-0.10.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index 609f7e08c10a..d6758bec7bc4 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1,2 +1,2 @@
-DIST symengine-0.10.0.tar.gz 898177 BLAKE2B 
5da099b48c3a8f7163b56ce1ec1c54e95d0328ac72d823df1c8c6fa413c179b91f54017f224e06d8e432891650043da105cb92ab4a2e3497f202847c817c00bc
 SHA512 
4cf0915fa47dfc2d894f352a379d0151239f277bff3409d2badf384366251c642fc1f77ec78bdba9c92543c01bf0abf521ae81aec3ab4ebb753c0ef27bae4a96
+DIST symengine-0.10.1.tar.gz 898206 BLAKE2B 
88182a7facaf0d9ac90de8acaf549a3fd3cb65f0ae12e0ba3d9a1ae477d193b312cebfca99e626815789d8746822f0d1e256db6836a1ce265f65951880f486f3
 SHA512 
e73f62a87d20b676cac66ce82ac93308b688ed2ac18ebdb6884bae1ae66868e1033e33908e797f86a1906f91b975e8607a02e8932db8550a677f6b41373b7934
 DIST symengine-0.9.0.tar.gz 878574 BLAKE2B 
32c37ca6575b3f7e37184c80c2df74ebf7bb7846537e951be6c888994b8dc049c1ed2a6f51da1c1cfb038e0a47393b18acff60cfef665c5a5e714beb9b0ecb12
 SHA512 
dceca49ddb6e2ac7c4f8ecb73ce19824cbaa3eff41ad0f50008e403498121184b4e9dc660628dbd8e4db979f8c16b83a709a40540f7834954ab01f9854e12caa

diff --git a/sci-libs/symengine/symengine-0.10.0.ebuild 
b/sci-libs/symengine/symengine-0.10.1.ebuild
similarity index 100%
rename from sci-libs/symengine/symengine-0.10.0.ebuild
rename to sci-libs/symengine/symengine-0.10.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2023-03-22 Thread Sam James
commit: afdcb3936820506085c1545b52c64c2ff8308688
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 22 08:19:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 22 09:19:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afdcb393

sci-libs/symengine: add 0.10.0

Signed-off-by: Sam James  gentoo.org>

 sci-libs/symengine/Manifest|   1 +
 sci-libs/symengine/symengine-0.10.0.ebuild | 103 +
 2 files changed, 104 insertions(+)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index 7fe30a70b05c..609f7e08c10a 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1 +1,2 @@
+DIST symengine-0.10.0.tar.gz 898177 BLAKE2B 
5da099b48c3a8f7163b56ce1ec1c54e95d0328ac72d823df1c8c6fa413c179b91f54017f224e06d8e432891650043da105cb92ab4a2e3497f202847c817c00bc
 SHA512 
4cf0915fa47dfc2d894f352a379d0151239f277bff3409d2badf384366251c642fc1f77ec78bdba9c92543c01bf0abf521ae81aec3ab4ebb753c0ef27bae4a96
 DIST symengine-0.9.0.tar.gz 878574 BLAKE2B 
32c37ca6575b3f7e37184c80c2df74ebf7bb7846537e951be6c888994b8dc049c1ed2a6f51da1c1cfb038e0a47393b18acff60cfef665c5a5e714beb9b0ecb12
 SHA512 
dceca49ddb6e2ac7c4f8ecb73ce19824cbaa3eff41ad0f50008e403498121184b4e9dc660628dbd8e4db979f8c16b83a709a40540f7834954ab01f9854e12caa

diff --git a/sci-libs/symengine/symengine-0.10.0.ebuild 
b/sci-libs/symengine/symengine-0.10.0.ebuild
new file mode 100644
index ..0651c8c712c7
--- /dev/null
+++ b/sci-libs/symengine/symengine-0.10.0.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_MAX_SLOT=16
+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 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+# BUILD_FOR_DISTRIBUTION enables threads by default so do it here
+IUSE="arb benchmarks boost debug doc ecm +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:= )
+   ecm? ( sci-mathematics/gmp-ecm )
+   flint? ( sci-mathematics/flint:= )
+   mpc? ( dev-libs/mpc:= )
+   mpfr? ( dev-libs/mpfr:= )
+   llvm? ( 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2022-11-18 Thread Arthur Zamarin
commit: c5ec685f6fcba6145e447faafd9322c561613da7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 18 17:29:18 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 18 17:29:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5ec685f

sci-libs/symengine: Keyword 0.9.0-r3 ppc64, #871921

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/symengine/symengine-0.9.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.9.0-r3.ebuild 
b/sci-libs/symengine/symengine-0.9.0-r3.ebuild
index 6853ffe83e82..ae4af472a02d 100644
--- a/sci-libs/symengine/symengine-0.9.0-r3.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0-r3.ebuild
@@ -12,7 +12,7 @@ 
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 ~riscv x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 # BUILD_FOR_DISTRIBUTION enables threads by default so do it here
 IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test 
tcmalloc +threads"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2022-09-11 Thread Sam James
commit: 525a8902bf66644663a9c765f51eb8ef23158c38
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 11 18:12:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 11 18:13:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525a8902

sci-libs/symengine: drop 0.8.1-r2

Signed-off-by: Sam James  gentoo.org>

 sci-libs/symengine/Manifest  |  1 -
 sci-libs/symengine/symengine-0.8.1-r2.ebuild | 91 
 2 files changed, 92 deletions(-)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index 9380fab848c4..7fe30a70b05c 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1,2 +1 @@
-DIST symengine-0.8.1.tar.gz 733007 BLAKE2B 
b218674bd4cc1eb5b5ebf7ec9d69093d3ab0d25c5fd302430457189ff56f44cb56640fab380a7415fdc241e9c7e3e1a4199ec8063a54b9358b35f0ab8076f05a
 SHA512 
b83b354a722c589cf262fbfad902b277a7232ae2b949ff97f4ad8f654c44965f15eae7d78e87045a42dd6ee5f6f6f67af0a2c4def8899db430fc17e3360696a9
 DIST symengine-0.9.0.tar.gz 878574 BLAKE2B 
32c37ca6575b3f7e37184c80c2df74ebf7bb7846537e951be6c888994b8dc049c1ed2a6f51da1c1cfb038e0a47393b18acff60cfef665c5a5e714beb9b0ecb12
 SHA512 
dceca49ddb6e2ac7c4f8ecb73ce19824cbaa3eff41ad0f50008e403498121184b4e9dc660628dbd8e4db979f8c16b83a709a40540f7834954ab01f9854e12caa

diff --git a/sci-libs/symengine/symengine-0.8.1-r2.ebuild 
b/sci-libs/symengine/symengine-0.8.1-r2.ebuild
deleted file mode 100644
index 93bc13fbc646..
--- a/sci-libs/symengine/symengine-0.8.1-r2.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake 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/$(ver_cut 1-2)"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux"
-IUSE="arb benchmarks boost debug doc ecm 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:= )
-   ecm? ( sci-mathematics/gmp-ecm )
-   flint? ( sci-mathematics/flint:= )
-   mpc? ( dev-libs/mpc:= )
-   tcmalloc? ( dev-util/google-perftools )
-"
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen[dot] )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.7.0-cmake-build-type.patch
-   "${FILESDIR}"/${PN}-0.8.1-fix_llvm.patch
-)
-
-pkg_pretend() {
-   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_prepare() {
-   cmake_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
-   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=(
-   -DINTEGER_CLASS="${int_class}"
-   -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)"
-   -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
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2022-09-11 Thread Sam James
commit: 1fc074e5982e4e58b2ce7e996763a8a69611
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 11 18:11:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 11 18:13:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fc074e5

sci-libs/symengine: allow LLVM 14, 15

Signed-off-by: Sam James  gentoo.org>

 .../symengine/{symengine-0.9.0-r2.ebuild => symengine-0.9.0-r3.ebuild}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.9.0-r2.ebuild 
b/sci-libs/symengine/symengine-0.9.0-r3.ebuild
similarity index 99%
rename from sci-libs/symengine/symengine-0.9.0-r2.ebuild
rename to sci-libs/symengine/symengine-0.9.0-r3.ebuild
index 52ecab72e67c..6853ffe83e82 100644
--- a/sci-libs/symengine/symengine-0.9.0-r2.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-LLVM_MAX_SLOT=13
+LLVM_MAX_SLOT=15
 inherit cmake llvm toolchain-funcs
 
 DESCRIPTION="Fast symbolic manipulation library, written in C++"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/files/

2022-06-21 Thread Andrew Ammerlaan
commit: 6a053f9e8f0c69635bb1540498939e142ef2763c
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Jun 13 18:46:44 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Jun 21 10:20:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a053f9e

sci-libs/symengine: remove unused patch

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/25878
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 .../symengine/files/symengine-0.7.0-boost-1.77.patch  | 19 ---
 1 file changed, 19 deletions(-)

diff --git a/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch 
b/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch
deleted file mode 100644
index c4d6dc28e8f8..
--- a/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-https://github.com/symengine/symengine/commit/ceae675dccd593f119f3010d46e133de74fc01bc
-https://bugs.gentoo.org/808057
-
-From: Liam Keegan 
-Date: Mon, 31 May 2021 21:31:02 +0200
-Subject: [PATCH] use list initialization for int parameter since type depends
- on boost version
-
 a/symengine/mp_boost.cpp
-+++ b/symengine/mp_boost.cpp
-@@ -279,7 +279,7 @@ unsigned long mp_scan1(const integer_class )
- if (i == 0) {
- return ULONG_MAX;
- }
--return find_lsb(i, int_<0>());
-+return find_lsb(i, {});
- }
- 
- // define simple 2x2 matrix with exponentiation by repeated squaring



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/files/, sci-libs/symengine/

2022-06-11 Thread Matthias Maier
commit: 56e069d09f091b00433c8f47680789b7aa297522
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Jun 11 07:12:50 2022 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sat Jun 11 07:12:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56e069d0

sci-libs/symengine: als fix user configuration for USE=llvm

Signed-off-by: Matthias Maier  gentoo.org>

 .../symengine/files/symengine-0.8.1-fix_llvm.patch | 15 
 ...e-0.8.1-r1.ebuild => symengine-0.8.1-r2.ebuild} |  0
 ...e-0.9.0-r1.ebuild => symengine-0.9.0-r2.ebuild} |  2 +-
 sci-libs/symengine/symengine-0.9.0.ebuild  | 99 --
 4 files changed, 16 insertions(+), 100 deletions(-)

diff --git a/sci-libs/symengine/files/symengine-0.8.1-fix_llvm.patch 
b/sci-libs/symengine/files/symengine-0.8.1-fix_llvm.patch
index 3e39a9eda500..810e2ac766d7 100644
--- a/sci-libs/symengine/files/symengine-0.8.1-fix_llvm.patch
+++ b/sci-libs/symengine/files/symengine-0.8.1-fix_llvm.patch
@@ -48,6 +48,21 @@ index cf5ab3b..dfa6605 100644
  include_directories(SYSTEM ${LLVM_INCLUDE_DIRS})
  set(HAVE_SYMENGINE_LLVM yes)
  set(PKGS ${PKGS} "LLVM")
+diff --git a/cmake/SymEngineConfig.cmake.in b/cmake/SymEngineConfig.cmake.in
+index b01ef9b..6d82c10 100644
+--- a/cmake/SymEngineConfig.cmake.in
 b/cmake/SymEngineConfig.cmake.in
+@@ -67,9 +67,7 @@ set(SYMENGINE_LLVM_COMPONENTS @SYMENGINE_LLVM_COMPONENTS@)
+ 
+ if (NOT "${SYMENGINE_LLVM_COMPONENTS}" STREQUAL "")
+ find_package(LLVM REQUIRED ${SYMENGINE_LLVM_COMPONENTS} HINTS @LLVM_DIR@)
+-llvm_map_components_to_libnames(llvm_libs_direct 
${SYMENGINE_LLVM_COMPONENTS})
+-llvm_expand_dependencies(llvm_libs ${llvm_libs_direct})
+-set(SYMENGINE_LIBRARIES ${SYMENGINE_LIBRARIES} ${llvm_libs})
++set(SYMENGINE_LIBRARIES ${SYMENGINE_LIBRARIES} LLVM)
+ else()
+ set(SYMENGINE_LLVM_INCLUDE_DIRS)
+ endif()
 -- 
 2.35.1
 

diff --git a/sci-libs/symengine/symengine-0.8.1-r1.ebuild 
b/sci-libs/symengine/symengine-0.8.1-r2.ebuild
similarity index 100%
rename from sci-libs/symengine/symengine-0.8.1-r1.ebuild
rename to sci-libs/symengine/symengine-0.8.1-r2.ebuild

diff --git a/sci-libs/symengine/symengine-0.9.0-r1.ebuild 
b/sci-libs/symengine/symengine-0.9.0-r2.ebuild
similarity index 97%
rename from sci-libs/symengine/symengine-0.9.0-r1.ebuild
rename to sci-libs/symengine/symengine-0.9.0-r2.ebuild
index ea34c5e94099..52ecab72e67c 100644
--- a/sci-libs/symengine/symengine-0.9.0-r1.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0-r2.ebuild
@@ -12,7 +12,7 @@ 
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 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux"
 # BUILD_FOR_DISTRIBUTION enables threads by default so do it here
 IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test 
tcmalloc +threads"
 RESTRICT="!test? ( test )"

diff --git a/sci-libs/symengine/symengine-0.9.0.ebuild 
b/sci-libs/symengine/symengine-0.9.0.ebuild
deleted file mode 100644
index ea34c5e94099..
--- a/sci-libs/symengine/symengine-0.9.0.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_MAX_SLOT=13
-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 ~riscv x86"
-# BUILD_FOR_DISTRIBUTION enables threads by default so do it here
-IUSE="arb benchmarks boost debug doc ecm +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:= )
-   ecm? ( sci-mathematics/gmp-ecm )
-   flint? ( sci-mathematics/flint:= )
-   mpc? ( dev-libs/mpc:= )
-   llvm? ( 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2022-06-11 Thread Matthias Maier
commit: 02b43a7c9cc601261c3c84e89b7116515597c26b
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Jun 11 06:56:52 2022 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sat Jun 11 06:57:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b43a7c

sci-libs/symengine: add USE=llvm patches to remaining ebuilds

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/symengine/symengine-0.8.1-r1.ebuild | 4 ++--
 sci-libs/symengine/symengine-0.9.0-r1.ebuild | 1 +
 sci-libs/symengine/symengine-0.9.0.ebuild| 5 +++--
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/sci-libs/symengine/symengine-0.8.1-r1.ebuild 
b/sci-libs/symengine/symengine-0.8.1-r1.ebuild
index 6aee3b49af90..93bc13fbc646 100644
--- a/sci-libs/symengine/symengine-0.8.1-r1.ebuild
+++ b/sci-libs/symengine/symengine-0.8.1-r1.ebuild
@@ -30,8 +30,8 @@ DEPEND="${RDEPEND}
 "
 
 PATCHES=(
-   "${FILESDIR}/${PN}-0.7.0-cmake-build-type.patch"
-   "${FILESDIR}/${PN}-0.8.1-fix_llvm.patch"
+   "${FILESDIR}"/${PN}-0.7.0-cmake-build-type.patch
+   "${FILESDIR}"/${PN}-0.8.1-fix_llvm.patch
 )
 
 pkg_pretend() {

diff --git a/sci-libs/symengine/symengine-0.9.0-r1.ebuild 
b/sci-libs/symengine/symengine-0.9.0-r1.ebuild
index d0cb975cca8a..ea34c5e94099 100644
--- a/sci-libs/symengine/symengine-0.9.0-r1.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0-r1.ebuild
@@ -32,6 +32,7 @@ BDEPEND="doc? ( app-doc/doxygen[dot] )"
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.7.0-cmake-build-type.patch
+   "${FILESDIR}"/${PN}-0.8.1-fix_llvm.patch
"${FILESDIR}"/${PN}-0.9.0-pthread-cmake.patch
 )
 

diff --git a/sci-libs/symengine/symengine-0.9.0.ebuild 
b/sci-libs/symengine/symengine-0.9.0.ebuild
index 98e672759860..ea34c5e94099 100644
--- a/sci-libs/symengine/symengine-0.9.0.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0.ebuild
@@ -31,8 +31,9 @@ DEPEND="${RDEPEND}
 BDEPEND="doc? ( app-doc/doxygen[dot] )"
 
 PATCHES=(
-   "${FILESDIR}/${PN}-0.7.0-cmake-build-type.patch"
-   "${FILESDIR}"/symengine-0.9.0-pthread-cmake.patch
+   "${FILESDIR}"/${PN}-0.7.0-cmake-build-type.patch
+   "${FILESDIR}"/${PN}-0.8.1-fix_llvm.patch
+   "${FILESDIR}"/${PN}-0.9.0-pthread-cmake.patch
 )
 
 pkg_pretend() {



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2022-06-11 Thread Matthias Maier
commit: 7ea1b56cca9dd93c2edeeaf515c0f15751bea112
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Jun 11 06:50:16 2022 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sat Jun 11 06:50:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ea1b56c

sci-libs/symengine: drop 0.6.0-r1, 0.7.0-r1

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/symengine/Manifest  |  2 -
 sci-libs/symengine/symengine-0.6.0-r1.ebuild | 85 --
 sci-libs/symengine/symengine-0.7.0-r1.ebuild | 91 
 3 files changed, 178 deletions(-)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index 1e5c3b5f71cb..9380fab848c4 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1,4 +1,2 @@
-DIST symengine-0.6.0.tar.gz 763481 BLAKE2B 
37fe94ad08463b31c7387ab296b201a4dda821ba59dfa548d0c42e70d23958bae24df3f035bd3fffb46cc08cc010d13a25e607a9e0644e9b3c0602fa0eb363b3
 SHA512 
cc6f0468534e5bcd466a810d44f9884b17858ca6c7151cdcadb3af0f7d8faf0d96697d5887ab65fc9094de80df825f8243dabc54e3f5c387be544880f49b482b
-DIST symengine-0.7.0.tar.gz 802307 BLAKE2B 
de207f565f179deae37479eec82dfced3d83bfb7e643b4e6969135e10130dd05c888f34aa75c76c238ff1babfd0864f3329c3deee126b84ec33c4937c11dc20c
 SHA512 
fd3198bc4a05ca2b9b8a58039cc21af65b44457f295362a1a9b8dbf9c6e3df5186c0c84b289bc9fe85d9efd5ac1a683f6b7ba9a661fb6d913d6ceefb14ee2348
 DIST symengine-0.8.1.tar.gz 733007 BLAKE2B 
b218674bd4cc1eb5b5ebf7ec9d69093d3ab0d25c5fd302430457189ff56f44cb56640fab380a7415fdc241e9c7e3e1a4199ec8063a54b9358b35f0ab8076f05a
 SHA512 
b83b354a722c589cf262fbfad902b277a7232ae2b949ff97f4ad8f654c44965f15eae7d78e87045a42dd6ee5f6f6f67af0a2c4def8899db430fc17e3360696a9
 DIST symengine-0.9.0.tar.gz 878574 BLAKE2B 
32c37ca6575b3f7e37184c80c2df74ebf7bb7846537e951be6c888994b8dc049c1ed2a6f51da1c1cfb038e0a47393b18acff60cfef665c5a5e714beb9b0ecb12
 SHA512 
dceca49ddb6e2ac7c4f8ecb73ce19824cbaa3eff41ad0f50008e403498121184b4e9dc660628dbd8e4db979f8c16b83a709a40540f7834954ab01f9854e12caa

diff --git a/sci-libs/symengine/symengine-0.6.0-r1.ebuild 
b/sci-libs/symengine/symengine-0.6.0-r1.ebuild
deleted file mode 100644
index 1abca70085d2..
--- a/sci-libs/symengine/symengine-0.6.0-r1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_BUILD_TYPE=Release
-inherit cmake 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/$(ver_cut 1-2)"
-KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
-IUSE="arb benchmarks boost debug doc ecm 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:= )
-   ecm? ( sci-mathematics/gmp-ecm )
-   flint? ( sci-mathematics/flint:= )
-   mpc? ( dev-libs/mpc:= )
-   tcmalloc? ( dev-util/google-perftools )
-"
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen[dot] )
-"
-
-pkg_pretend() {
-   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_prepare() {
-   cmake_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
-   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=(
-   -DINTEGER_CLASS="${int_class}"
-   -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)"
-   -DWITH_ECM="$(usex ecm)"
-   

[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/files/, sci-libs/symengine/, profiles/base/

2022-06-11 Thread Matthias Maier
commit: 973db0dbc3113bf9df5f60722573e213abb76f27
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Jun 11 06:48:53 2022 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sat Jun 11 06:50:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=973db0db

sci-libs/symengine: fix USE=llvm

Closes: https://bugs.gentoo.org/745915
Signed-off-by: Matthias Maier  gentoo.org>

 profiles/base/package.use.mask |  5 --
 .../symengine/files/symengine-0.8.1-fix_llvm.patch | 53 ++
 sci-libs/symengine/symengine-0.8.1-r1.ebuild   |  1 +
 3 files changed, 54 insertions(+), 5 deletions(-)

diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index 53bc3cce3a18..ed524909df2a 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -55,11 +55,6 @@ net-libs/ngtcp2 openssl
 # Needs masked version of ogre (>=1.12), bug #825330
 >=dev-games/mygui-3.4.1 ogre
 
-# Sam James  (2022-02-21)
-# Needs build system love to make LLVM support work.
-# bug #745915
-sci-libs/symengine llvm
-
 # Marek Szuba  (2022-02-07)
 # Deprecated back-end with known stability and data-corruption issues,
 # likely to be removed in gramps-5.2.0.

diff --git a/sci-libs/symengine/files/symengine-0.8.1-fix_llvm.patch 
b/sci-libs/symengine/files/symengine-0.8.1-fix_llvm.patch
new file mode 100644
index ..3e39a9eda500
--- /dev/null
+++ b/sci-libs/symengine/files/symengine-0.8.1-fix_llvm.patch
@@ -0,0 +1,53 @@
+From: Matthias Maier 
+Date: Sat, 11 Jun 2022 01:44:54 -0500
+Subject: [PATCH] Fix cmake configure for shared LLVM libraries
+
+Gentoo builds LLVM into a combined shared library. The CMake
+configuration shipped with LLVM is evidently broken in this case, see
+
+  https://github.com/llvm/llvm-project/issues/34593
+  https://bugs.gentoo.org/745915
+
+We work around this issue by simply linking against the monolithic
+"LLVM" target.
+---
+ CMakeLists.txt | 23 +--
+ 1 file changed, 1 insertion(+), 22 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index cf5ab3b..dfa6605 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -402,28 +402,7 @@ if (WITH_LLVM)
+ endforeach()
+ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNDEBUG")
+ 
+-llvm_map_components_to_libnames(llvm_libs_direct 
${SYMENGINE_LLVM_COMPONENTS})
+-llvm_expand_dependencies(llvm_libs ${llvm_libs_direct})
+-
+-if (BUILD_SHARED_LIBS)
+-set(SYMENGINE_LLVM_LINK_DOWNSTREAM_DEFAULT False)
+-foreach(LLVM_LIB ${llvm_libs})
+-get_target_property(${LLVM_LIB}_IMPORT_LOCATION ${LLVM_LIB} 
LOCATION)
+-if (NOT "${${LLVM_LIB}_IMPORT_LOCATION}" MATCHES "NOTFOUND")
+-if (NOT "${${LLVM_LIB}_IMPORT_LOCATION}" MATCHES ".a$|.lib$")
+-set(SYMENGINE_LLVM_LINK_DOWNSTREAM_DEFAULT True)
+-endif()
+-endif()
+-endforeach()
+-else()
+-set(SYMENGINE_LLVM_LINK_DOWNSTREAM_DEFAULT True)
+-endif()
+-set(SYMENGINE_LLVM_LINK_DOWNSTREAM 
${SYMENGINE_LLVM_LINK_DOWNSTREAM_DEFAULT}
+-CACHE INTERNAL "Link to llvm in SymEngineConfig.cmake")
+-if (NOT SYMENGINE_LLVM_LINK_DOWNSTREAM)
+-unset(SYMENGINE_LLVM_COMPONENTS)
+-endif ()
+-set(LIBS ${LIBS} ${llvm_libs})
++set(LIBS ${LIBS} LLVM)
+ include_directories(SYSTEM ${LLVM_INCLUDE_DIRS})
+ set(HAVE_SYMENGINE_LLVM yes)
+ set(PKGS ${PKGS} "LLVM")
+-- 
+2.35.1
+

diff --git a/sci-libs/symengine/symengine-0.8.1-r1.ebuild 
b/sci-libs/symengine/symengine-0.8.1-r1.ebuild
index c389bae57034..6aee3b49af90 100644
--- a/sci-libs/symengine/symengine-0.8.1-r1.ebuild
+++ b/sci-libs/symengine/symengine-0.8.1-r1.ebuild
@@ -31,6 +31,7 @@ DEPEND="${RDEPEND}
 
 PATCHES=(
"${FILESDIR}/${PN}-0.7.0-cmake-build-type.patch"
+   "${FILESDIR}/${PN}-0.8.1-fix_llvm.patch"
 )
 
 pkg_pretend() {



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/, sci-libs/symengine/files/

2022-06-07 Thread Sam James
commit: 95cae20e05d591fbb744f6e4921e46f996811b40
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  8 05:05:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  8 05:06:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95cae20e

sci-libs/symengine: fix pthread detection

Closes: https://bugs.gentoo.org/849803
Signed-off-by: Sam James  gentoo.org>

 .../files/symengine-0.9.0-pthread-cmake.patch  | 63 ++
 ...gine-0.9.0.ebuild => symengine-0.9.0-r1.ebuild} |  3 +-
 sci-libs/symengine/symengine-0.9.0.ebuild  |  1 +
 3 files changed, 66 insertions(+), 1 deletion(-)

diff --git a/sci-libs/symengine/files/symengine-0.9.0-pthread-cmake.patch 
b/sci-libs/symengine/files/symengine-0.9.0-pthread-cmake.patch
new file mode 100644
index ..0fa049dbf218
--- /dev/null
+++ b/sci-libs/symengine/files/symengine-0.9.0-pthread-cmake.patch
@@ -0,0 +1,63 @@
+From 6ad9620ffc578abdb920b84ea5e393c726389ac0 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Wed, 8 Jun 2022 06:02:25 +0100
+Subject: [PATCH] cmake: fix pthread detection
+
+The homebrew FindPTHREAD.cmake module was hardcoding the path to libpthread
+in the installed CMake config file which broke consumers when upgrading from
+< glibc-2.34 (e.g. glibc-2.33 -> glibc-2.34).
+
+CMake provides FindThreads which does the job fine for us. Tested with both
+glibc-2.33 (with a previously bad generated file, and then fixed) and 
glibc-2.35.
+
+This should be fine on musl and friends too. This brings symengine in line
+with most CMake packages.
+
+Bug: https://bugs.gentoo.org/849803
+Fixes: https://github.com/symengine/symengine/issues/1910
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -335,11 +335,10 @@ if (WITH_PIRANHA)
+ endif()
+ 
+ if (WITH_PTHREAD)
+-find_package(PTHREAD REQUIRED)
+-include_directories(SYSTEM ${PTHREAD_INCLUDE_DIRS})
+-set(LIBS ${LIBS} ${PTHREAD_TARGETS})
++find_package(Threads)
++set(THREADS_PREFER_PTHREAD_FLAG ON)
++set(LIBS ${LIBS} ${CMAKE_THREAD_LIBS_INIT})
+ set(HAVE_SYMENGINE_PTHREAD yes)
+-set(PKGS ${PKGS} "PTHREAD")
+ endif()
+ 
+ if (WITH_MPFR)
+@@ -761,10 +760,6 @@ if (WITH_BOOST)
+ endif()
+ 
+ message("WITH_PTHREAD: ${WITH_PTHREAD}")
+-if (WITH_PTHREAD)
+-message("PTHREAD_INCLUDE_DIRS: ${PTHREAD_INCLUDE_DIRS}")
+-message("PTHREAD_LIBRARIES: ${PTHREAD_LIBRARIES}")
+-endif()
+ 
+ message("WITH_MPC: ${WITH_MPC}")
+ if (WITH_MPC)
+--- a/cmake/FindPTHREAD.cmake
 /dev/null
+@@ -1,14 +0,0 @@
+-include(LibFindMacros)
+-
+-libfind_include(pthread.h pthread)
+-libfind_library(pthread pthread)
+-
+-set(PTHREAD_LIBRARIES ${PTHREAD_LIBRARY})
+-set(PTHREAD_INCLUDE_DIRS ${PTHREAD_INCLUDE_DIR})
+-set(PTHREAD_TARGETS pthread)
+-
+-include(FindPackageHandleStandardArgs)
+-find_package_handle_standard_args(PTHREAD DEFAULT_MSG PTHREAD_LIBRARIES
+-PTHREAD_INCLUDE_DIRS)
+-
+-mark_as_advanced(PTHREAD_INCLUDE_DIR PTHEARD_LIBRARY)
+

diff --git a/sci-libs/symengine/symengine-0.9.0.ebuild 
b/sci-libs/symengine/symengine-0.9.0-r1.ebuild
similarity index 96%
copy from sci-libs/symengine/symengine-0.9.0.ebuild
copy to sci-libs/symengine/symengine-0.9.0-r1.ebuild
index bf374c6ddaca..d0cb975cca8a 100644
--- a/sci-libs/symengine/symengine-0.9.0.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0-r1.ebuild
@@ -31,7 +31,8 @@ DEPEND="${RDEPEND}
 BDEPEND="doc? ( app-doc/doxygen[dot] )"
 
 PATCHES=(
-   "${FILESDIR}/${PN}-0.7.0-cmake-build-type.patch"
+   "${FILESDIR}"/${PN}-0.7.0-cmake-build-type.patch
+   "${FILESDIR}"/${PN}-0.9.0-pthread-cmake.patch
 )
 
 pkg_pretend() {

diff --git a/sci-libs/symengine/symengine-0.9.0.ebuild 
b/sci-libs/symengine/symengine-0.9.0.ebuild
index bf374c6ddaca..98e672759860 100644
--- a/sci-libs/symengine/symengine-0.9.0.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0.ebuild
@@ -32,6 +32,7 @@ BDEPEND="doc? ( app-doc/doxygen[dot] )"
 
 PATCHES=(
"${FILESDIR}/${PN}-0.7.0-cmake-build-type.patch"
+   "${FILESDIR}"/symengine-0.9.0-pthread-cmake.patch
 )
 
 pkg_pretend() {



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2022-05-16 Thread David Seifert
commit: faf769d186491d3a619407ad1da95f799eec8292
Author: David Seifert  gentoo  org>
AuthorDate: Mon May 16 08:12:24 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon May 16 08:12:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf769d1

sci-libs/symengine: [QA] use tc-check-openmp correctly

Signed-off-by: David Seifert  gentoo.org>

 sci-libs/symengine/symengine-0.6.0-r1.ebuild | 6 +-
 sci-libs/symengine/symengine-0.7.0-r1.ebuild | 6 +-
 sci-libs/symengine/symengine-0.8.1-r1.ebuild | 6 +-
 sci-libs/symengine/symengine-0.9.0.ebuild| 4 ++--
 4 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/sci-libs/symengine/symengine-0.6.0-r1.ebuild 
b/sci-libs/symengine/symengine-0.6.0-r1.ebuild
index 1454ac3431a0..1abca70085d2 100644
--- a/sci-libs/symengine/symengine-0.6.0-r1.ebuild
+++ b/sci-libs/symengine/symengine-0.6.0-r1.ebuild
@@ -31,7 +31,11 @@ DEPEND="${RDEPEND}
 "
 
 pkg_pretend() {
-   use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
 
 src_prepare() {

diff --git a/sci-libs/symengine/symengine-0.7.0-r1.ebuild 
b/sci-libs/symengine/symengine-0.7.0-r1.ebuild
index 8b1becc43784..1ffb62e2d6eb 100644
--- a/sci-libs/symengine/symengine-0.7.0-r1.ebuild
+++ b/sci-libs/symengine/symengine-0.7.0-r1.ebuild
@@ -35,7 +35,11 @@ PATCHES=(
 )
 
 pkg_pretend() {
-   use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
 
 src_prepare() {

diff --git a/sci-libs/symengine/symengine-0.8.1-r1.ebuild 
b/sci-libs/symengine/symengine-0.8.1-r1.ebuild
index 68c0939697b8..c389bae57034 100644
--- a/sci-libs/symengine/symengine-0.8.1-r1.ebuild
+++ b/sci-libs/symengine/symengine-0.8.1-r1.ebuild
@@ -34,7 +34,11 @@ PATCHES=(
 )
 
 pkg_pretend() {
-   use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
 
 src_prepare() {

diff --git a/sci-libs/symengine/symengine-0.9.0.ebuild 
b/sci-libs/symengine/symengine-0.9.0.ebuild
index c4f5a9c49a23..bf374c6ddaca 100644
--- a/sci-libs/symengine/symengine-0.9.0.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0.ebuild
@@ -35,11 +35,11 @@ PATCHES=(
 )
 
 pkg_pretend() {
-   use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
 
 pkg_setup() {
-   use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 
use llvm && llvm_pkg_setup
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2022-03-29 Thread Yixun Lan
commit: f2cb4bf92e459fc1f321e23ce3e5ab388103c77f
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Mar 29 01:27:30 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Mar 29 08:44:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2cb4bf9

sci-libs/symengine: Keyword 0.9.0 arm, #833815

Signed-off-by: Yixun Lan  gentoo.org>

 sci-libs/symengine/symengine-0.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.9.0.ebuild 
b/sci-libs/symengine/symengine-0.9.0.ebuild
index 2c4ce7a66006..c4f5a9c49a23 100644
--- a/sci-libs/symengine/symengine-0.9.0.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0.ebuild
@@ -12,7 +12,7 @@ 
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 ~arm64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
 # BUILD_FOR_DISTRIBUTION enables threads by default so do it here
 IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test 
tcmalloc +threads"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2022-03-09 Thread Agostino Sarubbo
commit: 33a3baf48176a9996a4a981bf96337079c391707
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar  9 09:19:10 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar  9 09:19:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33a3baf4

sci-libs/symengine: x86 stable wrt bug #829213

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/symengine/symengine-0.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.9.0.ebuild 
b/sci-libs/symengine/symengine-0.9.0.ebuild
index be678a33837e..2c4ce7a66006 100644
--- a/sci-libs/symengine/symengine-0.9.0.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0.ebuild
@@ -12,7 +12,7 @@ 
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 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv x86"
 # BUILD_FOR_DISTRIBUTION enables threads by default so do it here
 IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test 
tcmalloc +threads"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2022-03-07 Thread Agostino Sarubbo
commit: 9648a8153d92859ebb3ead248756d8409ea73e8c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar  7 16:20:49 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar  7 16:20:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9648a815

sci-libs/symengine: amd64 stable wrt bug #829213

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/symengine/symengine-0.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.9.0.ebuild 
b/sci-libs/symengine/symengine-0.9.0.ebuild
index 21188d676462..be678a33837e 100644
--- a/sci-libs/symengine/symengine-0.9.0.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0.ebuild
@@ -12,7 +12,7 @@ 
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 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv ~x86"
 # BUILD_FOR_DISTRIBUTION enables threads by default so do it here
 IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test 
tcmalloc +threads"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2022-02-21 Thread Yixun Lan
commit: ac92d131f8fe8bd32b235fea59f54290b9d7a2ac
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Feb 22 01:03:31 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Feb 22 05:39:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac92d131

sci-libs/symengine: keyword ~riscv, #833815

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sci-libs/symengine/symengine-0.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.9.0.ebuild 
b/sci-libs/symengine/symengine-0.9.0.ebuild
index fa93ed6e4d1f..21188d676462 100644
--- a/sci-libs/symengine/symengine-0.9.0.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0.ebuild
@@ -12,7 +12,7 @@ 
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 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 # BUILD_FOR_DISTRIBUTION enables threads by default so do it here
 IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test 
tcmalloc +threads"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2022-02-20 Thread Sam James
commit: 65cc8cdbdbcf3a1266116541bf80983d0bdf51b1
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 21 03:16:51 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 03:16:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65cc8cdb

sci-libs/symengine: fix subslot

Closes: https://bugs.gentoo.org/720760
Signed-off-by: Sam James  gentoo.org>

 .../symengine/{symengine-0.6.0.ebuild => symengine-0.6.0-r1.ebuild}   | 4 ++--
 .../symengine/{symengine-0.7.0.ebuild => symengine-0.7.0-r1.ebuild}   | 4 ++--
 .../symengine/{symengine-0.8.1.ebuild => symengine-0.8.1-r1.ebuild}   | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sci-libs/symengine/symengine-0.6.0.ebuild 
b/sci-libs/symengine/symengine-0.6.0-r1.ebuild
similarity index 97%
rename from sci-libs/symengine/symengine-0.6.0.ebuild
rename to sci-libs/symengine/symengine-0.6.0-r1.ebuild
index ae13a29f65d2..1454ac3431a0 100644
--- a/sci-libs/symengine/symengine-0.6.0.ebuild
+++ b/sci-libs/symengine/symengine-0.6.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 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"
+SLOT="0/$(ver_cut 1-2)"
 KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
 IUSE="arb benchmarks boost debug doc ecm flint llvm mpc mpfr openmp test 
tcmalloc threads"
 RESTRICT="!test? ( test )"

diff --git a/sci-libs/symengine/symengine-0.7.0.ebuild 
b/sci-libs/symengine/symengine-0.7.0-r1.ebuild
similarity index 97%
rename from sci-libs/symengine/symengine-0.7.0.ebuild
rename to sci-libs/symengine/symengine-0.7.0-r1.ebuild
index da83537b7b5b..8b1becc43784 100644
--- a/sci-libs/symengine/symengine-0.7.0.ebuild
+++ b/sci-libs/symengine/symengine-0.7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ 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"
+SLOT="0/$(ver_cut 1-2)"
 KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux"
 IUSE="arb benchmarks boost debug doc ecm flint llvm mpc mpfr openmp test 
tcmalloc threads"
 RESTRICT="!test? ( test )"

diff --git a/sci-libs/symengine/symengine-0.8.1.ebuild 
b/sci-libs/symengine/symengine-0.8.1-r1.ebuild
similarity index 97%
rename from sci-libs/symengine/symengine-0.8.1.ebuild
rename to sci-libs/symengine/symengine-0.8.1-r1.ebuild
index 0c457169db01..68c0939697b8 100644
--- a/sci-libs/symengine/symengine-0.8.1.ebuild
+++ b/sci-libs/symengine/symengine-0.8.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ 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"
+SLOT="0/$(ver_cut 1-2)"
 KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux"
 IUSE="arb benchmarks boost debug doc ecm flint llvm mpc mpfr openmp test 
tcmalloc threads"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2022-02-20 Thread Sam James
commit: 066ef397e50b75529b278311146e127556c62e52
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 21 02:38:47 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 02:48:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=066ef397

sci-libs/symengine: add 0.9.0

Signed-off-by: Sam James  gentoo.org>

 sci-libs/symengine/Manifest   |  1 +
 sci-libs/symengine/metadata.xml   |  2 +-
 sci-libs/symengine/symengine-0.9.0.ebuild | 89 +++
 3 files changed, 91 insertions(+), 1 deletion(-)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index 9fa24decdfcc..1e5c3b5f71cb 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1,3 +1,4 @@
 DIST symengine-0.6.0.tar.gz 763481 BLAKE2B 
37fe94ad08463b31c7387ab296b201a4dda821ba59dfa548d0c42e70d23958bae24df3f035bd3fffb46cc08cc010d13a25e607a9e0644e9b3c0602fa0eb363b3
 SHA512 
cc6f0468534e5bcd466a810d44f9884b17858ca6c7151cdcadb3af0f7d8faf0d96697d5887ab65fc9094de80df825f8243dabc54e3f5c387be544880f49b482b
 DIST symengine-0.7.0.tar.gz 802307 BLAKE2B 
de207f565f179deae37479eec82dfced3d83bfb7e643b4e6969135e10130dd05c888f34aa75c76c238ff1babfd0864f3329c3deee126b84ec33c4937c11dc20c
 SHA512 
fd3198bc4a05ca2b9b8a58039cc21af65b44457f295362a1a9b8dbf9c6e3df5186c0c84b289bc9fe85d9efd5ac1a683f6b7ba9a661fb6d913d6ceefb14ee2348
 DIST symengine-0.8.1.tar.gz 733007 BLAKE2B 
b218674bd4cc1eb5b5ebf7ec9d69093d3ab0d25c5fd302430457189ff56f44cb56640fab380a7415fdc241e9c7e3e1a4199ec8063a54b9358b35f0ab8076f05a
 SHA512 
b83b354a722c589cf262fbfad902b277a7232ae2b949ff97f4ad8f654c44965f15eae7d78e87045a42dd6ee5f6f6f67af0a2c4def8899db430fc17e3360696a9
+DIST symengine-0.9.0.tar.gz 878574 BLAKE2B 
32c37ca6575b3f7e37184c80c2df74ebf7bb7846537e951be6c888994b8dc049c1ed2a6f51da1c1cfb038e0a47393b18acff60cfef665c5a5e714beb9b0ecb12
 SHA512 
dceca49ddb6e2ac7c4f8ecb73ce19824cbaa3eff41ad0f50008e403498121184b4e9dc660628dbd8e4db979f8c16b83a709a40540f7834954ab01f9854e12caa

diff --git a/sci-libs/symengine/metadata.xml b/sci-libs/symengine/metadata.xml
index 2d6da788e66f..92a951a95411 100644
--- a/sci-libs/symengine/metadata.xml
+++ b/sci-libs/symengine/metadata.xml
@@ -11,7 +11,7 @@
 Python, Julia, Ruby, Haskell.
   
   
-sympy/symengine
+symengine/symengine
   
   
 Add support for arb 
(sci-mathematics/arb)

diff --git a/sci-libs/symengine/symengine-0.9.0.ebuild 
b/sci-libs/symengine/symengine-0.9.0.ebuild
new file mode 100644
index ..410eda0d44e7
--- /dev/null
+++ b/sci-libs/symengine/symengine-0.9.0.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake 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 ~arm64 ~x86"
+# BUILD_FOR_DISTRIBUTION enables threads by default so do it here
+IUSE="arb benchmarks boost debug doc ecm 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:= )
+   ecm? ( sci-mathematics/gmp-ecm )
+   flint? ( sci-mathematics/flint:= )
+   mpc? ( dev-libs/mpc:= )
+   tcmalloc? ( dev-util/google-perftools )"
+DEPEND="${RDEPEND}
+   dev-libs/cereal"
+BDEPEND="doc? ( app-doc/doxygen[dot] )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.7.0-cmake-build-type.patch"
+)
+
+pkg_pretend() {
+   use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+}
+
+src_prepare() {
+   cmake_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
+   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
+
+   einfo "Building with integer class: ${int_class}"
+
+   local mycmakeargs=(
+   -DINTEGER_CLASS=${int_class}
+   -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)
+

[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2021-12-30 Thread Arthur Zamarin
commit: 1e413d59c2228cdac58d54fa365691317d871822
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Dec 30 19:09:55 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Dec 30 19:09:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e413d59

sci-libs/symengine: Stabilize 0.8.1 x86, #830313

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/symengine/symengine-0.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.8.1.ebuild 
b/sci-libs/symengine/symengine-0.8.1.ebuild
index 346641e2cbb8..0c457169db01 100644
--- a/sci-libs/symengine/symengine-0.8.1.ebuild
+++ b/sci-libs/symengine/symengine-0.8.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/sympy/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/0.4"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux"
 IUSE="arb benchmarks boost debug doc ecm flint llvm mpc mpfr openmp test 
tcmalloc threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2021-12-30 Thread Arthur Zamarin
commit: 5009b224f2ce353182f36dcf9a5d9e8b45ddcc5f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Dec 30 19:04:15 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Dec 30 19:04:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5009b224

sci-libs/symengine: Stabilize 0.8.1 amd64, #830313

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/symengine/symengine-0.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.8.1.ebuild 
b/sci-libs/symengine/symengine-0.8.1.ebuild
index 6bfea75fb875..346641e2cbb8 100644
--- a/sci-libs/symengine/symengine-0.8.1.ebuild
+++ b/sci-libs/symengine/symengine-0.8.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/sympy/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/0.4"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 IUSE="arb benchmarks boost debug doc ecm flint llvm mpc mpfr openmp test 
tcmalloc threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2021-12-14 Thread Andrew Ammerlaan
commit: e97de966abde4fb241e20fd46c97b5e8b8499835
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Dec 14 19:46:40 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Dec 14 19:52:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97de966

sci-libs/symengine: add version 0.8.1

Closes: https://bugs.gentoo.org/812194
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-libs/symengine/Manifest   |  1 +
 sci-libs/symengine/symengine-0.8.1.ebuild | 86 +++
 2 files changed, 87 insertions(+)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index 8add269cb677..9fa24decdfcc 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1,2 +1,3 @@
 DIST symengine-0.6.0.tar.gz 763481 BLAKE2B 
37fe94ad08463b31c7387ab296b201a4dda821ba59dfa548d0c42e70d23958bae24df3f035bd3fffb46cc08cc010d13a25e607a9e0644e9b3c0602fa0eb363b3
 SHA512 
cc6f0468534e5bcd466a810d44f9884b17858ca6c7151cdcadb3af0f7d8faf0d96697d5887ab65fc9094de80df825f8243dabc54e3f5c387be544880f49b482b
 DIST symengine-0.7.0.tar.gz 802307 BLAKE2B 
de207f565f179deae37479eec82dfced3d83bfb7e643b4e6969135e10130dd05c888f34aa75c76c238ff1babfd0864f3329c3deee126b84ec33c4937c11dc20c
 SHA512 
fd3198bc4a05ca2b9b8a58039cc21af65b44457f295362a1a9b8dbf9c6e3df5186c0c84b289bc9fe85d9efd5ac1a683f6b7ba9a661fb6d913d6ceefb14ee2348
+DIST symengine-0.8.1.tar.gz 733007 BLAKE2B 
b218674bd4cc1eb5b5ebf7ec9d69093d3ab0d25c5fd302430457189ff56f44cb56640fab380a7415fdc241e9c7e3e1a4199ec8063a54b9358b35f0ab8076f05a
 SHA512 
b83b354a722c589cf262fbfad902b277a7232ae2b949ff97f4ad8f654c44965f15eae7d78e87045a42dd6ee5f6f6f67af0a2c4def8899db430fc17e3360696a9

diff --git a/sci-libs/symengine/symengine-0.8.1.ebuild 
b/sci-libs/symengine/symengine-0.8.1.ebuild
new file mode 100644
index ..6bfea75fb875
--- /dev/null
+++ b/sci-libs/symengine/symengine-0.8.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake 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 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="arb benchmarks boost debug doc ecm 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:= )
+   ecm? ( sci-mathematics/gmp-ecm )
+   flint? ( sci-mathematics/flint:= )
+   mpc? ( dev-libs/mpc:= )
+   tcmalloc? ( dev-util/google-perftools )
+"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen[dot] )
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.7.0-cmake-build-type.patch"
+)
+
+pkg_pretend() {
+   use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+}
+
+src_prepare() {
+   cmake_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
+   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=(
+   -DINTEGER_CLASS="${int_class}"
+   -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)"
+   -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
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2021-11-21 Thread Yixun Lan
commit: 457960421b7d8151d062ba15cde2d6ce35dae5cd
Author: Alex Fan  gmail  com>
AuthorDate: Fri Nov 19 09:27:24 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Nov 22 03:06:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45796042

sci-libs/symengine: keyword 0.7.0 for ~riscv

Signed-off-by: Alex Fan  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 sci-libs/symengine/symengine-0.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.7.0.ebuild 
b/sci-libs/symengine/symengine-0.7.0.ebuild
index 91f658820bdf..da83537b7b5b 100644
--- a/sci-libs/symengine/symengine-0.7.0.ebuild
+++ b/sci-libs/symengine/symengine-0.7.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/sympy/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/0.4"
-KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux"
 IUSE="arb benchmarks boost debug doc ecm flint llvm mpc mpfr openmp test 
tcmalloc threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/files/, sci-libs/symengine/

2021-08-17 Thread Sam James
commit: e25d5c441605f0c72e54150644cc4dabbb65a340
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 17 15:44:13 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 17 15:44:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e25d5c44

sci-libs/symengine: fix build with Boost 1.77

Closes: https://bugs.gentoo.org/808057
Signed-off-by: Sam James  gentoo.org>

 .../symengine/files/symengine-0.7.0-boost-1.77.patch  | 19 +++
 sci-libs/symengine/symengine-0.7.0.ebuild |  1 +
 2 files changed, 20 insertions(+)

diff --git a/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch 
b/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch
new file mode 100644
index 000..c4d6dc28e8f
--- /dev/null
+++ b/sci-libs/symengine/files/symengine-0.7.0-boost-1.77.patch
@@ -0,0 +1,19 @@
+https://github.com/symengine/symengine/commit/ceae675dccd593f119f3010d46e133de74fc01bc
+https://bugs.gentoo.org/808057
+
+From: Liam Keegan 
+Date: Mon, 31 May 2021 21:31:02 +0200
+Subject: [PATCH] use list initialization for int parameter since type depends
+ on boost version
+
+--- a/symengine/mp_boost.cpp
 b/symengine/mp_boost.cpp
+@@ -279,7 +279,7 @@ unsigned long mp_scan1(const integer_class )
+ if (i == 0) {
+ return ULONG_MAX;
+ }
+-return find_lsb(i, int_<0>());
++return find_lsb(i, {});
+ }
+ 
+ // define simple 2x2 matrix with exponentiation by repeated squaring

diff --git a/sci-libs/symengine/symengine-0.7.0.ebuild 
b/sci-libs/symengine/symengine-0.7.0.ebuild
index b06a7e49f07..91f658820bd 100644
--- a/sci-libs/symengine/symengine-0.7.0.ebuild
+++ b/sci-libs/symengine/symengine-0.7.0.ebuild
@@ -31,6 +31,7 @@ DEPEND="${RDEPEND}
 
 PATCHES=(
"${FILESDIR}/${PN}-0.7.0-cmake-build-type.patch"
+   "${FILESDIR}/${PN}-0.7.0-boost-1.77.patch"
 )
 
 pkg_pretend() {



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2021-05-04 Thread Agostino Sarubbo
commit: b2ef4b978b4f4c11fcc77f5973c6d90a5c4ea7eb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue May  4 07:02:14 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue May  4 07:02:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2ef4b97

sci-libs/symengine: x86 stable wrt bug #786081

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/symengine/symengine-0.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.7.0.ebuild 
b/sci-libs/symengine/symengine-0.7.0.ebuild
index 04021504e16..b06a7e49f07 100644
--- a/sci-libs/symengine/symengine-0.7.0.ebuild
+++ b/sci-libs/symengine/symengine-0.7.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/sympy/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/0.4"
-KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
 IUSE="arb benchmarks boost debug doc ecm flint llvm mpc mpfr openmp test 
tcmalloc threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2021-04-30 Thread Agostino Sarubbo
commit: 1210ba68f1f62ee19840f70eb47e060d9e2746d1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Apr 30 15:22:44 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Apr 30 15:22:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1210ba68

sci-libs/symengine: amd64 stable wrt bug #786081

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/symengine/symengine-0.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.7.0.ebuild 
b/sci-libs/symengine/symengine-0.7.0.ebuild
index 5a026514ef6..04021504e16 100644
--- a/sci-libs/symengine/symengine-0.7.0.ebuild
+++ b/sci-libs/symengine/symengine-0.7.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/sympy/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0/0.4"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="arb benchmarks boost debug doc ecm flint llvm mpc mpfr openmp test 
tcmalloc threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/, sci-libs/symengine/files/

2021-03-13 Thread Sam James
commit: 8a9f1302a2520b7f2dc8ec83a5546fb1a8afef0e
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 13 09:13:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 13 09:42:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a9f1302

sci-libs/symengine: add 0.7.0

Signed-off-by: Sam James  gentoo.org>

 sci-libs/symengine/Manifest|  1 +
 .../files/symengine-0.7.0-cmake-build-type.patch   | 25 +++
 sci-libs/symengine/symengine-0.7.0.ebuild  | 86 ++
 3 files changed, 112 insertions(+)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index bf9e0f69921..8add269cb67 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1 +1,2 @@
 DIST symengine-0.6.0.tar.gz 763481 BLAKE2B 
37fe94ad08463b31c7387ab296b201a4dda821ba59dfa548d0c42e70d23958bae24df3f035bd3fffb46cc08cc010d13a25e607a9e0644e9b3c0602fa0eb363b3
 SHA512 
cc6f0468534e5bcd466a810d44f9884b17858ca6c7151cdcadb3af0f7d8faf0d96697d5887ab65fc9094de80df825f8243dabc54e3f5c387be544880f49b482b
+DIST symengine-0.7.0.tar.gz 802307 BLAKE2B 
de207f565f179deae37479eec82dfced3d83bfb7e643b4e6969135e10130dd05c888f34aa75c76c238ff1babfd0864f3329c3deee126b84ec33c4937c11dc20c
 SHA512 
fd3198bc4a05ca2b9b8a58039cc21af65b44457f295362a1a9b8dbf9c6e3df5186c0c84b289bc9fe85d9efd5ac1a683f6b7ba9a661fb6d913d6ceefb14ee2348

diff --git a/sci-libs/symengine/files/symengine-0.7.0-cmake-build-type.patch 
b/sci-libs/symengine/files/symengine-0.7.0-cmake-build-type.patch
new file mode 100644
index 000..f490521f5c9
--- /dev/null
+++ b/sci-libs/symengine/files/symengine-0.7.0-cmake-build-type.patch
@@ -0,0 +1,25 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index cf1d213..3067481 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -17,11 +17,6 @@ if (NOT CMAKE_BUILD_TYPE)
+ set(CMAKE_BUILD_TYPE Release
+ CACHE STRING "Build type (Debug, Release)" FORCE)
+ endif ()
+-if (NOT (CMAKE_BUILD_TYPE STREQUAL "Debug" OR
+-CMAKE_BUILD_TYPE STREQUAL "Release"))
+-message("${CMAKE_BUILD_TYPE}")
+-message(FATAL_ERROR "CMAKE_BUILD_TYPE must be one of: Debug, Release 
(current value: '${CMAKE_BUILD_TYPE}')")
+-endif ()
+ 
+ set(BUILD_FOR_DISTRIBUTION no
+ CACHE BOOL "Building SymEngine for a distribution")
+@@ -138,7 +133,7 @@ endif()
+ try_compile(HAVE_SYMENGINE_STD_TO_STRING "${CMAKE_CURRENT_BINARY_DIR}/cxx" 
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/checkstdtostring.cpp"
+   CMAKE_FLAGS "-DCOMPILE_DEFINITIONS=${CMAKE_CXX_FLAGS}")
+ 
+-if ((CMAKE_CXX_COMPILER_ID MATCHES Clang) AND (CMAKE_BUILD_TYPE STREQUAL 
"Release"))
++if ((CMAKE_CXX_COMPILER_ID MATCHES Clang) AND (NOT(CMAKE_BUILD_TYPE STREQUAL 
"Debug")))
+ try_compile(CHECK_CLANG "${CMAKE_CURRENT_BINARY_DIR}/cxx" 
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/checkclang.cpp")
+ if (NOT ${CHECK_CLANG})
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} 
-D__extern_always_inline=inline" )

diff --git a/sci-libs/symengine/symengine-0.7.0.ebuild 
b/sci-libs/symengine/symengine-0.7.0.ebuild
new file mode 100644
index 000..5a026514ef6
--- /dev/null
+++ b/sci-libs/symengine/symengine-0.7.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake 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 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="arb benchmarks boost debug doc ecm 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:= )
+   ecm? ( sci-mathematics/gmp-ecm )
+   flint? ( sci-mathematics/flint:= )
+   mpc? ( dev-libs/mpc:= )
+   tcmalloc? ( dev-util/google-perftools )
+"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen[dot] )
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.7.0-cmake-build-type.patch"
+)
+
+pkg_pretend() {
+   use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+}
+
+src_prepare() {
+   cmake_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
+   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
+   

[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2020-10-27 Thread Sam James
commit: e922e661e28fea3efb6c08b800964073d5ad768e
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 27 19:55:26 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 27 19:55:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e922e661

sci-libs/symengine: Keyword 0.6.0 arm64, #749927

Signed-off-by: Sam James  gentoo.org>

 sci-libs/symengine/symengine-0.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.6.0.ebuild 
b/sci-libs/symengine/symengine-0.6.0.ebuild
index c0cc3300287..ae13a29f65d 100644
--- a/sci-libs/symengine/symengine-0.6.0.ebuild
+++ b/sci-libs/symengine/symengine-0.6.0.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 ~arm x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
 IUSE="arb benchmarks boost debug doc ecm flint llvm mpc mpfr openmp test 
tcmalloc threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2020-10-26 Thread Sam James
commit: 1d792d5ebed4d1ec6186b450ae8ed410bb230157
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 27 05:08:12 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 27 05:08:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d792d5e

sci-libs/symengine: Keyword 0.6.0 arm, #749927

Signed-off-by: Sam James  gentoo.org>

 sci-libs/symengine/symengine-0.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.6.0.ebuild 
b/sci-libs/symengine/symengine-0.6.0.ebuild
index 2c9b5a766fd..c0cc3300287 100644
--- a/sci-libs/symengine/symengine-0.6.0.ebuild
+++ b/sci-libs/symengine/symengine-0.6.0.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 ~arm x86 ~amd64-linux ~x86-linux"
 IUSE="arb benchmarks boost debug doc ecm flint llvm mpc mpfr openmp test 
tcmalloc threads"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2020-08-31 Thread Sam James
commit: 70b0e47e0f52d567dc00777e84ed7cdf3976c8b7
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 31 14:14:39 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 31 14:14:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70b0e47e

sci-libs/symengine: cleanup old

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 sci-libs/symengine/Manifest  |  1 -
 sci-libs/symengine/symengine-0.5.0-r1.ebuild | 81 
 2 files changed, 82 deletions(-)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index 136367fe25e..bf9e0f69921 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1,2 +1 @@
-DIST symengine-0.5.0.tar.gz 761321 BLAKE2B 
ddff0e756188f375e966b92e6e7796936b8b6fe1a884c036066dc09d46183f157761c9813fe27366e625b7cc070381332964a12f14617be66b0f38f536c0518d
 SHA512 
0b94b531f71adf9129440e0664a5b5ce23453de6c8d22ed385958b38cda9bc2b356a0182a80076f47b217e9f6b5a57f059b040fddf7d69694d5bd5857b0a046b
 DIST symengine-0.6.0.tar.gz 763481 BLAKE2B 
37fe94ad08463b31c7387ab296b201a4dda821ba59dfa548d0c42e70d23958bae24df3f035bd3fffb46cc08cc010d13a25e607a9e0644e9b3c0602fa0eb363b3
 SHA512 
cc6f0468534e5bcd466a810d44f9884b17858ca6c7151cdcadb3af0f7d8faf0d96697d5887ab65fc9094de80df825f8243dabc54e3f5c387be544880f49b482b

diff --git a/sci-libs/symengine/symengine-0.5.0-r1.ebuild 
b/sci-libs/symengine/symengine-0.5.0-r1.ebuild
deleted file mode 100644
index 2c9b5a766fd..000
--- a/sci-libs/symengine/symengine-0.5.0-r1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_BUILD_TYPE=Release
-inherit cmake 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 ecm 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:= )
-   ecm? ( sci-mathematics/gmp-ecm )
-   flint? ( sci-mathematics/flint:= )
-   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_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
-   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=(
-   -DINTEGER_CLASS="${int_class}"
-   -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)"
-   -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
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2020-08-31 Thread Sam James
commit: c71aac0ae0ba4c4ff36f934c608b0ee7d62653a1
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 31 13:47:57 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 31 13:49:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c71aac0a

sci-libs/symengine: Stabilize 0.6.0 amd64, #737524

Signed-off-by: Sam James  gentoo.org>

 sci-libs/symengine/symengine-0.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.6.0.ebuild 
b/sci-libs/symengine/symengine-0.6.0.ebuild
index 4feb7c86fc0..2c9b5a766fd 100644
--- a/sci-libs/symengine/symengine-0.6.0.ebuild
+++ b/sci-libs/symengine/symengine-0.6.0.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 )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2020-08-30 Thread Sam James
commit: 20ad22e9ff84cb1d199a7d12f8f408d43c7509b8
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 30 23:17:04 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 30 23:17:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ad22e9

sci-libs/symengine: Stabilize 0.6.0 x86, #737524

Signed-off-by: Sam James  gentoo.org>

 sci-libs/symengine/symengine-0.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.6.0.ebuild 
b/sci-libs/symengine/symengine-0.6.0.ebuild
index f1f0af9df4f..4feb7c86fc0 100644
--- a/sci-libs/symengine/symengine-0.6.0.ebuild
+++ b/sci-libs/symengine/symengine-0.6.0.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 )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2020-05-02 Thread Matthias Maier
commit: 98cb6b1bbd2776633c8d5623d94089f724907c72
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat May  2 20:13:00 2020 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sat May  2 20:15:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98cb6b1b

sci-libs/symengine: version bump to 0.6.0

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/symengine/Manifest   |  1 +
 sci-libs/symengine/symengine-0.6.0.ebuild | 81 +++
 2 files changed, 82 insertions(+)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index aace1016e68..136367fe25e 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1 +1,2 @@
 DIST symengine-0.5.0.tar.gz 761321 BLAKE2B 
ddff0e756188f375e966b92e6e7796936b8b6fe1a884c036066dc09d46183f157761c9813fe27366e625b7cc070381332964a12f14617be66b0f38f536c0518d
 SHA512 
0b94b531f71adf9129440e0664a5b5ce23453de6c8d22ed385958b38cda9bc2b356a0182a80076f47b217e9f6b5a57f059b040fddf7d69694d5bd5857b0a046b
+DIST symengine-0.6.0.tar.gz 763481 BLAKE2B 
37fe94ad08463b31c7387ab296b201a4dda821ba59dfa548d0c42e70d23958bae24df3f035bd3fffb46cc08cc010d13a25e607a9e0644e9b3c0602fa0eb363b3
 SHA512 
cc6f0468534e5bcd466a810d44f9884b17858ca6c7151cdcadb3af0f7d8faf0d96697d5887ab65fc9094de80df825f8243dabc54e3f5c387be544880f49b482b

diff --git a/sci-libs/symengine/symengine-0.6.0.ebuild 
b/sci-libs/symengine/symengine-0.6.0.ebuild
new file mode 100644
index 000..f1f0af9df4f
--- /dev/null
+++ b/sci-libs/symengine/symengine-0.6.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_BUILD_TYPE=Release
+inherit cmake 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 ecm 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:= )
+   ecm? ( sci-mathematics/gmp-ecm )
+   flint? ( sci-mathematics/flint:= )
+   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_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
+   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=(
+   -DINTEGER_CLASS="${int_class}"
+   -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)"
+   -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
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2020-03-09 Thread Agostino Sarubbo
commit: 26bc57120cdc0662662bf54e7189da6d627223d5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar  9 12:48:14 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar  9 12:48:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26bc5712

sci-libs/symengine: x86 stable wrt bug #711872

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/symengine/symengine-0.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.5.0-r1.ebuild 
b/sci-libs/symengine/symengine-0.5.0-r1.ebuild
index 56131068dd6..2c9b5a766fd 100644
--- a/sci-libs/symengine/symengine-0.5.0-r1.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 )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2020-03-09 Thread Agostino Sarubbo
commit: 9692550bd443c18d5a4e7187f49f6a1ad390c991
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar  9 12:39:26 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar  9 12:39:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9692550b

sci-libs/symengine: amd64 stable wrt bug #711872

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/symengine/symengine-0.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.5.0-r1.ebuild 
b/sci-libs/symengine/symengine-0.5.0-r1.ebuild
index f1f0af9df4f..56131068dd6 100644
--- a/sci-libs/symengine/symengine-0.5.0-r1.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 )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2020-03-08 Thread Andreas Sturmlechner
commit: 284c9a2368f262f99f27284aac1f016b7862a442
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Mar  8 17:13:32 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Mar  8 17:46:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=284c9a23

sci-libs/symengine: Add missing USE flint dependency

Closes: https://bugs.gentoo.org/711878
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/symengine/symengine-0.5.0-r1.ebuild | 81 
 1 file changed, 81 insertions(+)

diff --git a/sci-libs/symengine/symengine-0.5.0-r1.ebuild 
b/sci-libs/symengine/symengine-0.5.0-r1.ebuild
new file mode 100644
index 000..f1f0af9df4f
--- /dev/null
+++ b/sci-libs/symengine/symengine-0.5.0-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_BUILD_TYPE=Release
+inherit cmake 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 ecm 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:= )
+   ecm? ( sci-mathematics/gmp-ecm )
+   flint? ( sci-mathematics/flint:= )
+   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_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
+   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=(
+   -DINTEGER_CLASS="${int_class}"
+   -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)"
+   -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
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2020-03-08 Thread Andreas Sturmlechner
commit: e852da4cd330b011ded04d76d17725a3367489b8
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Mar  8 17:13:57 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Mar  8 17:46:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e852da4c

sci-libs/symengine: Drop 0.5.0 (r0)

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/symengine/symengine-0.5.0.ebuild | 80 ---
 1 file changed, 80 deletions(-)

diff --git a/sci-libs/symengine/symengine-0.5.0.ebuild 
b/sci-libs/symengine/symengine-0.5.0.ebuild
deleted file mode 100644
index 15ce1011677..000
--- a/sci-libs/symengine/symengine-0.5.0.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_BUILD_TYPE=Release
-inherit cmake 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 ecm 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:= )
-   ecm? ( sci-mathematics/gmp-ecm )
-   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_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
-   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=(
-   -DINTEGER_CLASS="${int_class}"
-   -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)"
-   -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
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2020-03-08 Thread Andreas Sturmlechner
commit: b9581594e2e91505ad33b8c4b613e6779ba0165d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Mar  8 16:15:34 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Mar  8 16:15:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9581594

sci-libs/symengine: Drop 0.3.0-r1 and 0.4.0

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/symengine/Manifest  |  2 -
 sci-libs/symengine/symengine-0.3.0-r1.ebuild | 77 
 sci-libs/symengine/symengine-0.4.0.ebuild| 77 
 3 files changed, 156 deletions(-)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index cdd3d1b700a..aace1016e68 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1,3 +1 @@
-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

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 bb4276b5f7e..000
--- 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 fcecc23453e..000
--- a/sci-libs/symengine/symengine-0.4.0.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2020 Gentoo 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2020-03-08 Thread Andreas Sturmlechner
commit: 1b1ddcb4a9746a55216d63b20c54ca42198f8c45
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Mar  8 15:42:55 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Mar  8 16:01:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b1ddcb4

sci-libs/symengine: Fix unused cmake var warning

Closes: https://bugs.gentoo.org/659512
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/symengine/symengine-0.5.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.5.0.ebuild 
b/sci-libs/symengine/symengine-0.5.0.ebuild
index 5949ae7acbb..15ce1011677 100644
--- a/sci-libs/symengine/symengine-0.5.0.ebuild
+++ b/sci-libs/symengine/symengine-0.5.0.ebuild
@@ -56,7 +56,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 +73,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
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2019-12-28 Thread 罗百科
commit: 01a6c94e2c5ea98f10d17d60a77a6ebeab9d03fb
Author: Patrick Lauer  gentoo  org>
AuthorDate: Sat Dec 28 11:55:15 2019 +
Commit: 罗百科  gentoo  org>
CommitDate: Sat Dec 28 11:56:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01a6c94e

sci-libs/symengine: Bump

Add support for gmp-ecm

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Patrick Lauer  gentoo.org>

 sci-libs/symengine/Manifest   |  1 +
 sci-libs/symengine/metadata.xml   |  1 +
 sci-libs/symengine/symengine-0.5.0.ebuild | 79 +++
 3 files changed, 81 insertions(+)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index d09067fd889..cdd3d1b700a 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1,2 +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

diff --git a/sci-libs/symengine/metadata.xml b/sci-libs/symengine/metadata.xml
index 63672cfa6a0..759e5c9c0a4 100644
--- a/sci-libs/symengine/metadata.xml
+++ b/sci-libs/symengine/metadata.xml
@@ -17,6 +17,7 @@
 Add support for arb 
(sci-mathematics/arb)
 Build benchmarks
 Add support for boost 
integers(dev-libs/boost)
+Add support for ECM integer factorization library 
(sci-mathematics/gmp-ecm)
 Add support for 
(sci-mathematics/flint)
 Build with LLVM
 Add support for multiprecision complex 
arithmetic(dev-libs/mpc)

diff --git a/sci-libs/symengine/symengine-0.5.0.ebuild 
b/sci-libs/symengine/symengine-0.5.0.ebuild
new file mode 100644
index 000..725e60e3d7f
--- /dev/null
+++ b/sci-libs/symengine/symengine-0.5.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils flag-o-matic
+
+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 ecm 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:= )
+   ecm? ( sci-mathematics/gmp-ecm )
+   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
+   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)"
+   

[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2019-04-08 Thread Matthias Maier
commit: cd25cce43514f2ba40af143aeee7fb4123445f2c
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Apr  9 03:16:08 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Tue Apr  9 03:16:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd25cce4

sci-libs/symengine: version bump to 0.4

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/symengine/Manifest   |  1 +
 sci-libs/symengine/symengine-0.4.0.ebuild | 76 +++
 2 files changed, 77 insertions(+)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
index 2dcbc705b41..d09067fd889 100644
--- a/sci-libs/symengine/Manifest
+++ b/sci-libs/symengine/Manifest
@@ -1 +1,2 @@
 DIST symengine-0.3.0.tar.gz 629813 BLAKE2B 
8d611703604f10d1ed8837708fa2125c0e84d12a8513d34e5d4bd44ae55395bcaa8fda92754b538ba1ecfdcacff83d079094dda9dfca6fdcdc4cccb0702cf484
 SHA512 
e4a906bb1cc5159003969871711f40b3c6bfb9e38ac25258dc5797933d55374a2f201c8a89e9af48821b24cc54408d4feb70f6de421e0a9fbf766d2b35846b83
+DIST symengine-0.4.0.tar.gz 753664 BLAKE2B 
c6296ceef20cfbb16803adc3c623429cf417c639d45d8cad742c3f7cf9d8171f22fb72e168cd07a6a705726a09133866fa497e2092ec4885ae4462d55adc416e
 SHA512 
162c4bb4c67e2f21a0a113726d7b0ad00cc3e80db0534e95109a41894dcd05ca03a3be39d1a56a336b4bb7926dadad72fbe6705c71df3448db99fde20139ad11

diff --git a/sci-libs/symengine/symengine-0.4.0.ebuild 
b/sci-libs/symengine/symengine-0.4.0.ebuild
new file mode 100644
index 000..eac0919d776
--- /dev/null
+++ b/sci-libs/symengine/symengine-0.4.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils flag-o-matic
+
+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"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2017-08-16 Thread Sebastien Fabbro
commit: 0305b5ebd2c552ef4e639c7da23d4f3f0a199acd
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Aug 16 18:10:32 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Aug 16 18:11:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0305b5eb

sci-libs/symengine: fix library directory for multilib-strict

Package-Manager: Portage-2.3.7, Repoman-2.3.3

 .../symengine/{symengine-0.3.0.ebuild => symengine-0.3.0-r1.ebuild} | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.3.0.ebuild 
b/sci-libs/symengine/symengine-0.3.0-r1.ebuild
similarity index 89%
rename from sci-libs/symengine/symengine-0.3.0.ebuild
rename to sci-libs/symengine/symengine-0.3.0-r1.ebuild
index 45298fd2cbb..c493c94e39e 100644
--- a/sci-libs/symengine/symengine-0.3.0.ebuild
+++ b/sci-libs/symengine/symengine-0.3.0-r1.ebuild
@@ -33,7 +33,11 @@ pkg_pretend() {
 src_prepare() {
cmake-utils_src_prepare
sed -e "s|DESTINATION doc| DESTINATION share/doc/${PF}/html|" \
-   -i CMakeLists.txt || die
+   -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() {



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2017-08-03 Thread Sebastien Fabbro
commit: a54d848892e3cc60c4a172ceefdd15da614e54d8
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Aug  2 18:43:07 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Thu Aug  3 17:33:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a54d8488

sci-libs/symengine: fix for cxxflags C++11

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 sci-libs/symengine/symengine-0.3.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.3.0.ebuild 
b/sci-libs/symengine/symengine-0.3.0.ebuild
index 5e0894d0d97..45298fd2cbb 100644
--- a/sci-libs/symengine/symengine-0.3.0.ebuild
+++ b/sci-libs/symengine/symengine-0.3.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit cmake-utils
+inherit cmake-utils flag-o-matic
 
 DESCRIPTION="Fast symbolic manipulation library, written in C++"
 HOMEPAGE="https://github.com/sympy/symengine;
@@ -67,5 +67,6 @@ src_configure() {
-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
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2017-07-26 Thread Sebastien Fabbro
commit: 7232e41956f0617679880628f02246e04c02fdb9
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jul 25 19:57:31 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jul 26 20:07:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7232e419

sci-libs/symengine: initial import

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 sci-libs/symengine/Manifest   |  1 +
 sci-libs/symengine/metadata.xml   | 25 +++
 sci-libs/symengine/symengine-0.3.0.ebuild | 71 +++
 3 files changed, 97 insertions(+)

diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest
new file mode 100644
index 000..89177fe1f11
--- /dev/null
+++ b/sci-libs/symengine/Manifest
@@ -0,0 +1 @@
+DIST symengine-0.3.0.tar.gz 629813 SHA256 
591463cb9e741d59f6dfd39a7943e3865d3afe9eac47d1a9cbf5ca74b9c49476 SHA512 
e4a906bb1cc5159003969871711f40b3c6bfb9e38ac25258dc5797933d55374a2f201c8a89e9af48821b24cc54408d4feb70f6de421e0a9fbf766d2b35846b83
 WHIRLPOOL 
c910a8d00edeb686c94b5ec473d69a6da4e4e33e7d126b2ccc9eef4c0dbf04b7e277c63020067fed66cb30e4b00a32c9384feca204054e142835710c70be0bd8

diff --git a/sci-libs/symengine/metadata.xml b/sci-libs/symengine/metadata.xml
new file mode 100644
index 000..63672cfa6a0
--- /dev/null
+++ b/sci-libs/symengine/metadata.xml
@@ -0,0 +1,25 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+sci-mathemat...@gentoo.org
+Gentoo Mathematics Project
+  
+  
+SymEngine is a standalone fast C++ symbolic manipulation
+library. Optional thin wrappers allow usage of the library from R,
+Python, Julia, Ruby, Haskell.
+  
+  
+sympy/symengine
+  
+  
+Add support for arb 
(sci-mathematics/arb)
+Build benchmarks
+Add support for boost 
integers(dev-libs/boost)
+Add support for 
(sci-mathematics/flint)
+Build with LLVM
+Add support for multiprecision complex 
arithmetic(dev-libs/mpc)
+Add support for multiprecision floating point 
rouding(dev-libs/mpfr)
+  
+

diff --git a/sci-libs/symengine/symengine-0.3.0.ebuild 
b/sci-libs/symengine/symengine-0.3.0.ebuild
new file mode 100644
index 000..5e0894d0d97
--- /dev/null
+++ b/sci-libs/symengine/symengine-0.3.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+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"
+
+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|" \
+   -i 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)"
+   )
+   CMAKE_BUILD_TYPE=Release cmake-utils_src_configure
+}