# 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="A library for detecting critical data slices in structured and unstructured data based on features, metadata and model predictions."

HOMEPAGE="https://github.com/Renumics/sliceguard"
LICENSE=""
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 automl docs embedding tutorials"
DEPENDENCIES="dev-python/hnne[${PYTHON_USEDEP}]
	>=dev-python/numpy-1.17.2[${PYTHON_USEDEP}]
	>=dev-python/pandas-2.0.0[${PYTHON_USEDEP}]
	dev-python/fairlearn[${PYTHON_USEDEP}]
	>=dev-python/scikit-learn-1.3.0[${PYTHON_USEDEP}]
	dev-python/umap-learn[${PYTHON_USEDEP}]
	>=dev-python/tqdm-4.65.0[${PYTHON_USEDEP}]
	dev-python/renumics-spotlight[${PYTHON_USEDEP}]
	dev-python/datasets[${PYTHON_USEDEP}]
	>=dev-python/puremagic-1.15[${PYTHON_USEDEP}]
	all? ( dev-python/FLAML[${PYTHON_USEDEP}] )
	all? ( dev-python/xgboost[${PYTHON_USEDEP}] )
	all? ( dev-python/shap[${PYTHON_USEDEP}] )
	all? ( dev-python/transformers[${PYTHON_USEDEP}] )
	all? ( dev-python/sentence-transformers[${PYTHON_USEDEP}] )
	all? ( dev-python/torchaudio[${PYTHON_USEDEP}] )
	all? ( dev-python/datasets[${PYTHON_USEDEP}] )
	all? ( dev-python/bing-image-downloader[${PYTHON_USEDEP}] )
	automl? ( dev-python/FLAML[${PYTHON_USEDEP}] )
	automl? ( dev-python/xgboost[${PYTHON_USEDEP}] )
	automl? ( dev-python/shap[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/sphinxcontrib-applehelp-1.0.7[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/sphinxcontrib-devhelp-1.0.5[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/sphinxcontrib-htmlhelp-2.0.4[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/sphinxcontrib-jsmath-1.0.1[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/sphinxcontrib-qthelp-1.0.6[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/sphinxcontrib-serializinghtml-1.1.9[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/myst-parser-2.0.0[${PYTHON_USEDEP}] )
	embedding? ( dev-python/transformers[${PYTHON_USEDEP}] )
	embedding? ( dev-python/sentence-transformers[${PYTHON_USEDEP}] )
	embedding? ( dev-python/torchaudio[${PYTHON_USEDEP}] )
	embedding? ( dev-python/datasets[${PYTHON_USEDEP}] )
	tutorials? ( dev-python/bing-image-downloader[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"