commit: 4edc99a641749b271f518524da77ad5bd80e45be
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 21:03:10 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 21:09:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4edc99a6
dev-python/entrypoints: Replace virts with cond deps
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/entrypoints/entrypoints-0.3-r1.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev-python/entrypoints/entrypoints-0.3-r1.ebuild
b/dev-python/entrypoints/entrypoints-0.3-r1.ebuild
index 0b64e872fe3..0eb427f32fa 100644
--- a/dev-python/entrypoints/entrypoints-0.3-r1.ebuild
+++ b/dev-python/entrypoints/entrypoints-0.3-r1.ebuild
@@ -19,13 +19,15 @@ IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
- $(python_gen_cond_dep
'>=dev-python/configparser-3.5.0[${PYTHON_USEDEP}]' 'python2*')
+ $(python_gen_cond_dep
'>=dev-python/configparser-3.5.0[${PYTHON_USEDEP}]' -2)
"
BDEPEND="
test? (
${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
- virtual/python-pathlib[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/pathlib[${PYTHON_USEDEP}]
+ ' -2)
)
"