add hermes-agent with kittentts deps
This commit is contained in:
parent
40d5509482
commit
6c5c6584a1
39 changed files with 709 additions and 1 deletions
1
dev-python/kittentts/Manifest
Normal file
1
dev-python/kittentts/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST kittentts-0.8.1.gh.tar.gz 23227 BLAKE2B 5fde3b4e6fa4b77c375b0b44f93ae73f63094c26889a0b21abc256e98ca96fa853a87093d4a7ad288800364b73f23b8160ae21946189303c743754ab063754b2 SHA512 e25369319ede993e66f9f8cc2758f2dd57889b877a5a6019f965d7bcfb7260c3c022d918f7fb2e1227857faaf5729dfeaae1d6971d54a669fa7c5140dd2d82ac
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
--- a/kittentts/onnx_model.py
|
||||
+++ b/kittentts/onnx_model.py
|
||||
@@ -1,4 +1,3 @@
|
||||
-from misaki import en, espeak
|
||||
import numpy as np
|
||||
import phonemizer
|
||||
import soundfile as sf
|
||||
40
dev-python/kittentts/kittentts-0.8.1.ebuild
Normal file
40
dev-python/kittentts/kittentts-0.8.1.ebuild
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
PYTHON_COMPAT=( python3_{12..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Ultra-lightweight text-to-speech model"
|
||||
HOMEPAGE="https://github.com/KittenML/KittenTTS https://pypi.org/project/kittentts/"
|
||||
SRC_URI="https://github.com/KittenML/KittenTTS/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/KittenTTS-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-drop-unused-misaki-import.patch
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
sci-ml/huggingface_hub[${PYTHON_SINGLE_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/num2words[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/phonemizer-fork[${PYTHON_USEDEP}]
|
||||
dev-python/soundfile[${PYTHON_USEDEP}]
|
||||
sci-libs/onnxruntime[python,${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_postinst() {
|
||||
elog "KittenTTS downloads model files from Hugging Face at runtime."
|
||||
}
|
||||
12
dev-python/kittentts/metadata.xml
Normal file
12
dev-python/kittentts/metadata.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>local@example.com</email>
|
||||
<name>Local Overlay</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">KittenML/KittenTTS</remote-id>
|
||||
<remote-id type="pypi">kittentts</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Loading…
Add table
Add a link
Reference in a new issue