commit: 0b3f38a08d320d1d460ae9d2f93076c7ff1ec84c
Author: layman <layman <AT> localhost>
AuthorDate: Sat Sep 12 12:54:43 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Sat Sep 12 21:34:29 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0b3f38a0
sci-libs/symengine: cleaning up syntax; remove openmpi dep
Package-Manager: portage-2.2.20-prefix
sci-libs/symengine/symengine-0.1.0.ebuild | 11 ++++-------
sci-libs/symengine/symengine-9999.ebuild | 12 ++++--------
2 files changed, 8 insertions(+), 15 deletions(-)
diff --git a/sci-libs/symengine/symengine-0.1.0.ebuild
b/sci-libs/symengine/symengine-0.1.0.ebuild
index cc464d1..8f549ee 100644
--- a/sci-libs/symengine/symengine-0.1.0.ebuild
+++ b/sci-libs/symengine/symengine-0.1.0.ebuild
@@ -23,7 +23,6 @@ RDEPEND="
boost? ( dev-libs/boost )
python? ( dev-python/numpy[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
- openmp? ( sys-cluster/openmpi )
python? (
dev-python/cython[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}] )"
@@ -31,12 +30,10 @@ DEPEND="${RDEPEND}
CMAKE_BUILD_TYPE=Release
pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]]; then
- if use openmp; then
- if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
- ewarn "OpenMP is not available in your current
selected gcc"
- die "need openmp capable gcc"
- fi
+ if use openmp && [[ ${MERGE_TYPE} != binary ]]; then
+ if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
+ ewarn "OpenMP is not available in your current selected
gcc"
+ die "need openmp capable gcc"
fi
fi
}
diff --git a/sci-libs/symengine/symengine-9999.ebuild
b/sci-libs/symengine/symengine-9999.ebuild
index 2949716..9e6ab53 100644
--- a/sci-libs/symengine/symengine-9999.ebuild
+++ b/sci-libs/symengine/symengine-9999.ebuild
@@ -24,21 +24,17 @@ RDEPEND="
boost? ( dev-libs/boost )
python? ( dev-python/numpy[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
- openmp? ( sys-cluster/openmpi )
python? (
dev-python/cython[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}] )"
-
CMAKE_BUILD_TYPE=Release
pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]]; then
- if use openmp; then
- if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
- ewarn "OpenMP is not available in your current
selected gcc"
- die "need openmp capable gcc"
- fi
+ if use openmp && [[ ${MERGE_TYPE} != binary ]]; then
+ if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
+ ewarn "OpenMP is not available in your current selected
gcc"
+ die "need openmp capable gcc"
fi
fi
}