blob: 59c8148b6b667b9c0864dd2abc6d37f03fce2a31 (
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
|
# Maintainer: Lumaku <lumaku@mailbox.org>
pkgname=python-espnet-git
pkgver=0.9.10.r11339
pkgrel=1
pkgdesc='End-to-End Speech Processing Toolkit Python Package'
arch=('any')
url='https://github.com/espnet/espnet'
license=('Apache 2.0')
depends=('python>=3.7' 'python-numpy' 'python-pytorch' 'python-soundfile' 'python-typeguard' 'python-editdistance' 'python-librosa' 'tensorboard' 'python-h5py' 'python-nltk' 'python-regex' 'python-inflect' 'python-jaconv' 'python-pytorch-complex-git' 'python-pytorch-wpe-git' 'python-g2p-git' 'python-kaldiio-git' 'python-sentencepiece-git' 'python-wandb-git' 'python-espnet-tts-frontend-git' 'python-ctc-segmentation-git' 'python-humanfriendly')
optdepends=('sox: convert audio files' 'python-espnet-model-zoo-git: pretrained models')
makedepends=('git' 'python-setuptools')
provides=('python-espnet')
conflicts=("python-espnet" "${pkgname}")
source=(
"${pkgname}::git+${url}")
md5sums=(
'SKIP')
pkgver() {
cd "${pkgname}"
printf "%s.r%s" "$(python setup.py --version)" "$(git rev-list --count HEAD)"
}
build() {
cd "${pkgname}"
python setup.py build
}
package() {
cd "${pkgname}"
export PYTHONHASHSEED=0
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|