# 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="Fourier-based neural vocoder for high-quality audio synthesis" HOMEPAGE="https://github.com/charactr-platform/vocos" LICENSE="" 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="train" DEPENDENCIES="dev-python/torch[${PYTHON_USEDEP}] dev-python/torchaudio[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}] dev-python/einops[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/huggingface-hub[${PYTHON_USEDEP}] dev-python/encodec[${PYTHON_USEDEP}] train? ( dev-python/pytorch-lightning[${PYTHON_USEDEP}] ) train? ( dev-python/jsonargparse[${PYTHON_USEDEP}] ) train? ( dev-python/transformers[${PYTHON_USEDEP}] ) train? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) train? ( dev-python/torchcrepe[${PYTHON_USEDEP}] ) train? ( dev-python/pesq[${PYTHON_USEDEP}] ) train? ( dev-python/fairseq[${PYTHON_USEDEP}] )" BDEPEND="${DEPENDENCIES}" RDEPEND="${DEPENDENCIES}"