blob: 6b82ae384c3699c153cca64365f2141e086f7867 (
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
|
# Maintainer: Will Handley <wh260@cam.ac.uk>
pkgname=python-kaldialign
_pyname=kaldialign
pkgver=0.9.3
pkgrel=1
pkgdesc='Python wrappers for Kaldi sequence alignment + edit-distance utilities'
arch=('x86_64')
url='https://github.com/pzelasko/kaldialign'
license=('Apache-2.0')
depends=('python')
makedepends=(
'cmake'
'pybind11'
'python-build'
'python-installer'
'python-wheel'
'python-setuptools'
)
source=("$_pyname-$pkgver.tar.gz::https://github.com/pzelasko/$_pyname/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('a72309efddfd78e3f4f9a627534512b1a375fc39463c42f7df652161aab0f678')
build() {
cd "$_pyname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_pyname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|