dev-python/rdflib: Update dependencies
authorMichał Górny <mgorny@gentoo.org>
Sun, 29 Mar 2020 06:43:52 +0000 (08:43 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 29 Mar 2020 06:43:52 +0000 (08:43 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/rdflib/rdflib-4.2.2-r1.ebuild

index ea03105496fa36fb915f00776baea054f8096be3..e44194ec0bc52fa674d7c93d9970d43facc26f3a 100644 (file)
@@ -27,8 +27,12 @@ RDEPEND="
        dev-python/html5lib[${PYTHON_USEDEP}]
        dev-python/pyparsing[${PYTHON_USEDEP}]
        berkdb? ( dev-python/bsddb3[${PYTHON_USEDEP}] )
-       mysql? ( dev-python/mysql-python[$(python_gen_usedep 'python2*')] )
-       redland? ( dev-libs/redland-bindings[python,$(python_gen_usedep 'python2*')] )"
+       mysql? (
+               $(python_gen_cond_dep '
+                       dev-python/mysql-python[${PYTHON_USEDEP}]
+               ' -2)
+       )
+       redland? ( dev-libs/redland-bindings[python,${PYTHON_USEDEP}] )"
 DEPEND="${RDEPEND}
        doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
        test? (