maintainer="Bart Ribbers <bribbers@disroot.org>"
pkgname=py3-ovos-phal-plugin-system
pkgver=1.3.2
pkgrel=0
pkgdesc="handle bus events to interact with the OS"
url="https://github.com/OpenVoiceOS/ovos-PHAL-plugin-system"
arch="noarch"
license="Apache-2.0"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVoiceOS/ovos-PHAL-plugin-system/archive/refs/tags/$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/ovos-PHAL-plugin-system-$pkgver"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
cfc1cbf21150a52775be077109373448503e7edd9229a961322d122c818a4cdfc5a08f255a9d331de52911d430ce52de8e7c51a408d067d604254558a1b2e897  py3-ovos-phal-plugin-system-1.3.2.tar.gz
"
