summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2023-05-11 22:13:29 +0100
committerMarek Szuba <marecki@gentoo.org>2023-05-11 22:44:34 +0100
commitd07f2e7d46c8443a8f14de5ebfd1a0538c35a34f (patch)
tree2bf019953c1e81a3b80af27179268ec3e39b1443 /dev-python/mkdocstrings
parentdev-python/mkdocstrings-python: add 1.0.0, drop 0.10.1 (diff)
downloadgentoo-d07f2e7d46c8443a8f14de5ebfd1a0538c35a34f.tar.gz
gentoo-d07f2e7d46c8443a8f14de5ebfd1a0538c35a34f.tar.bz2
gentoo-d07f2e7d46c8443a8f14de5ebfd1a0538c35a34f.zip
dev-python/mkdocstrings: revise relationship to mkdocstrings-python
Upstream, both packages depend on one another. However: - mkdocstrings dependency on mkdocstrings-python is optional - mkdocstrings-python does in fact import mkdocstrings code, whereas mkdocstrings only references mkdocstrings-python in tests Between the above and the fact it would be a bit redundant to have mkdocstrings ebuilds have USE flags for every single language handler we have in the tree, drop IUSE=python + only have mkdocstrings-python in BDEPEND (and even there, only if tests are to be run). Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-python/mkdocstrings')
-rw-r--r--dev-python/mkdocstrings/mkdocstrings-0.21.2-r1.ebuild (renamed from dev-python/mkdocstrings/mkdocstrings-0.21.2.ebuild)11
1 files changed, 5 insertions, 6 deletions
diff --git a/dev-python/mkdocstrings/mkdocstrings-0.21.2.ebuild b/dev-python/mkdocstrings/mkdocstrings-0.21.2-r1.ebuild
index 9c4b3536f017..5f83521a2811 100644
--- a/dev-python/mkdocstrings/mkdocstrings-0.21.2.ebuild
+++ b/dev-python/mkdocstrings/mkdocstrings-0.21.2-r1.ebuild
@@ -16,18 +16,17 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.g
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
-IUSE="python"
-
-REQUIRED_USE="test? ( python )"
RDEPEND=">=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
>=dev-python/markdown-3.3[${PYTHON_USEDEP}]
>=dev-python/markupsafe-1.1[${PYTHON_USEDEP}]
>=dev-python/mkdocs-1.2[${PYTHON_USEDEP}]
>=dev-python/mkdocs-autorefs-0.3.1[${PYTHON_USEDEP}]
- >=dev-python/pymdown-extensions-6.3[${PYTHON_USEDEP}]
- python? ( dev-python/mkdocstrings-python[${PYTHON_USEDEP}] )"
-BDEPEND="test? ( dev-python/mkdocs-material[${PYTHON_USEDEP}] )"
+ >=dev-python/pymdown-extensions-6.3[${PYTHON_USEDEP}]"
+BDEPEND="test? (
+ dev-python/mkdocs-material[${PYTHON_USEDEP}]
+ dev-python/mkdocstrings-python[${PYTHON_USEDEP}]
+)"
# mkdocstrings documentation generation requires several currently
# unpackaged mkdocs extensions and plug-ins, and this test