# 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} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="Backports for abandoned Python versions"

HOMEPAGE="https://github.com/pylegacy/pylegacy"
LICENSE="MIT"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME}-${REALVERSION}.zip"
SOURCEFILE="${REALNAME}-${REALVERSION}.zip"
RESTRICT="test"

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

IUSE="lint test"
DEPENDENCIES="lint? ( <dev-python/flake8-6.2[${PYTHON_USEDEP}] )
	lint? ( <dev-python/astroid-3.0[${PYTHON_USEDEP}] )
	lint? ( <dev-python/pylint-3.0[${PYTHON_USEDEP}] )
	test? ( <dev-python/coverage-5.0[${PYTHON_USEDEP}] )
	test? ( <dev-python/pytest-cov-3.1[${PYTHON_USEDEP}] )
	test? ( <dev-python/pytest-6.3[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"