# 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="A parser for arguments and config-files that also allows direct python input."

HOMEPAGE="https://github.com/pylhc/generic_parser"
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="doc test"
DEPENDENCIES="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
	doc? ( dev-python/travis-sphinx[${PYTHON_USEDEP}] )
	doc? ( dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-5.2[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-cov-2.6[${PYTHON_USEDEP}] )
	test? ( >=dev-python/hypothesis-4.36.2[${PYTHON_USEDEP}] )
	test? ( >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"