commit:     218bc180defa53e1eb1f4a8a65e1200ee79a002c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 20:53:26 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 20:56:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=218bc180

dev-python/sphinx: Replace virts with cond deps

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/sphinx/sphinx-1.7.5-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/sphinx/sphinx-1.7.5-r1.ebuild 
b/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
index acb0ed9348c..364127d57fd 100644
--- a/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
+++ b/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
@@ -36,7 +36,7 @@ RDEPEND="
        <dev-python/sphinx_rtd_theme-2.0[${PYTHON_USEDEP}]
        dev-python/packaging[${PYTHON_USEDEP}]
        dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
-       virtual/python-typing[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep 'dev-python/typing[${PYTHON_USEDEP}]' -2)
        latex? (
                dev-texlive/texlive-latexextra
                dev-texlive/texlive-luatex
@@ -49,6 +49,7 @@ RDEPEND="
 DEPEND="${RDEPEND}
        dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
+               $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' -2)
                dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
                dev-python/html5lib[${PYTHON_USEDEP}]
                dev-python/mock[${PYTHON_USEDEP}]
@@ -57,7 +58,6 @@ DEPEND="${RDEPEND}
                >=dev-python/sqlalchemy-0.9[${PYTHON_USEDEP}]
                >=dev-python/whoosh-2.0[${PYTHON_USEDEP}]
                virtual/imagemagick-tools[jpeg,png,svg]
-               virtual/python-enum34[${PYTHON_USEDEP}]
                dev-texlive/texlive-latexextra
                dev-texlive/texlive-luatex
                app-text/dvipng

Reply via email to