Commit e8d27a9c authored by Bart Ribbers's avatar Bart Ribbers Committed by Leo

testing/py3-padatious: upgrade to 0.4.8 and enable tests

parent 8ca2f0a6
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-padatious
pkgver=0.4.7
pkgver=0.4.8
pkgrel=0
pkgdesc="A neural network intent parser"
url="http://padatious.readthedocs.io/"
......@@ -9,16 +9,20 @@ arch="noarch"
license="Apache-2.0"
depends="python3 py3-padaos py3-xxhash py3-fann2"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/p/padatious/padatious-$pkgver.tar.gz"
options="!check" # No tests
checkdepends="py3-pytest"
source="https://github.com/MycroftAI/padatious/archive/v$pkgver/padatious-v$pkgver.tar.gz"
builddir="$srcdir/padatious-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="2e52ed5218a95376b42ed2cd9cd50e320d9d6a819b5ec41d65a9039cf3f14f9f61a97b329b1cd666bb83a53ca649d65f66efe9a31ba28714b8aaf526e331fa7a padatious-0.4.7.tar.gz"
sha512sums="a711cb2f6ae57cf43786e4afa22913c78f8f550c3fe0580b45208e04968a55b113f7e5bc228ab172556043c6e9f29b1161f6376b98d995e35ab352e949639452 padatious-v0.4.8.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment