# 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="ImJoy Plugin Engine for running Python plugins locally or remotely from ImJoy.io"

HOMEPAGE="http://github.com/imjoy-team/ImJoy-Engine"
LICENSE="MIT"
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="jupyter server-apps"
DEPENDENCIES="dev-python/aiobotocore[${PYTHON_USEDEP}]
	dev-python/aiofiles[${PYTHON_USEDEP}]
	dev-python/fastapi[${PYTHON_USEDEP}]
	dev-python/imjoy-rpc[${PYTHON_USEDEP}]
	>=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}]
	dev-python/numpy[${PYTHON_USEDEP}]
	>=dev-python/pydantic-1.8.2[${PYTHON_USEDEP}]
	>=dev-python/typing-extensions-3.7.4.3[${PYTHON_USEDEP}]
	>=dev-python/jinja2-3.0[${PYTHON_USEDEP}]
	>=dev-python/python-dotenv-0.17.0[${PYTHON_USEDEP}]
	~dev-python/python-engineio-4.0.0[${PYTHON_USEDEP}]
	~dev-python/python-jose-3.3.0[${PYTHON_USEDEP}]
	dev-python/python-socketio[${PYTHON_USEDEP}]
	dev-python/pyyaml[${PYTHON_USEDEP}]
	dev-python/shortuuid[${PYTHON_USEDEP}]
	>=dev-python/uvicorn-0.13.4[${PYTHON_USEDEP}]
	jupyter? ( >=dev-python/jupyter-1.0.0[${PYTHON_USEDEP}] )
	jupyter? ( >=dev-python/ipykernel-5.1.4[${PYTHON_USEDEP}] )
	jupyter? ( dev-python/imjoy-jupyter-extension[${PYTHON_USEDEP}] )
	server-apps? ( >=dev-python/requests-2.26.0[${PYTHON_USEDEP}] )
	server-apps? ( dev-python/playwright[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"