# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=ovos-phal pkgver=0.0.5a6 pkgrel=0 pkgdesc="Plugin based Hardware Abstraction Layer for OVOS" url="https://github.com/OpenVoiceOS/ovos-PHAL" # s390x blocked by py3-speechrecognition -> py3-ovos-backend-client arch="noarch !s390x" license="Apache-2.0" depends=" py3-ovos-bus-client py3-ovos-config py3-ovos-phal-plugin-connectivity-events py3-ovos-phal-plugin-ipgeo py3-ovos-phal-plugin-network-manager py3-ovos-phal-plugin-oauth py3-ovos-phal-plugin-system py3-ovos-plugin-manager py3-ovos-utils py3-ovos-workshop " makedepends=" py3-gpep517 py3-setuptools py3-wheel " checkdepends=" py3-pytest " subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVoiceOS/ovos-PHAL/archive/refs/tags/V$pkgver.tar.gz" builddir="$srcdir/ovos-PHAL-$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 .testenv/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 860d0e763a9caa87defd985eaa4663c1d194e41a6dbb22dbcfe42e3bb40245832caa25ce07915b5469e35ce2aaa09ffb8f52a392fedec55b946ee47f6a1eefa3 ovos-phal-0.0.5a6.tar.gz "