mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +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
42 lines
1 KiB
Text
42 lines
1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-ovos-utils
|
|
pkgver=0.0.12
|
|
pkgrel=1
|
|
pkgdesc="Collection of simple utilities for use across the MyCroft ecosystem"
|
|
url="https://github.com/OpenVoiceOS/ovos_utils"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="
|
|
py3-colour
|
|
py3-inflection
|
|
py3-json-database
|
|
py3-kthread
|
|
py3-mycroft-messagebus-client
|
|
py3-pexpect
|
|
py3-phoneme-guesser
|
|
py3-pronouncing
|
|
py3-requests
|
|
python3
|
|
"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="ovos_utils-$pkgver.tar.gz::https://github.com/OpenVoiceOS/ovos_utils/archive/refs/tags/$pkgver.tar.gz"
|
|
builddir="$srcdir/ovos_utils-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
# test_lang.py requires a network connection
|
|
PYTHONPATH="$PWD/build/lib" pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
0e733babdea781bd3da8ed1edc0c92312dc7c76440094b2ec71f58f73e6845367e28818e0ee7a797ba4ef550cc06283bc57be6e66d56e38b38d2139064af2819 ovos_utils-0.0.12.tar.gz
|
|
"
|