# 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="Extensible JSON-RPC library"

HOMEPAGE="https://github.com/dapper91/pjrpc"
LICENSE="Unlicense"
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="aio-pika aiohttp flask httpx openapi-ui-bundles pydantic requests werkzeug"
DEPENDENCIES="aio-pika? ( dev-python/aio-pika[${PYTHON_USEDEP}] )
	aiohttp? ( >=dev-python/aiohttp-3.7[${PYTHON_USEDEP}] )
	flask? ( >=dev-python/flask-2.0.0[${PYTHON_USEDEP}] )
	httpx? ( >=dev-python/httpx-0.23.0[${PYTHON_USEDEP}] )
	openapi-ui-bundles? ( dev-python/openapi-ui-bundles[${PYTHON_USEDEP}] )
	pydantic? ( >=dev-python/pydantic-1.10.20[${PYTHON_USEDEP}] )
	requests? ( >=dev-python/requests-2.0[${PYTHON_USEDEP}] )
	werkzeug? ( >=dev-python/werkzeug-2.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"