# 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="CLI to help with an ADR process lifecycle (proposal/approval/rejection/deprecation/superseeding), which used git."

HOMEPAGE="https://github.com/opinionated-digital-center/pyadr"
LICENSE="MIT"
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="bdd docs format lint repl test type"
DEPENDENCIES="test? ( <dev-python/pytest-8.0[${PYTHON_USEDEP}] )
	test? ( <dev-python/pytest-cov-4.0[${PYTHON_USEDEP}] )
	test? ( <dev-python/pytest-mock-4.0[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-html[${PYTHON_USEDEP}] )
	test? ( <dev-python/pytest-asyncio-1.0[${PYTHON_USEDEP}] )
	bdd? ( dev-python/behave4git[${PYTHON_USEDEP}] )
	test? ( <dev-python/pyhamcrest-3.0[${PYTHON_USEDEP}] )
	bdd? ( <dev-python/pyhamcrest-3.0[${PYTHON_USEDEP}] )
	lint? ( <dev-python/flake8-5.0[${PYTHON_USEDEP}] )
	lint? ( dev-python/flake8-bugbear[${PYTHON_USEDEP}] )
	lint? ( dev-python/pydocstyle[${PYTHON_USEDEP}] )
	lint? ( <dev-python/pylint-3.0[${PYTHON_USEDEP}] )
	lint? ( <dev-python/yapf-1.0[${PYTHON_USEDEP}] )
	type? ( <dev-python/mypy-1.0[${PYTHON_USEDEP}] )
	type? ( dev-python/types-python-slugify[${PYTHON_USEDEP}] )
	format? ( <dev-python/isort-6.0[${PYTHON_USEDEP}] )
	format? ( dev-python/black[${PYTHON_USEDEP}] )
	docs? ( <dev-python/sphinx-5.0[${PYTHON_USEDEP}] )
	docs? ( <dev-python/sphinx-autodoc-typehints-2.0[${PYTHON_USEDEP}] )
	docs? ( dev-python/sphinx-autobuild[${PYTHON_USEDEP}] )
	docs? ( <dev-python/sphinx-rtd-theme-2.0[${PYTHON_USEDEP}] )
	docs? ( dev-python/m2r[${PYTHON_USEDEP}] )
	repl? ( <dev-python/bpython-1.0[${PYTHON_USEDEP}] )
	<dev-python/cleo-1.0[${PYTHON_USEDEP}]
	<dev-python/python-slugify-7.0[${PYTHON_USEDEP}]
	<dev-python/loguru-1.0[${PYTHON_USEDEP}]
	<dev-python/gitpython-4.0[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"