blob: bdc6740e607c5bf81d9d06c1a0cd9574df2006ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Maintainer: AlphaJack <alphajack at tuta dot io>
pkgname="coqui-tts"
_pkgname="${pkgname/-/_}"
pkgver=0.26.1
pkgrel=1
pkgdesc="Deep learning for Text to Speech"
url="https://github.com/idiap/coqui-ai-TTS"
license=("MPL2")
arch=("any")
provides=("tts" "python-tts")
conflicts=("python-tts" "tts")
replaces=("python-tts" "tts")
depends=("cython"
"python"
"python-numpy"
"python-scipy"
"python-pytorch"
"python-torchaudio"
"python-soundfile"
"python-librosa"
"python-numba"
"python-inflect"
"python-tqdm"
"python-anyascii"
"python-yaml"
"python-fsspec"
"python-aiohttp"
"python-packaging"
"python-flask"
"python-pysbd"
"python-soxr"
"python-coqpit"
"python-coqui-trainer"
)
makedepends=("python-build" "python-installer" "python-wheel" "python-hatchling")
optdepends=("python-umap-learn: for notebooks"
"python-pandas: for notebooks"
"python-matplotlib: for training"
"python-coqui-trainer: for training"
"python-coqpit: for configuration"
"python-gruut: for german, spanish, french"
"python-jieba: for chinese"
"pypinyin: for chinese"
"python-mecab: for japanese"
"python-unidic-lite: for japanese"
"python-jamo-git: for korean"
"python-nltk: for korean"
#"python-g2pkk: for korean"
#"python-bangla: for bangla"
#"python-bnnumerizer: for bangla"
#"python-bnunicodenormalizer: for bangla"
#"python-k_diffusion: for tortoise"
"python-einops: for tortoise"
"python-transformers: for tortoise"
)
options=("!strip")
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
b2sums=('9dc345155db8cce7336a41fed77a9dee42789a540411fd01506488259d0646ec2b0bea8ae65a66a1c38856fc8feab849b92a8366038aba88be0310ae59e8ac13')
build(){
cd "$_pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package(){
cd "$_pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|