maintainer="Bart Ribbers <bribbers@disroot.org>"
pkgname=ovos-messagebus
pkgver=0.0.8
pkgrel=0
pkgdesc="ovos-core metapackage for bus daemon"
url="https://github.com/OpenVoiceOS/ovos-messagebus"
arch="noarch"
license="Apache-2.0"
depends="
	py3-ovos-config
	py3-ovos-utils
	py3-tornado
	"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVoiceOS/ovos-messagebus/archive/refs/tags/$pkgver.tar.gz"
options="!check" # No tests

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

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

sha512sums="
a53f0a44c76b6625fa562d3455844f2413f9a9c07880a1f9424981ae33b813127ea79c880a735cc9f04b8c952d2865b4b0825b7b776d830df0fd75fb51879df7  ovos-messagebus-0.0.8.tar.gz
"
