# 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="Core to write deep APIs using a module's tree"

HOMEPAGE="https://github.com/halfAPI/halfapi"
LICENSE="GPL-3"
SRC_URI="https://files.pythonhosted.org/packages/7a/8e/533d107cda69ad0e0fe46c3f3d944d03e9f8310e37b16661392bf4e843d5/${REALNAME}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME}-${REALVERSION}.tar.gz"
RESTRICT="test"

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

IUSE="pyexcel tests"
DEPENDENCIES="<dev-python/pyjwt-2.7.0[${PYTHON_USEDEP}]
	<dev-python/starlette-0.34[${PYTHON_USEDEP}]
	<dev-python/click-9.0[${PYTHON_USEDEP}]
	<dev-python/uvicorn-1.0[${PYTHON_USEDEP}]
	<dev-python/orjson-4.0[${PYTHON_USEDEP}]
	<dev-python/pyyaml-7.0[${PYTHON_USEDEP}]
	dev-python/timing-asgi[${PYTHON_USEDEP}]
	<dev-python/schema-1.0[${PYTHON_USEDEP}]
	dev-python/toml[${PYTHON_USEDEP}]
	>=dev-python/packaging-19.0[${PYTHON_USEDEP}]
	dev-python/python-multipart[${PYTHON_USEDEP}]
	tests? ( <dev-python/pytest-8.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )
	tests? ( dev-python/pylint[${PYTHON_USEDEP}] )
	tests? ( dev-python/requests[${PYTHON_USEDEP}] )
	tests? ( dev-python/httpx[${PYTHON_USEDEP}] )
	tests? ( dev-python/openapi-schema-validator[${PYTHON_USEDEP}] )
	tests? ( dev-python/openapi-spec-validator[${PYTHON_USEDEP}] )
	tests? ( dev-python/coverage[${PYTHON_USEDEP}] )
	pyexcel? ( dev-python/pyexcel[${PYTHON_USEDEP}] )
	pyexcel? ( dev-python/pyexcel-ods3[${PYTHON_USEDEP}] )
	pyexcel? ( dev-python/pyexcel-xlsx[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"