aports/testing/py3-ovos-phal-plugin-ipgeo/APKBUILD
2024-06-09 01:18:27 +02:00

39 lines
1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-ovos-phal-plugin-ipgeo
pkgver=0.0.2
pkgrel=1
pkgdesc="Provides geolocation information via the OVOS Messagebus"
url="https://github.com/OpenVoiceOS/ovos-PHAL-plugin-ipgeo"
# loongarch64: blocked by py3-ovos-plugin-manager
arch="noarch !loongarch64"
license="Apache-2.0"
depends="
py3-ovos-config
py3-ovos-plugin-manager
py3-requests
"
makedepends="
py3-gpep517
py3-setuptools
py3-wheel
"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVoiceOS/ovos-PHAL-plugin-ipgeo/archive/refs/tags/$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/ovos-PHAL-plugin-ipgeo-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
6ba8c42e4bbcc33f66cf80d7ce6eee5d36f83f8d130cc406625786734a9a0f5c296b3b3ec1ca56cfafd8a3f2fa066d179814706fb9830ddc6e67701488e72d23 py3-ovos-phal-plugin-ipgeo-0.0.2.tar.gz
"