# 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="Run linters and show only new errors compared to an older commit"

HOMEPAGE="https://github.com/akaihola/graylint"
LICENSE="BSD"
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="color release test"
DEPENDENCIES="dev-python/darkgraylib[${PYTHON_USEDEP}]
	color? ( >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] )
	release? ( dev-python/darkgray-dev-tools[${PYTHON_USEDEP}] )
	test? ( >=dev-python/click-8.0.0[${PYTHON_USEDEP}] )
	test? ( >=dev-python/cryptography-3.3.2[${PYTHON_USEDEP}] )
	test? ( >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] )
	test? ( >=dev-python/mypy-0.990[${PYTHON_USEDEP}] )
	test? ( dev-python/pathspec[${PYTHON_USEDEP}] )
	test? ( dev-python/pip-requirements-parser[${PYTHON_USEDEP}] )
	test? ( dev-python/pydocstyle[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] )
	test? ( dev-python/pylint[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-6.2.0[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-kwparametrize[${PYTHON_USEDEP}] )
	test? ( >=dev-python/requests-cache-0.7[${PYTHON_USEDEP}] )
	test? ( >=dev-python/ruamel-yaml-0.17.21[${PYTHON_USEDEP}] )
	test? ( dev-python/ruff[${PYTHON_USEDEP}] )
	test? ( >=dev-python/twine-2.0.0[${PYTHON_USEDEP}] )
	test? ( dev-python/types-requests[${PYTHON_USEDEP}] )
	test? ( dev-python/types-toml[${PYTHON_USEDEP}] )
	test? ( >=dev-python/urllib3-1.25.9[${PYTHON_USEDEP}] )
	test? ( >=dev-python/wheel-0.21.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"