# 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="Artificial neural network-driven visualization of high-dimensional data using triplets."

HOMEPAGE="http://github.com/beringresearch/ivis"
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="cpu gpu tests visualization"
DEPENDENCIES="dev-python/numpy[${PYTHON_USEDEP}]
	>dev-python/scikit-learn-0.20.0[${PYTHON_USEDEP}]
	dev-python/annoy[${PYTHON_USEDEP}]
	dev-python/tqdm[${PYTHON_USEDEP}]
	dev-python/dill[${PYTHON_USEDEP}]
	cpu? ( dev-python/tensorflow-cpu[${PYTHON_USEDEP}] )
	gpu? ( dev-python/tensorflow[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest[${PYTHON_USEDEP}] )
	visualization? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
	visualization? ( dev-python/seaborn[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"