mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 00:34:41 +02:00
48 lines
1.3 KiB
Text
48 lines
1.3 KiB
Text
maintainer="Bart Ribbers <bribbers@disroot.org>"
|
|
pkgname=py3-ovos-bus-client
|
|
pkgver=1.3.4
|
|
pkgrel=0
|
|
pkgdesc="A simple interface for the mycroft messagebus and can be used to connect to ovos"
|
|
url="https://github.com/OpenVoiceOS/ovos-bus-client"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="
|
|
py3-orjson
|
|
py3-ovos-config
|
|
py3-ovos-utils
|
|
py3-ovos-utils
|
|
py3-pyee
|
|
py3-websocket-client
|
|
"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVoiceOS/ovos-bus-client/archive/refs/tags/$pkgver.tar.gz"
|
|
builddir="$srcdir/ovos-bus-client-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
.testenv/bin/python3 -m installer .dist/*.whl
|
|
# Disabled tests have broken imports
|
|
.testenv/bin/python3 -m pytest -k 'not test_class_patching and not test_inheritance and not test_create_client' \
|
|
--ignore test/unittests/test_compat.py
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
6225ecbe58f03f873b40a525deb65d390212d2e1598342fd6f0c25e6d02ef30d49d2fc72af31264a3399c6b1be99b2ebc0c1cad377d3cb8b2037e59d8edb3589 py3-ovos-bus-client-1.3.4.tar.gz
|
|
"
|