# 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} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="Python Client and Toolkit for DataFrames, Big Data, Machine Learning and ETL in Elasticsearch"

HOMEPAGE="https://github.com/elastic/eland"
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 lightgbm pytorch scikit-learn xgboost"
DEPENDENCIES="<dev-python/elasticsearch-10.0[${PYTHON_USEDEP}]
	<dev-python/pandas-3.0[${PYTHON_USEDEP}]
	>=dev-python/matplotlib-3.6[${PYTHON_USEDEP}]
	<dev-python/numpy-3.0[${PYTHON_USEDEP}]
	dev-python/packaging[${PYTHON_USEDEP}]
	xgboost? ( dev-python/xgboost[${PYTHON_USEDEP}] )
	scikit-learn? ( <dev-python/scikit-learn-1.6[${PYTHON_USEDEP}] )
	lightgbm? ( dev-python/lightgbm[${PYTHON_USEDEP}] )
	pytorch? ( <dev-python/requests-3.0[${PYTHON_USEDEP}] )
	pytorch? ( dev-python/torch[${PYTHON_USEDEP}] )
	pytorch? ( dev-python/tqdm[${PYTHON_USEDEP}] )
	pytorch? ( dev-python/sentence-transformers[${PYTHON_USEDEP}] )
	pytorch? ( dev-python/transformers[${PYTHON_USEDEP}] )
	all? ( dev-python/lightgbm[${PYTHON_USEDEP}] )
	all? ( dev-python/tqdm[${PYTHON_USEDEP}] )
	all? ( dev-python/transformers[${PYTHON_USEDEP}] )
	all? ( <dev-python/requests-3.0[${PYTHON_USEDEP}] )
	all? ( dev-python/sentence-transformers[${PYTHON_USEDEP}] )
	all? ( dev-python/xgboost[${PYTHON_USEDEP}] )
	all? ( <dev-python/scikit-learn-1.6[${PYTHON_USEDEP}] )
	all? ( dev-python/torch[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"