# 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="Useful plugins/extensions for Locust"

HOMEPAGE="https://github.com/SvenskaSpel/locust-plugins"
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 appinsights boto3 dashboards kafka mongo playwright py3270 resource webdriver websocket"
DEPENDENCIES="dev-python/locust[${PYTHON_USEDEP}]
	dev-python/typing-extensions[${PYTHON_USEDEP}]
	websocket? ( dev-python/websocket-client[${PYTHON_USEDEP}] )
	playwright? ( dev-python/playwright[${PYTHON_USEDEP}] )
	dashboards? ( dev-python/psycogreen[${PYTHON_USEDEP}] )
	dashboards? ( dev-python/psycopg2-binary[${PYTHON_USEDEP}] )
	kafka? ( dev-python/confluent-kafka[${PYTHON_USEDEP}] )
	mongo? ( dev-python/pymongo[${PYTHON_USEDEP}] )
	appinsights? ( dev-python/opencensus-ext-azure[${PYTHON_USEDEP}] )
	resource? ( dev-python/lxml[${PYTHON_USEDEP}] )
	boto3? ( dev-python/boto3[${PYTHON_USEDEP}] )
	py3270? ( dev-python/py3270[${PYTHON_USEDEP}] )
	all? ( dev-python/websocket-client[${PYTHON_USEDEP}] )
	all? ( dev-python/playwright[${PYTHON_USEDEP}] )
	all? ( dev-python/psycogreen[${PYTHON_USEDEP}] )
	all? ( dev-python/psycopg2-binary[${PYTHON_USEDEP}] )
	all? ( dev-python/confluent-kafka[${PYTHON_USEDEP}] )
	all? ( dev-python/pymongo[${PYTHON_USEDEP}] )
	all? ( dev-python/opencensus-ext-azure[${PYTHON_USEDEP}] )
	all? ( dev-python/lxml[${PYTHON_USEDEP}] )
	all? ( dev-python/boto3[${PYTHON_USEDEP}] )
	all? ( dev-python/py3270[${PYTHON_USEDEP}] )
	webdriver? ( >=dev-python/selenium-4.0.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"