# 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="Pait is a Python api tool. Pait enables your Python web framework to have type checking, parameter type conversion, interface document generation and can display your documents through Redoc or Swagger (power by inspect, pydantic)"

HOMEPAGE="https://github.com/so1n/pait"
LICENSE="Apache-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="all multipart redis streaming-form-data"
DEPENDENCIES="dev-python/any-api[${PYTHON_USEDEP}]
	redis? ( <dev-python/redis-5.0.0[${PYTHON_USEDEP}] )
	all? ( <dev-python/redis-5.0.0[${PYTHON_USEDEP}] )
	multipart? ( <dev-python/multipart-2.0.0[${PYTHON_USEDEP}] )
	streaming-form-data? ( dev-python/streaming-form-data[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"