diff --git a/dev-python/funasr-onnx/Manifest b/dev-python/funasr-onnx/Manifest new file mode 100644 index 0000000000..76bd15f69e --- /dev/null +++ b/dev-python/funasr-onnx/Manifest @@ -0,0 +1 @@ +DIST funasr_onnx-0.4.1.tar.gz 33795 BLAKE2B b76e91b4bc853576ab97a762aa0a089ad1ca98bbfffe0a027faf7776d6cc418c2ac08379d26d305b90975c0b9f97372459f9f2caeed81a95cc9cbe40765d02c1 SHA512 c5fb0d7c4947587fc02f0df46fefac69242e3827163c11cb5cdc7208627ac54e56edd8d77a85055748bac64df3c346614de088faef13aa6460937e7602b3dc13 diff --git a/dev-python/funasr-onnx/funasr-onnx-0.4.1.ebuild b/dev-python/funasr-onnx/funasr-onnx-0.4.1.ebuild new file mode 100644 index 0000000000..0dac9d5977 --- /dev/null +++ b/dev-python/funasr-onnx/funasr-onnx-0.4.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +MY_PN="funasr_onnx" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="FunASR ONNX Runtime inference for speech recognition" +HOMEPAGE=" + https://github.com/modelscope/FunASR + https://pypi.org/project/funasr-onnx/ +" + +SRC_URI=" + https://files.pythonhosted.org/packages/19/ad/08ccdabd46d443c613ddfc6903cb68ac71f966b8bf4eb974d1c06e2b7520/${MY_P}.tar.gz +" + +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/librosa[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/kaldi-native-fbank[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + sci-ml/sentencepiece[${PYTHON_USEDEP}] + dev-python/onnxruntime[${PYTHON_USEDEP}] +" + +# Tests not included in PyPI tarball +RESTRICT="test" diff --git a/dev-python/funasr-onnx/metadata.xml b/dev-python/funasr-onnx/metadata.xml new file mode 100644 index 0000000000..e21ba81db8 --- /dev/null +++ b/dev-python/funasr-onnx/metadata.xml @@ -0,0 +1,23 @@ + + + + + vowstar@gmail.com + Huang Rui + + + modelscope/FunASR + funasr-onnx + + + funasr_onnx provides ONNX Runtime-based inference for FunASR speech + recognition models. It supports Paraformer ASR, VAD (Voice Activity + Detection), and punctuation restoration models for Chinese speech + recognition without requiring PyTorch. + + + funasr_onnx提供基于ONNX Runtime的FunASR语音识别模型推理。它支持 + Paraformer语音识别、VAD(语音活动检测)和标点恢复模型,用于中文语音 + 识别,无需依赖PyTorch。 + +