blob: d7a697a053f682c0f6eae81116ccfe1c07e3e346 (
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
|
# Maintainer: Lumaku <lumaku@mailbox.org>
pkgname=python-speechbrain-git
pkgver=0.5.14
pkgrel=1
pkgdesc='All-in-one speech toolkit in pure Python and Pytorch'
arch=('any')
url='https://github.com/speechbrain/speechbrain'
license=('Apache 2.0')
depends=('python>=3.7'
'python-hyperpyyaml-git'
'python-joblib'
'python-numpy'
'python-packaging'
'python-scipy'
'python-sentencepiece'
'python-pytorch'
'python-torchaudio'
'python-tqdm'
'python-huggingface-hub-git')
makedepends=('git' 'python-setuptools')
provides=('python-speechbrain-git')
conflicts=("python-speechbrain")
source=(
"${pkgname}::git+${url}")
md5sums=(
'SKIP')
pkgver() {
cd "${pkgname}"
printf "%s" "$(python setup.py --version)"
}
build() {
cd "${pkgname}"
python setup.py build
}
package() {
cd "${pkgname}"
export PYTHONHASHSEED=0
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|