# 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="ESPnet: end-to-end speech processing toolkit"

HOMEPAGE="http://github.com/espnet/espnet"
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="all recipe train"
DEPENDENCIES="<dev-python/setuptools-74.0.0[${PYTHON_USEDEP}]
	dev-python/packaging[${PYTHON_USEDEP}]
	>=dev-python/configargparse-1.2.1[${PYTHON_USEDEP}]
	dev-python/typeguard[${PYTHON_USEDEP}]
	dev-python/humanfriendly[${PYTHON_USEDEP}]
	>=dev-python/scipy-1.4.1[${PYTHON_USEDEP}]
	dev-python/filelock[${PYTHON_USEDEP}]
	dev-python/librosa[${PYTHON_USEDEP}]
	dev-python/jamo[${PYTHON_USEDEP}]
	>=dev-python/pyyaml-5.1.2[${PYTHON_USEDEP}]
	>=dev-python/soundfile-0.10.2[${PYTHON_USEDEP}]
	>=dev-python/h5py-2.10.0[${PYTHON_USEDEP}]
	dev-python/kaldiio[${PYTHON_USEDEP}]
	dev-python/torch[${PYTHON_USEDEP}]
	dev-python/torch-complex[${PYTHON_USEDEP}]
	dev-python/nltk[${PYTHON_USEDEP}]
	>=dev-python/numpy-2.0.0[${PYTHON_USEDEP}]
	dev-python/protobuf[${PYTHON_USEDEP}]
	dev-python/hydra-core[${PYTHON_USEDEP}]
	dev-python/opt-einsum[${PYTHON_USEDEP}]
	dev-python/lightning[${PYTHON_USEDEP}]
	dev-python/sentencepiece[${PYTHON_USEDEP}]
	dev-python/pyworld[${PYTHON_USEDEP}]
	dev-python/pypinyin[${PYTHON_USEDEP}]
	dev-python/espnet-tts-frontend[${PYTHON_USEDEP}]
	dev-python/ci-sdr[${PYTHON_USEDEP}]
	dev-python/fast-bss-eval[${PYTHON_USEDEP}]
	dev-python/asteroid-filterbanks[${PYTHON_USEDEP}]
	dev-python/editdistance[${PYTHON_USEDEP}]
	<dev-python/importlib-metadata-5.0[${PYTHON_USEDEP}]
	train? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
	train? ( ~dev-python/pillow-9.5.0[${PYTHON_USEDEP}] )
	train? ( dev-python/wandb[${PYTHON_USEDEP}] )
	train? ( dev-python/tensorboard[${PYTHON_USEDEP}] )
	recipe? ( dev-python/espnet-model-zoo[${PYTHON_USEDEP}] )
	recipe? ( dev-python/gdown[${PYTHON_USEDEP}] )
	recipe? ( dev-python/resampy[${PYTHON_USEDEP}] )
	recipe? ( dev-python/pysptk[${PYTHON_USEDEP}] )
	recipe? ( dev-python/Morfessor[${PYTHON_USEDEP}] )
	recipe? ( dev-python/youtube_dl[${PYTHON_USEDEP}] )
	recipe? ( dev-python/nnmnkwii[${PYTHON_USEDEP}] )
	recipe? ( dev-python/museval[${PYTHON_USEDEP}] )
	recipe? ( dev-python/pystoi[${PYTHON_USEDEP}] )
	recipe? ( dev-python/mir_eval[${PYTHON_USEDEP}] )
	recipe? ( dev-python/fastdtw[${PYTHON_USEDEP}] )
	recipe? ( dev-python/nara-wpe[${PYTHON_USEDEP}] )
	recipe? ( dev-python/sacrebleu[${PYTHON_USEDEP}] )
	recipe? ( dev-python/praatio[${PYTHON_USEDEP}] )
	recipe? ( >=dev-python/scikit-learn-1.0.0[${PYTHON_USEDEP}] )
	all? ( dev-python/torchaudio[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"