# 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/a4/f1/780c30f1c32d4eb5564685c997f4232bca29233777fa92ea640b63f8ca29/${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.24[${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}]
	pyexcel? ( dev-python/pyexcel[${PYTHON_USEDEP}] )
	pyexcel? ( dev-python/pyexcel-ods3[${PYTHON_USEDEP}] )
	pyexcel? ( dev-python/pyexcel-xlsx[${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}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"