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

EAPI=8

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

inherit python-r1 gs-pypi

DESCRIPTION="PEP 621 metadata parsing"

HOMEPAGE="https://github.com/FFY00/python-pep621"
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="docs test"
DEPENDENCIES=">=dev-python/packaging-19.0[${PYTHON_USEDEP}]
	docs? ( >=dev-python/furo-2020.11.19_beta18[${PYTHON_USEDEP}] )
	docs? ( ~dev-python/sphinx-3.0[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/sphinx-autodoc-typehints-1.10.0[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-6.2.4[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-cov-2.0[${PYTHON_USEDEP}] )
	test? ( >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"