blob: f929e7258b9d11cf302fb90bfac631c4c34136f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=pdm
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
DESCRIPTION="A Python handler for mkdocstrings."
HOMEPAGE="https://github.com/mkdocstrings/python https://pypi.org/project/mkdocstrings-python"
SRC_URI="https://github.com/mkdocstrings/python/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/python-${PV}"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"
ISUE="test"
BDEPEND="
dev-python/mkdocs[${PYTHON_USEDEP}]
dev-python/griffe[${PYTHON_USEDEP}]
test? (
dev-python/mkdocs-mkdocstrings[${PYTHON_USEDEP}]
dev-python/mkdocs-autorefs[${PYTHON_USEDEP}]
dev-python/pymdown-extensions[${PYTHON_USEDEP}]
dev-python/mkdocs-pymdownx-material-extras[${PYTHON_USEDEP}]
)
"
DEPEND="${BDEPEND}"
distutils_enable_tests pytest
|