add hermes-agent with kittentts deps

This commit is contained in:
TheK0tYaRa 2026-04-28 20:14:43 +03:00
parent 40d5509482
commit 6c5c6584a1
39 changed files with 709 additions and 1 deletions

1
dev-python/csvw/Manifest Normal file
View file

@ -0,0 +1 @@
DIST csvw-3.7.0.tar.gz 74789 BLAKE2B e87bdf976eadb8b01bbe0b148478748a0d4d2e46e52aa532f76a116216128bc38fe19c1b42e025d774de6b2ab4a278edec3ee6db4850165fca97a0eab6461b66 SHA512 14b503f56d20c78d71a92a01381fce903204b7e1d5fcfd1a0f92d460ecf9a5a8c7943bb2c61de76f304d6a25b7b5f9c763d10eb2c671b2abbd4c1a375dcfa4ef

View file

@ -0,0 +1,32 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Python library to work with CSVW described tabular data"
HOMEPAGE="https://github.com/cldf/csvw https://pypi.org/project/csvw/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
RDEPEND="
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/babel[${PYTHON_USEDEP}]
dev-python/isodate[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/language-tags[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/rdflib[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/rfc3986[${PYTHON_USEDEP}]
dev-python/termcolor[${PYTHON_USEDEP}]
dev-python/uritemplate[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

View 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">cldf/csvw</remote-id>
<remote-id type="pypi">csvw</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1 @@
DIST dlinfo-2.0.0.tar.gz 12727 BLAKE2B c12a3a9170b756998543cc72d6af181e18dafbad4f244161c9ab60353a713df4fe64cd94855a44a8df4f9e07d38b4a56239277f31e4f889f3055fc8483b17764 SHA512 8203afd397fff636f64d584c797bae95a47267bc694ae1dc4b56caf4e701a47d44f3aa0931a58f425721f38a9e6f21e962f97768ac5c29ef13693a9bd8a284c1

View file

@ -0,0 +1,17 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Python wrapper for libc dlinfo and dyld_find"
HOMEPAGE="https://github.com/fphammerle/python-dlinfo https://pypi.org/project/dlinfo/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"

View 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">fphammerle/python-dlinfo</remote-id>
<remote-id type="pypi">dlinfo</remote-id>
</upstream>
</pkgmetadata>

1
dev-python/fire/Manifest Normal file
View file

@ -0,0 +1 @@
DIST fire-0.7.1.tar.gz 88720 BLAKE2B d11f11bf96fcbb17c20cf3830c81e29dedb8ba6b9fd06ab1562f87c3fd9203ddbb0fdd8c708aafee7fa898b5a82da443e75e4ef15f0f0a638372c3b8c792da52 SHA512 0cce927e14552fb9bdbfab73e32f7ef4665ff4bc9b134ee1b80f9c5b8752ab7db9f0353ebea92934288a273f7ab8be4188dc8b6e8922cb05e4b9d6997586e293

View file

@ -0,0 +1,20 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Library for automatically generating command line interfaces"
HOMEPAGE="https://github.com/google/python-fire https://pypi.org/project/fire/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
RDEPEND="dev-python/termcolor[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"

View 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>xiangzhedev@gmail.com</email>
<name>xz-dev</name>
</maintainer>
<upstream>
<remote-id type="github">google/python-fire</remote-id>
<remote-id type="pypi">fire</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1 @@
DIST kittentts-0.8.1.gh.tar.gz 23227 BLAKE2B 5fde3b4e6fa4b77c375b0b44f93ae73f63094c26889a0b21abc256e98ca96fa853a87093d4a7ad288800364b73f23b8160ae21946189303c743754ab063754b2 SHA512 e25369319ede993e66f9f8cc2758f2dd57889b877a5a6019f965d7bcfb7260c3c022d918f7fb2e1227857faaf5729dfeaae1d6971d54a669fa7c5140dd2d82ac

View file

@ -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

View 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."
}

View 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>

View file

@ -0,0 +1 @@
DIST language_tags-1.2.0.tar.gz 207901 BLAKE2B e10523f21bc71c9b70923988b5acc639c398b695c66b238650bc362d69883349fd3be27207e403dd9b01e7f92946e4f81bd737ce7e7fc490a63da830e434af1e SHA512 48632b5e5e3c9639a1838ed05aab9fddcf936885451a1449246b77011ecc6df54111fce3bdf95a575627e278d7f4e1e2a34d973706289fbec77d35799f8e1d49

View file

@ -0,0 +1,17 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Python language tag registry and matching"
HOMEPAGE="https://pypi.org/project/language-tags/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"

View file

@ -0,0 +1,11 @@
<?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="pypi">language-tags</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1 @@
DIST num2words-0.5.14.tar.gz 218213 BLAKE2B e9ebe7907ed03eab44f0bf4329c1a7f5a257ae36b4f716da37ff506a6a38639d1d9fa18fcb38ba9ad76bc829bf87980ebe663c7335913a550f3a813c494c83b3 SHA512 05b7f256df7f23d2b6cbf398b1c908954dab213ae3ed6f2121b7ef9ce9f33539eebcf48f4da4a341e86b1905d7531a84fc7125d22bc710eda13a9d33f6f2ecc2

View 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">savoirfairelinux/num2words</remote-id>
<remote-id type="pypi">num2words</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,20 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Convert numbers to words in multiple languages"
HOMEPAGE="https://github.com/savoirfairelinux/num2words https://pypi.org/project/num2words/"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
RDEPEND="dev-python/docopt[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"

View file

@ -0,0 +1 @@
DIST phonemizer_fork-3.3.2.tar.gz 300989 BLAKE2B ed2277b8aac5c6ff6ba7efe4e83a8bcf2970327357928de2aff5ed171064f9c18d593240f862429b5263ec56580f60dd0889e8911742edd78396f732364cd5c7 SHA512 c9ab4be423d83878f63ef0d2e2dbe1ceb8fa1d8497b4c87a387bfd6698b9308d77b945d22d9bda2159e6d0e5551a6f58318c61cf35bdf0307e6cd0c11f5c5765

View 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">bootphon/phonemizer</remote-id>
<remote-id type="pypi">phonemizer-fork</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,27 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="Simple text to phones converter for multiple languages"
HOMEPAGE="https://bootphon.github.io/phonemizer/ https://pypi.org/project/phonemizer-fork/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
RDEPEND="
app-accessibility/espeak-ng
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/dlinfo[${PYTHON_USEDEP}]
dev-python/joblib[${PYTHON_USEDEP}]
dev-python/segments[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

View file

@ -0,0 +1 @@
DIST segments-2.4.0.tar.gz 18662 BLAKE2B 6101fd23ec5f9f3617d1083510ef05e28a78ceaa1003beee73b66b28dc6f6916964c8d729b1c1dd74bcbfc8058d79cdc3f222a7c481f35ccbe05ef9b9cd5d2c4 SHA512 36e64d51c8b2ecf10638b2d830450e36b88a7bcb9ed73c9fd82b18ea73da0b0faeba89713cab7f45744a9626a0135c76094e36aef72d777740052594c7789901

View 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">cldf/segments</remote-id>
<remote-id type="pypi">segments</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,23 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Segmentation with orthography profiles"
HOMEPAGE="https://github.com/cldf/segments https://pypi.org/project/segments/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
RDEPEND="
dev-python/csvw[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"