1 |
commit: 262ab1d954eda1c0557944c4a9ddb37c9d156db1 |
2 |
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
3 |
AuthorDate: Sat Sep 26 23:02:59 2020 +0000 |
4 |
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
5 |
CommitDate: Sat Sep 26 23:02:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=262ab1d9 |
7 |
|
8 |
dev-python/numba: fix use flag checks |
9 |
|
10 |
found when doing compilations without tbb |
11 |
|
12 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
13 |
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> |
14 |
|
15 |
dev-python/numba/numba-0.51.2.ebuild | 10 ++++------ |
16 |
1 file changed, 4 insertions(+), 6 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/numba/numba-0.51.2.ebuild b/dev-python/numba/numba-0.51.2.ebuild |
19 |
index 597d6ac54..9f9af4049 100644 |
20 |
--- a/dev-python/numba/numba-0.51.2.ebuild |
21 |
+++ b/dev-python/numba/numba-0.51.2.ebuild |
22 |
@@ -18,7 +18,7 @@ SLOT="0" |
23 |
KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
24 |
IUSE="openmp threads" |
25 |
|
26 |
-DEPEND=" |
27 |
+RDEPEND="${PYTHON_DEPS} |
28 |
>=dev-python/llvmlite-0.34.0[${PYTHON_USEDEP}] |
29 |
<dev-python/llvmlite-0.35.0 |
30 |
dev-python/numpy[${PYTHON_USEDEP}] |
31 |
@@ -26,9 +26,7 @@ DEPEND=" |
32 |
dev-python/scipy[${PYTHON_USEDEP}] |
33 |
threads? ( dev-cpp/tbb ) |
34 |
" |
35 |
-RDEPEND="${DEPEND} |
36 |
- ${PYTHON_DEPS} |
37 |
-" |
38 |
+DEPEND="${RDEPEND}" |
39 |
|
40 |
DISTUTILS_IN_SOURCE_BUILD=1 |
41 |
distutils_enable_tests unittest |
42 |
@@ -39,12 +37,12 @@ PATCHES=( |
43 |
) |
44 |
|
45 |
pkg_setup() { |
46 |
- if ! usex openmp; then |
47 |
+ if ! use openmp; then |
48 |
export NUMBA_DISABLE_OPENMP=1 |
49 |
else |
50 |
unset NUMBA_DISABLE_OPENMP |
51 |
fi |
52 |
- if ! usex threads; then |
53 |
+ if ! use threads; then |
54 |
export NUMBA_DISABLE_TBB=1 |
55 |
else |
56 |
unset NUMBA_DISABLE_TBB |