View Raw Ebuild
# 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="Multi-lingual Automatic Speech Recognition (ASR) based on Whisper models, with accurate word timestamps, access to language detection confidence, several options for Voice Activity Detection (VAD), and more."
HOMEPAGE="https://github.com/linto-ai/whisper-timestamped"
LICENSE="GPL-3"
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="dev test vad-auditok vad-silero"
DEPENDENCIES="dev-python/cython[${PYTHON_USEDEP}]
dev-python/dtw-python[${PYTHON_USEDEP}]
dev-python/openai-whisper[${PYTHON_USEDEP}]
dev? ( ~dev-python/matplotlib-3.7.4[${PYTHON_USEDEP}] )
dev? ( dev-python/transformers[${PYTHON_USEDEP}] )
vad-silero? ( dev-python/onnxruntime[${PYTHON_USEDEP}] )
vad-silero? ( dev-python/torchaudio[${PYTHON_USEDEP}] )
vad-auditok? ( dev-python/auditok[${PYTHON_USEDEP}] )
test? ( dev-python/jsonschema[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"