blob: e74689744f9d72bf3091dddd0d85fc675b8715c6 (
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
# Maintainer: taotieren <admin@taotieren.com>
pkgbase=python-misaki
pkgname=(python-misaki{,-{en,ja,ko,zh,vi,he}})
_name=misaki
pkgver=0.9.4
pkgrel=6
epoch=
pkgdesc="G2P engine for TTS"
arch=('any')
url="https://pypi.org/project/${_name}"
license=(MIT)
groups=()
depends=(
python
python-regex
# AUR
python-addict
)
makedepends=(
python-hatchling
python-build
python-installer
python-wheel
python-setuptools
)
optdepends=()
options=('!strip' '!debug')
source=("${_name}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
noextract=()
sha256sums=('3960fa3e6de179a90ee8e628446a4a4f6b8c730b6e3410999cf396189f4d9c40')
build() {
cd "${srcdir}/${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package_python-misaki() {
provides=(${pkgname})
conflicts=(${pkgname})
optdepends=(python-misaki-{en,ja,ko,zh,vi,he})
cd "${srcdir}/${_name}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
package_python-misaki-en() {
pkgdesc+=" - en"
provides=(${pkgname})
conflicts=(${pkgname})
depends=(
python-misaki
python-pytorch
# AUR
python-espeakng-loader
python-num2words
python-spacy
python-spacy-curated-transformers
python-transformers
)
}
package_python-misaki-ja() {
pkgdesc+=" - ja"
provides=(${pkgname})
conflicts=(${pkgname})
depends=(
python-jaconv
python-misaki
# AUR
python-fugashi
python-mojimoji
python-unidic
python-pyopenjtalk
)
}
package_python-misaki-ko() {
pkgdesc+=" - ko"
provides=(${pkgname})
conflicts=(${pkgname})
depends=(
python-nltk
python-misaki
# AUR
python-jamo
)
}
package_python-misaki-zh() {
pkgdesc+=" - zh"
provides=(${pkgname})
conflicts=(${pkgname})
depends=(
pypinyin
python-jieba
python-ordered-set
python-misaki
# AUR
python-cn2an
python-pypinyin-dict
)
}
package_python-misaki-vi() {
pkgdesc+=" - vi"
provides=(${pkgname})
conflicts=(${pkgname})
depends=(
python-misaki
# AUR
python-num2words
python-spacy
python-spacy-curated-transformers
python-underthesea
)
}
package_python-misaki-he() {
pkgdesc+=" - he"
provides=(${pkgname})
conflicts=(${pkgname})
depends=(
python-misaki
# AUR
python-mishkal-hebrew
)
}
|