dev-python/funasr-onnx: new package, add 0.4.1

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui authored and jinqiang zhang committed 2026-03-04 17:55:01 +08:00
1 parent 901b19183f
commit 96e962fae8
3 files changed
+64

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST funasr_onnx-0.4.1.tar.gz 33795 BLAKE2B b76e91b4bc853576ab97a762aa0a089ad1ca98bbfffe0a027faf7776d6cc418c2ac08379d26d305b90975c0b9f97372459f9f2caeed81a95cc9cbe40765d02c1 SHA512 c5fb0d7c4947587fc02f0df46fefac69242e3827163c11cb5cdc7208627ac54e56edd8d77a85055748bac64df3c346614de088faef13aa6460937e7602b3dc13
@@ -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"
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>vowstar@gmail.com</email>
<name>Huang Rui</name>
</maintainer>
<upstream>
<remote-id type="github">modelscope/FunASR</remote-id>
<remote-id type="pypi">funasr-onnx</remote-id>
</upstream>
<longdescription lang="en">
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.
</longdescription>
<longdescription lang="zh">
funasr_onnx提供基于ONNX Runtime的FunASR语音识别模型推理。它支持
Paraformer语音识别、VAD(语音活动检测)和标点恢复模型,用于中文语音
识别,无需依赖PyTorch。
</longdescription>
</pkgmetadata>