pantry/projects/github.com/coqui-ai/TTS/package.yml

41 lines
984 B
YAML
Raw Normal View History

distributable:
url: https://github.com/coqui-ai/TTS/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: coqui-ai/TTS/releases
strip: /^v/
# FIXME: inherited from taku910.github.io/mecab
platforms:
- darwin
- linux/x86-64
provides:
- bin/tts
- bin/tts-server
- bin/ttx
dependencies:
2023-10-03 18:23:56 +03:00
python.org: '>=3.7<3.11'
taku910.github.io/mecab: '*'
build:
dependencies:
pip.pypa.io: '*'
git-scm.org: '*'
2023-10-07 00:52:59 +03:00
script:
- python-venv.py {{prefix}}/bin/tts
- run: |
cp {{prefix}}/bin/tts {{prefix}}/bin/tts-server
cp {{prefix}}/bin/tts {{prefix}}/bin/ttx
working-directory: ${{prefix}}/bin
2023-10-07 00:52:59 +03:00
# FIXME: the nvidia package is over 3GB, and OOMs the builder when trying
# to `tar Jcf` it. We likely need this back, but it prevents building at present.
- run: rm -r nvidia
if: linux
working-directory: ${{prefix}}/venv/lib/python{{deps.python.org.version.marketing}}/site-packages
test: tts -h