commit:     72bea55e979cf98bc25ab9ab77c6068d2d9ca995
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu May 11 21:26:54 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu May 11 21:44:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72bea55e

app-admin/ansible-molecule: tweak USE=doc dependencies

* mkdocstrings-python now takes care of pulling in mkdocstrings,
  and the latter no longer has IUSE=python
* according to Bug #906126 dependencies of the mkdocs plugin 'social'
  will likely only be mentioned as an optfeature, therefore no longer
  consider them only being here temporarily
* pulling in media-fonts/roboto should help with Bug #906141, I'll
  only test this on an offline system later though

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild
index c8963517cde0..801a44ed2d45 100644
--- a/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild
@@ -11,6 +11,7 @@ DOCS_DEPEND="
        >=dev-python/mkdocs-ansible-0.1.4
        dev-python/mkdocs-autorefs
        dev-python/mkdocstrings-python
+       media-gfx/cairosvg
 "
 PYPI_PN="molecule"
 
@@ -39,16 +40,11 @@ RDEPEND="$(python_gen_cond_dep '
        >=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
        selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
 ')"
-# cairosvg and pillow are technically speaking dependencies of the 
mkdocs-material
-# plugin "social" (Bug #906126).
-# mkdocstrings is here rather than in DOCS_DEPEND because the latter does not 
seem
-# to support the [use] syntax at present.
 BDEPEND="$(python_gen_cond_dep '
        >=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}]
        doc? (
-               dev-python/mkdocstrings[python,${PYTHON_USEDEP}]
                dev-python/pillow[truetype,${PYTHON_USEDEP}]
-               media-gfx/cairosvg
+               media-fonts/roboto
        )
        test? (
                app-admin/ansible-lint[${PYTHON_USEDEP}]

Reply via email to