# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="API doc generator."

HOMEPAGE="https://github.com/twisted/pydoctor"
LICENSE="MIT/X11"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME}-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="docs mypy rst test"
DEPENDENCIES="dev-python/platformdirs[${PYTHON_USEDEP}]
	>=dev-python/cachecontrol-0.12.14[${PYTHON_USEDEP}]
	dev-python/twisted[${PYTHON_USEDEP}]
	dev-python/urllib3[${PYTHON_USEDEP}]
	dev-python/requests[${PYTHON_USEDEP}]
	dev-python/attrs[${PYTHON_USEDEP}]
	>=dev-python/docutils-0.17[${PYTHON_USEDEP}]
	dev-python/lunr[${PYTHON_USEDEP}]
	dev-python/configargparse[${PYTHON_USEDEP}]
	docs? ( dev-python/sphinx[${PYTHON_USEDEP}] )
	docs? ( dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] )
	docs? ( dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}] )
	docs? ( dev-python/sphinx-argparse[${PYTHON_USEDEP}] )
	rst? ( dev-python/docutils[${PYTHON_USEDEP}] )
	test? ( >=dev-python/docutils-0.18.1[${PYTHON_USEDEP}] )
	test? ( dev-python/coverage[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )
	test? ( dev-python/hypothesis[${PYTHON_USEDEP}] )
	test? ( dev-python/cython-test-exception-raiser[${PYTHON_USEDEP}] )
	test? ( dev-python/bs4[${PYTHON_USEDEP}] )
	test? ( dev-python/sphinx[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-subtests[${PYTHON_USEDEP}] )
	test? ( dev-python/setuptools[${PYTHON_USEDEP}] )
	mypy? ( >=dev-python/mypy-1.16.1[${PYTHON_USEDEP}] )
	mypy? ( dev-python/mypy-zope[${PYTHON_USEDEP}] )
	mypy? ( dev-python/typing-extensions[${PYTHON_USEDEP}] )
	mypy? ( dev-python/hypothesis[${PYTHON_USEDEP}] )
	mypy? ( >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] )
	mypy? ( >=dev-python/sphinx-3.4.0[${PYTHON_USEDEP}] )
	mypy? ( dev-python/twisted[${PYTHON_USEDEP}] )
	mypy? ( dev-python/types-requests[${PYTHON_USEDEP}] )
	mypy? ( dev-python/types-docutils[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"