public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Aisha Tammy" <gentoo@aisha.cc>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/numba/
Date: Sat, 26 Sep 2020 23:03:09 +0000 (UTC)	[thread overview]
Message-ID: <1601161379.262ab1d954eda1c0557944c4a9ddb37c9d156db1.epsilon-0@gentoo> (raw)

commit:     262ab1d954eda1c0557944c4a9ddb37c9d156db1
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sat Sep 26 23:02:59 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Sat Sep 26 23:02:59 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=262ab1d9

dev-python/numba: fix use flag checks

found when doing compilations without tbb

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 dev-python/numba/numba-0.51.2.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-python/numba/numba-0.51.2.ebuild b/dev-python/numba/numba-0.51.2.ebuild
index 597d6ac54..9f9af4049 100644
--- a/dev-python/numba/numba-0.51.2.ebuild
+++ b/dev-python/numba/numba-0.51.2.ebuild
@@ -18,7 +18,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 IUSE="openmp threads"
 
-DEPEND="
+RDEPEND="${PYTHON_DEPS}
 	>=dev-python/llvmlite-0.34.0[${PYTHON_USEDEP}]
 	<dev-python/llvmlite-0.35.0
 	dev-python/numpy[${PYTHON_USEDEP}]
@@ -26,9 +26,7 @@ DEPEND="
 	dev-python/scipy[${PYTHON_USEDEP}]
 	threads? ( dev-cpp/tbb )
 "
-RDEPEND="${DEPEND}
-	${PYTHON_DEPS}
-"
+DEPEND="${RDEPEND}"
 
 DISTUTILS_IN_SOURCE_BUILD=1
 distutils_enable_tests unittest
@@ -39,12 +37,12 @@ PATCHES=(
 )
 
 pkg_setup() {
-	if ! usex openmp; then
+	if ! use openmp; then
 		export NUMBA_DISABLE_OPENMP=1
 	else
 		unset NUMBA_DISABLE_OPENMP
 	fi
-	if ! usex threads; then
+	if ! use threads; then
 		export NUMBA_DISABLE_TBB=1
 	else
 		unset NUMBA_DISABLE_TBB


             reply	other threads:[~2020-09-26 23:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-26 23:03 Aisha Tammy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-01 23:14 [gentoo-commits] proj/sci:master commit in: dev-python/numba/ Aisha Tammy
2021-04-22 19:38 Aisha Tammy
2021-05-08 14:23 Andrew Ammerlaan
2021-05-08 14:24 Andrew Ammerlaan
2021-05-11  8:38 Andrew Ammerlaan
2021-06-05 12:49 Andrew Ammerlaan
2021-09-15 18:39 Andrew Ammerlaan
2021-09-15 18:39 Andrew Ammerlaan
2022-01-16 15:23 Andrew Ammerlaan
2022-01-30  8:50 Benda XU
2022-08-07  9:07 Andrew Ammerlaan
2022-08-07  9:07 Andrew Ammerlaan
2022-10-28 10:17 Andrew Ammerlaan
2023-02-16  8:11 Horea Christian
2023-02-16  8:11 Horea Christian
2023-08-09  9:19 Benda XU
2025-02-06 13:45 Nowa Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1601161379.262ab1d954eda1c0557944c4a9ddb37c9d156db1.epsilon-0@gentoo \
    --to=gentoo@aisha.cc \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox