From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DA462138BF0 for ; Tue, 6 Oct 2015 21:01:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5EAFA21C020; Tue, 6 Oct 2015 21:01:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E1CA321C020 for ; Tue, 6 Oct 2015 21:01:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E133134091A for ; Tue, 6 Oct 2015 21:01:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B45AFB16 for ; Tue, 6 Oct 2015 21:01:45 +0000 (UTC) From: "Marius Brehler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marius Brehler" Message-ID: <1442093669.0b3f38a08d320d1d460ae9d2f93076c7ff1ec84c.marbre@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/symengine/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/symengine/symengine-0.1.0.ebuild sci-libs/symengine/symengine-9999.ebuild X-VCS-Directories: sci-libs/symengine/ X-VCS-Committer: marbre X-VCS-Committer-Name: Marius Brehler X-VCS-Revision: 0b3f38a08d320d1d460ae9d2f93076c7ff1ec84c X-VCS-Branch: master Date: Tue, 6 Oct 2015 21:01:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 75842156-ce68-41a5-b50f-3fab40c712c4 X-Archives-Hash: 3e20e8725988b82fbbe9c180600ce843 commit: 0b3f38a08d320d1d460ae9d2f93076c7ff1ec84c Author: layman localhost> AuthorDate: Sat Sep 12 12:54:43 2015 +0000 Commit: Marius Brehler linux sungazer 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 }