# 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="Connexion - API first applications with OpenAPI/Swagger and Flask"

HOMEPAGE="https://github.com/zalando/connexion"
LICENSE="Apache License Version 2.0"
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="aiohttp docs flask swagger-ui tests"
DEPENDENCIES="dev-python/clickclick[${PYTHON_USEDEP}]
	<dev-python/jsonschema-4.0[${PYTHON_USEDEP}]
	<dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
	<dev-python/requests-3.0[${PYTHON_USEDEP}]
	<dev-python/inflection-0.6[${PYTHON_USEDEP}]
	<dev-python/openapi-spec-validator-0.4[${PYTHON_USEDEP}]
	<dev-python/werkzeug-3.0[${PYTHON_USEDEP}]
	<dev-python/flask-3.0[${PYTHON_USEDEP}]
	aiohttp? ( <dev-python/aiohttp-4.0[${PYTHON_USEDEP}] )
	aiohttp? ( dev-python/aiohttp-jinja2[${PYTHON_USEDEP}] )
	docs? ( ~dev-python/sphinx-autoapi-1.8.1[${PYTHON_USEDEP}] )
	flask? ( <dev-python/flask-3.0[${PYTHON_USEDEP}] )
	swagger-ui? ( dev-python/swagger-ui-bundle[${PYTHON_USEDEP}] )
	tests? ( <dev-python/decorator-6.0[${PYTHON_USEDEP}] )
	tests? ( <dev-python/pytest-7.0[${PYTHON_USEDEP}] )
	tests? ( <dev-python/pytest-cov-3.0[${PYTHON_USEDEP}] )
	tests? ( <dev-python/testfixtures-7.0[${PYTHON_USEDEP}] )
	tests? ( <dev-python/flask-3.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/swagger-ui-bundle[${PYTHON_USEDEP}] )
	tests? ( <dev-python/aiohttp-4.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/aiohttp-jinja2[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-aiohttp[${PYTHON_USEDEP}] )
	tests? ( dev-python/aiohttp-remotes[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"