SwordArMor-gentoo-overlay/dev-python/pytkdocs/pytkdocs-0.16.1.ebuild
Alarig Le Lay 7342c3bf67
dev-python/pytkdocs: new package, add 0.16.1
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2024-08-21 14:38:06 +02:00

34 lines
1,021 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=pdm-backend
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Load Python objects documentation"
HOMEPAGE="https://github.com/mkdocstrings/autorefs"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="numpy-style"
RESTRICT="test" # Test phase runs with fails
RDEPEND="numpy-style? ( >=dev-python/docstring-parser-0.7[${PYTHON_USEDEP}] )
$(python_gen_cond_dep '>=dev-python/astonparse-1.6[${PYTHON_USEDEP}]' python3_{7..9})
$(python_gen_cond_dep '>=dev-python/cached-property-1.5[${PYTHON_USEDEP}]' python3_{7..8})
$(python_gen_cond_dep '>=dev-python/typing-extensions-3.7[${PYTHON_USEDEP}]' python3_{7..8})
"
BDEPEND="test? (
>=dev-python/django-3.2[${PYTHON_USEDEP}]
>=dev-python/docstring-parser-0.7[${PYTHON_USEDEP}]
>=dev-python/marshmallow-3.13[${PYTHON_USEDEP}]
>=dev-python/pydantic-1.8[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest