# 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 Temporal Extension Library for PyTorch Geometric."

HOMEPAGE="https://github.com/benedekrozemberczki/pytorch_geometric_temporal"
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="ddp index test"
DEPENDENCIES="~dev-python/decorator-4.4.2[${PYTHON_USEDEP}]
	dev-python/torch[${PYTHON_USEDEP}]
	dev-python/cython[${PYTHON_USEDEP}]
	dev-python/torch-sparse[${PYTHON_USEDEP}]
	dev-python/torch-scatter[${PYTHON_USEDEP}]
	dev-python/torch-geometric[${PYTHON_USEDEP}]
	dev-python/numpy[${PYTHON_USEDEP}]
	dev-python/networkx[${PYTHON_USEDEP}]
	ddp? ( dev-python/dask[${PYTHON_USEDEP}] )
	ddp? ( dev-python/dask-pytorch-ddp[${PYTHON_USEDEP}] )
	ddp? ( dev-python/pandas[${PYTHON_USEDEP}] )
	ddp? ( dev-python/tables[${PYTHON_USEDEP}] )
	index? ( dev-python/dask[${PYTHON_USEDEP}] )
	index? ( dev-python/pandas[${PYTHON_USEDEP}] )
	index? ( dev-python/tables[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-cov[${PYTHON_USEDEP}] )
	test? ( dev-python/mock[${PYTHON_USEDEP}] )
	test? ( dev-python/networkx[${PYTHON_USEDEP}] )
	test? ( dev-python/tqdm[${PYTHON_USEDEP}] )
	test? ( dev-python/dask[${PYTHON_USEDEP}] )
	test? ( dev-python/pandas[${PYTHON_USEDEP}] )
	test? ( dev-python/tables[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"