# 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="Protean Application Framework"

HOMEPAGE="https://github.com/proteanhq/protean"
LICENSE="BSD 3-Clause"
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="elasticsearch fastapi flask message-db mssql postgresql redis sendgrid sqlite"
DEPENDENCIES=">=dev-python/bleach-4.1.0[${PYTHON_USEDEP}]
	dev-python/copier[${PYTHON_USEDEP}]
	>=dev-python/inflection-0.5.1[${PYTHON_USEDEP}]
	<dev-python/ipython-10.0[${PYTHON_USEDEP}]
	>=dev-python/marshmallow-3.15.0[${PYTHON_USEDEP}]
	>=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
	>=dev-python/typer-0.12.3[${PYTHON_USEDEP}]
	>=dev-python/werkzeug-2.0.0[${PYTHON_USEDEP}]
	>=dev-python/cffi-1.16.5[${PYTHON_USEDEP}]
	<dev-python/pydantic-core-3.0.0[${PYTHON_USEDEP}]
	<dev-python/greenlet-4.0.0[${PYTHON_USEDEP}]
	elasticsearch? ( <dev-python/elasticsearch-7.18.0[${PYTHON_USEDEP}] )
	elasticsearch? ( dev-python/elasticsearch-dsl[${PYTHON_USEDEP}] )
	redis? ( <dev-python/redis-6.5.0[${PYTHON_USEDEP}] )
	postgresql? ( <dev-python/sqlalchemy-2.1.0[${PYTHON_USEDEP}] )
	sqlite? ( <dev-python/sqlalchemy-2.1.0[${PYTHON_USEDEP}] )
	mssql? ( <dev-python/sqlalchemy-2.1.0[${PYTHON_USEDEP}] )
	postgresql? ( dev-python/psycopg2[${PYTHON_USEDEP}] )
	mssql? ( dev-python/pyodbc[${PYTHON_USEDEP}] )
	flask? ( >=dev-python/flask-1.1.1[${PYTHON_USEDEP}] )
	sendgrid? ( dev-python/sendgrid[${PYTHON_USEDEP}] )
	message-db? ( dev-python/message-db-py[${PYTHON_USEDEP}] )
	fastapi? ( dev-python/fastapi[${PYTHON_USEDEP}] )
	fastapi? ( >=dev-python/uvicorn-0.27.1[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"