# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 pypi DESCRIPTION="F5-TTS: Fairytaler that Fakes Fluent and Faithful Speech with Flow Matching" HOMEPAGE="https://github.com/SWivid/F5-TTS https://pypi.org/project/f5-tts/" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" RDEPEND=" || ( sci-ml/torchaudio sci-ml/torchaudio-cuda sci-ml/torchaudio-rocm ) $(python_gen_cond_dep ' dev-python/click[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/pydub[${PYTHON_USEDEP}] dev-python/soundfile[${PYTHON_USEDEP}] dev-python/tqdm[${PYTHON_USEDEP}] dev-python/einops[${PYTHON_USEDEP}] sci-ml/safetensors[${PYTHON_USEDEP}] sci-ml/transformers[${PYTHON_USEDEP}] sci-ml/huggingface_hub[${PYTHON_USEDEP}] ') " BDEPEND=" $(python_gen_cond_dep ' dev-python/setuptools[${PYTHON_USEDEP}] ') "