aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-padatious/APKBUILD
blob: 9c997d1d1a91f164d9b2c817dd351978dee403b7 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-padatious
pkgver=0.4.8
pkgrel=0
pkgdesc="A neural network intent parser"
url="http://padatious.readthedocs.io/"
arch=noarch
license="Apache-2.0"
depends="python3 py3-padaos py3-xxhash py3-fann2"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://github.com/MycroftAI/padatious/archive/v$pkgver/padatious-v$pkgver.tar.gz"
options="!check" # Tests are broken https://github.com/MycroftAI/padatious/issues/28
builddir="$srcdir/padatious-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="a711cb2f6ae57cf43786e4afa22913c78f8f550c3fe0580b45208e04968a55b113f7e5bc228ab172556043c6e9f29b1161f6376b98d995e35ab352e949639452  padatious-v0.4.8.tar.gz"