maintainer="Bart Ribbers <bribbers@disroot.org>"
pkgname=py3-ovos-plugin-manager
pkgver=0.8.6
pkgrel=0
pkgdesc="Plugin manager for OpenVoiceOS, STT/TTS/Wakewords that can be used anywhere"
url="https://github.com/OpenVoiceOS/OVOS-plugin-manager"
arch="noarch"
license="Apache-2.0"
depends="
	py3-combo-lock
	py3-langcodes
	py3-ovos-bus-client
	py3-ovos-utils
	py3-quebra-frases
	py3-requests
	"
makedepends="
	py3-setuptools
	py3-gpep517
	py3-wheel
	"
subpackages="$pkgname-pyc"
source="https://github.com/OpenVoiceOS/OVOS-plugin-manager/archive/$pkgver/ovos-plugin-manager-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/ovos-plugin-manager-$pkgver"

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

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

sha512sums="
6bb41b0ede47a2ca5c6f4c0969a6ac24f0ec9bebc16e3ce3caf9b0350f8d729afd9fc1dae64e4b8171aea64b3c468954c8be6931e9e5592ce18301e4da51fd58  ovos-plugin-manager-0.8.6.tar.gz
"
