1 |
commit: 37ea770d0bd02f774725ec255f89093843c66763 |
2 |
Author: Andreas Zuber <a.zuber <AT> gmx <DOT> ch> |
3 |
AuthorDate: Fri Jul 31 08:43:13 2020 +0000 |
4 |
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> |
5 |
CommitDate: Fri Jul 31 11:26:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37ea770d |
7 |
|
8 |
games-util/legendary: use single python target. |
9 |
|
10 |
The ebuild should install the application only for one supported python |
11 |
implementation and not for multiple ones at the same time. |
12 |
|
13 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
14 |
Signed-off-by: Andreas Zuber <a.zuber <AT> gmx.ch> |
15 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
16 |
Closes: https://github.com/gentoo/guru/pull/17 |
17 |
|
18 |
.../{legendary-0.0.18.ebuild => legendary-0.0.18-r1.ebuild} | 7 +++++-- |
19 |
.../{legendary-0.0.19.ebuild => legendary-0.0.19-r1.ebuild} | 9 ++++++--- |
20 |
2 files changed, 11 insertions(+), 5 deletions(-) |
21 |
|
22 |
diff --git a/games-util/legendary/legendary-0.0.18.ebuild b/games-util/legendary/legendary-0.0.18-r1.ebuild |
23 |
similarity index 76% |
24 |
rename from games-util/legendary/legendary-0.0.18.ebuild |
25 |
rename to games-util/legendary/legendary-0.0.18-r1.ebuild |
26 |
index 7310e06..2c4bab1 100644 |
27 |
--- a/games-util/legendary/legendary-0.0.18.ebuild |
28 |
+++ b/games-util/legendary/legendary-0.0.18-r1.ebuild |
29 |
@@ -4,6 +4,7 @@ |
30 |
EAPI=7 |
31 |
|
32 |
PYTHON_COMPAT=( python3_8 ) |
33 |
+DISTUTILS_SINGLE_IMPL=1 |
34 |
|
35 |
inherit distutils-r1 |
36 |
|
37 |
@@ -16,7 +17,9 @@ SLOT="0" |
38 |
KEYWORDS="~amd64" |
39 |
|
40 |
RDEPEND=" |
41 |
- <dev-python/requests-3.0[${PYTHON_USEDEP}] |
42 |
- dev-python/wheel[${PYTHON_USEDEP}] |
43 |
+ $(python_gen_cond_dep ' |
44 |
+ <dev-python/requests-3.0[${PYTHON_USEDEP}] |
45 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
46 |
+ ') |
47 |
" |
48 |
DEPEND="${RDEPEND}" |
49 |
|
50 |
diff --git a/games-util/legendary/legendary-0.0.19.ebuild b/games-util/legendary/legendary-0.0.19-r1.ebuild |
51 |
similarity index 71% |
52 |
rename from games-util/legendary/legendary-0.0.19.ebuild |
53 |
rename to games-util/legendary/legendary-0.0.19-r1.ebuild |
54 |
index 86b4856..609a30c 100644 |
55 |
--- a/games-util/legendary/legendary-0.0.19.ebuild |
56 |
+++ b/games-util/legendary/legendary-0.0.19-r1.ebuild |
57 |
@@ -3,7 +3,8 @@ |
58 |
|
59 |
EAPI=7 |
60 |
|
61 |
-PYTHON_COMPAT=( python3_8 python3_9 ) |
62 |
+PYTHON_COMPAT=( python3_{8,9} ) |
63 |
+DISTUTILS_SINGLE_IMPL=1 |
64 |
|
65 |
inherit distutils-r1 |
66 |
|
67 |
@@ -16,7 +17,9 @@ SLOT="0" |
68 |
KEYWORDS="~amd64" |
69 |
|
70 |
RDEPEND=" |
71 |
- <dev-python/requests-3.0[${PYTHON_USEDEP}] |
72 |
- dev-python/wheel[${PYTHON_USEDEP}] |
73 |
+ $(python_gen_cond_dep ' |
74 |
+ <dev-python/requests-3.0[${PYTHON_USEDEP}] |
75 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
76 |
+ ') |
77 |
" |
78 |
DEPEND="${RDEPEND}" |