games-util/legendary: use single python target.

The ebuild should install the application only for one supported python
implementation and not for multiple ones at the same time.

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Zuber <a.zuber@gmx.ch>
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
Closes: https://github.com/gentoo/guru/pull/17
This commit is contained in:
Andreas Zuber
2020-07-31 10:43:13 +02:00
committed by Ronny (tastytea) Gutbrod
parent 4b4682b4a9
commit 37ea770d0b
2 changed files with 11 additions and 5 deletions

View File

@@ -4,6 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python3_8 )
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1
@@ -16,7 +17,9 @@ SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
<dev-python/requests-3.0[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
<dev-python/requests-3.0[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
')
"
DEPEND="${RDEPEND}"

View File

@@ -3,7 +3,8 @@
EAPI=7
PYTHON_COMPAT=( python3_8 python3_9 )
PYTHON_COMPAT=( python3_{8,9} )
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1
@@ -16,7 +17,9 @@ SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
<dev-python/requests-3.0[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
<dev-python/requests-3.0[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
')
"
DEPEND="${RDEPEND}"