# 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="Generate API clients by parsing Swagger definitions"

HOMEPAGE="https://github.com/asyncee/swagger_codegen"
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="all async sync"
DEPENDENCIES="<dev-python/pydantic-2.0[${PYTHON_USEDEP}]
	<dev-python/multidict-6.0[${PYTHON_USEDEP}]
	<dev-python/jinja2-3.0.0[${PYTHON_USEDEP}]
	<dev-python/click-8.0.0[${PYTHON_USEDEP}]
	<dev-python/typer-0.4[${PYTHON_USEDEP}]
	dev-python/toml[${PYTHON_USEDEP}]
	<dev-python/inflection-0.6[${PYTHON_USEDEP}]
	dev-python/schemathesis[${PYTHON_USEDEP}]
	<dev-python/boltons-21.0.0[${PYTHON_USEDEP}]
	<dev-python/rich-10.0.0[${PYTHON_USEDEP}]
	async? ( dev-python/httpx[${PYTHON_USEDEP}] )
	all? ( dev-python/httpx[${PYTHON_USEDEP}] )
	async? ( dev-python/aiohttp[${PYTHON_USEDEP}] )
	all? ( dev-python/aiohttp[${PYTHON_USEDEP}] )
	sync? ( dev-python/requests[${PYTHON_USEDEP}] )
	all? ( dev-python/requests[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"