# 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="An implementation of Stochastic Bloc model and Latent Block model efficient with sparse matrices"

HOMEPAGE=""
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="build-doc experiments gpu tests"
DEPENDENCIES="dev-python/progressbar2[${PYTHON_USEDEP}]
	dev-python/matplotlib[${PYTHON_USEDEP}]
	dev-python/scipy[${PYTHON_USEDEP}]
	dev-python/numpy[${PYTHON_USEDEP}]
	dev-python/GPUtil[${PYTHON_USEDEP}]
	dev-python/scikit-learn[${PYTHON_USEDEP}]
	build-doc? ( <dev-python/sphinx-7.0[${PYTHON_USEDEP}] )
	build-doc? ( dev-python/sphinx-argparse[${PYTHON_USEDEP}] )
	build-doc? ( dev-python/m2r2[${PYTHON_USEDEP}] )
	build-doc? ( dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] )
	build-doc? ( dev-python/pandas[${PYTHON_USEDEP}] )
	experiments? ( dev-python/rpy2[${PYTHON_USEDEP}] )
	gpu? ( dev-python/cupy[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"