1 |
commit: 811700044421890b5085b1f15cd8a51cd39d8909 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 16 09:50:03 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 16 10:04:58 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81170004 |
7 |
|
8 |
sci-physics/yoda: Disable python2 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/735196 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
.../{yoda-1.7.0-r1.ebuild => yoda-1.7.0-r2.ebuild} | 29 ++++++++-------------- |
14 |
1 file changed, 10 insertions(+), 19 deletions(-) |
15 |
|
16 |
diff --git a/sci-physics/yoda/yoda-1.7.0-r1.ebuild b/sci-physics/yoda/yoda-1.7.0-r2.ebuild |
17 |
similarity index 58% |
18 |
rename from sci-physics/yoda/yoda-1.7.0-r1.ebuild |
19 |
rename to sci-physics/yoda/yoda-1.7.0-r2.ebuild |
20 |
index a29234715ba..918658484a9 100644 |
21 |
--- a/sci-physics/yoda/yoda-1.7.0-r1.ebuild |
22 |
+++ b/sci-physics/yoda/yoda-1.7.0-r2.ebuild |
23 |
@@ -3,9 +3,7 @@ |
24 |
|
25 |
EAPI=6 |
26 |
|
27 |
-PYTHON_COMPAT=( python2_7 ) |
28 |
- |
29 |
-inherit bash-completion-r1 python-single-r1 |
30 |
+inherit bash-completion-r1 |
31 |
|
32 |
DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis" |
33 |
HOMEPAGE="http://yoda.hepforge.org/" |
34 |
@@ -15,33 +13,26 @@ LICENSE="GPL-2" |
35 |
|
36 |
SLOT="0/${PV}" |
37 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
38 |
-IUSE="python root static-libs" |
39 |
+IUSE="root static-libs" |
40 |
|
41 |
RDEPEND=" |
42 |
- python? ( ${PYTHON_DEPS} ) |
43 |
- root? ( sci-physics/root:=[python=,${PYTHON_SINGLE_USEDEP}] )" |
44 |
-DEPEND="${RDEPEND} |
45 |
- python? ( |
46 |
- $(python_gen_cond_dep ' |
47 |
- dev-python/cython[${PYTHON_MULTI_USEDEP}] |
48 |
- ') |
49 |
- )" |
50 |
- |
51 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
52 |
+ root? ( sci-physics/root:= )" |
53 |
+DEPEND="${RDEPEND}" |
54 |
|
55 |
S="${WORKDIR}/${P^^}" |
56 |
|
57 |
-pkg_setup() { |
58 |
- use python && python-single-r1_pkg_setup |
59 |
-} |
60 |
- |
61 |
src_configure() { |
62 |
econf \ |
63 |
- $(use_enable python pyext) \ |
64 |
+ --disable-pyext \ |
65 |
$(use_enable root) \ |
66 |
$(use_enable static-libs static) |
67 |
} |
68 |
|
69 |
+src_test() { |
70 |
+ # PYTESTS and SHTESTS both require python tools |
71 |
+ emake check PYTESTS= SHTESTS= |
72 |
+} |
73 |
+ |
74 |
src_install() { |
75 |
default |
76 |
newbashcomp "${ED%/}"/usr/share/YODA/yoda-completion ${PN} |