Date: Tue, 17 Mar 2026 07:53:00 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d6834b8fee60 - main - misc/py-kokoro: New port: Text-to-speech inference library for Kokoro-82M model Message-ID: <69b9085c.405e7.7435f9a5@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d6834b8fee60701c65ab6e114a7659ac961127bd commit d6834b8fee60701c65ab6e114a7659ac961127bd Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-03-17 07:25:05 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-03-17 07:52:50 +0000 misc/py-kokoro: New port: Text-to-speech inference library for Kokoro-82M model --- misc/Makefile | 1 + misc/py-kokoro/Makefile | 29 +++++++++++++++++++++++++++++ misc/py-kokoro/distinfo | 3 +++ misc/py-kokoro/pkg-descr | 8 ++++++++ 4 files changed, 41 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index a10e3b7a7b32..c2cf927b0975 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -483,6 +483,7 @@ SUBDIR += py-ipyfastscape SUBDIR += py-jiwer SUBDIR += py-kartograph + SUBDIR += py-kokoro SUBDIR += py-langchain SUBDIR += py-langchain-anthropic SUBDIR += py-langchain-core diff --git a/misc/py-kokoro/Makefile b/misc/py-kokoro/Makefile new file mode 100644 index 000000000000..2b513062713f --- /dev/null +++ b/misc/py-kokoro/Makefile @@ -0,0 +1,29 @@ +PORTNAME= kokoro +DISTVERSION= 0.9.4 +CATEGORIES= misc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ports@FreeBSD.org +COMMENT= Text-to-speech inference library for Kokoro-82M model +WWW= https://github.com/hexgrad/kokoro + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}huggingface-hub>0:misc/py-huggingface-hub@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}loguru>0:devel/py-loguru@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}misaki>=0.9.4:misc/py-misaki@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}num2words>0:devel/py-num2words@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}spacy>0:textproc/py-spacy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}transformers>=0:misc/py-transformers@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/misc/py-kokoro/distinfo b/misc/py-kokoro/distinfo new file mode 100644 index 000000000000..abadcd8e1507 --- /dev/null +++ b/misc/py-kokoro/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1773622831 +SHA256 (kokoro-0.9.4.tar.gz) = fbf633262797f8cf46fdac3315cf9cade67dc8b762c0feccf334892772fb9ac4 +SIZE (kokoro-0.9.4.tar.gz) = 26215928 diff --git a/misc/py-kokoro/pkg-descr b/misc/py-kokoro/pkg-descr new file mode 100644 index 000000000000..a551be6f5900 --- /dev/null +++ b/misc/py-kokoro/pkg-descr @@ -0,0 +1,8 @@ +Kokoro is an open-weight Text-to-Speech (TTS) inference library designed +for the Kokoro-82M model. + +It provides fast, small, and free text-to-speech capabilities using PyTorch +and the Hugging Face ecosystem. The library supports multiple languages +and voices through the Misaki grapheme-to-phoneme engine. + +For full English language support, install textproc/py-phonemizer separately.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b9085c.405e7.7435f9a5>
