mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 04:05:40 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
28 lines
903 B
Text
28 lines
903 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-precise-runner
|
|
pkgver=0.3.1
|
|
pkgrel=3
|
|
pkgdesc="A lightweight, simple-to-use, RNN wake word listener "
|
|
url="https://github.com/MycroftAI/mycroft-precise"
|
|
arch="noarch !s390x" # blocked by py3-bbopt
|
|
license="Apache-2.0"
|
|
depends="python3 py3-bbopt py3-fitipy py3-pyaudio"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="https://pypi.python.org/packages/source/p/precise-runner/precise-runner-$pkgver.tar.gz"
|
|
builddir="$srcdir/precise-runner-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD/build/lib" pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="58c62992666322018c01a22916b3a1014002c7aceda830970f1d0330777b47c981810f5a6a05840695b032cba21c8df09d14b982b24fac3926551a15a8dd99fd precise-runner-0.3.1.tar.gz"
|