# 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="Functional & flexible neural network training with PyTorch."

HOMEPAGE="https://github.com/pypa/torchtraining"
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="accelerators all callbacks comet horovod neptune tensorboard tests"
DEPENDENCIES="dev-python/torch[${PYTHON_USEDEP}]
	>=dev-python/loguru-0.5.1[${PYTHON_USEDEP}]
	>=dev-python/rich-2.3.0[${PYTHON_USEDEP}]
	>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
	accelerators? ( dev-python/horovod[${PYTHON_USEDEP}] )
	all? ( dev-python/horovod[${PYTHON_USEDEP}] )
	all? ( dev-python/tensorboard[${PYTHON_USEDEP}] )
	all? ( >=dev-python/matplotlib-3.3.1[${PYTHON_USEDEP}] )
	all? ( >=dev-python/pillow-7.2.0[${PYTHON_USEDEP}] )
	all? ( dev-python/moviepy[${PYTHON_USEDEP}] )
	all? ( dev-python/neptune-client[${PYTHON_USEDEP}] )
	all? ( dev-python/comet-ml[${PYTHON_USEDEP}] )
	callbacks? ( dev-python/tensorboard[${PYTHON_USEDEP}] )
	callbacks? ( >=dev-python/matplotlib-3.3.1[${PYTHON_USEDEP}] )
	callbacks? ( >=dev-python/pillow-7.2.0[${PYTHON_USEDEP}] )
	callbacks? ( dev-python/moviepy[${PYTHON_USEDEP}] )
	callbacks? ( dev-python/neptune-client[${PYTHON_USEDEP}] )
	callbacks? ( dev-python/comet-ml[${PYTHON_USEDEP}] )
	comet? ( dev-python/comet-ml[${PYTHON_USEDEP}] )
	horovod? ( dev-python/horovod[${PYTHON_USEDEP}] )
	neptune? ( dev-python/neptune-client[${PYTHON_USEDEP}] )
	tensorboard? ( dev-python/tensorboard[${PYTHON_USEDEP}] )
	tensorboard? ( >=dev-python/matplotlib-3.3.1[${PYTHON_USEDEP}] )
	tensorboard? ( >=dev-python/pillow-7.2.0[${PYTHON_USEDEP}] )
	tensorboard? ( dev-python/moviepy[${PYTHON_USEDEP}] )
	tests? ( dev-python/tensorboard[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/matplotlib-3.3.1[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/pillow-7.2.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/moviepy[${PYTHON_USEDEP}] )
	tests? ( dev-python/neptune-client[${PYTHON_USEDEP}] )
	tests? ( dev-python/comet-ml[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"