diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-11 17:46:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-11 17:46:59 +0100 |
commit | 54654470d999265b5a0010be7190e8a9993b1840 (patch) | |
tree | cb6b99a56837c648a69859da9333e5b9a726912d /dev-python/mkdocstrings/mkdocstrings-0.21.2.ebuild | |
parent | 2046683958d0497bec1458741dc867558b69e622 (diff) |
gentoo auto-resync : 11:05:2023 - 17:46:59
Diffstat (limited to 'dev-python/mkdocstrings/mkdocstrings-0.21.2.ebuild')
-rw-r--r-- | dev-python/mkdocstrings/mkdocstrings-0.21.2.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/mkdocstrings/mkdocstrings-0.21.2.ebuild b/dev-python/mkdocstrings/mkdocstrings-0.21.2.ebuild new file mode 100644 index 000000000000..9c4b3536f017 --- /dev/null +++ b/dev-python/mkdocstrings/mkdocstrings-0.21.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=pdm + +inherit distutils-r1 + +DESCRIPTION="Automatic documentation from sources, for MkDocs" +HOMEPAGE="https://mkdocstrings.github.io/ https://pypi.org/project/mkdocs-autorefs/" +# Tests require files absent from PyPI tarballs +SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +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}] )" + +# mkdocstrings documentation generation requires several currently +# unpackaged mkdocs extensions and plug-ins, and this test +# makes use of mkdocs configuration +EPYTEST_DESELECT=( + tests/test_plugin.py::test_disabling_plugin +) + +distutils_enable_tests pytest |