mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 21:56:40 +02:00
44 lines
1.3 KiB
Text
44 lines
1.3 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
maintainer="Bart Ribbers <bribbers@disroot.org>"
|
|
pkgname=py3-ovos-phal-plugin-connectivity-events
|
|
pkgver=0.1.1
|
|
pkgrel=0
|
|
pkgdesc="Monitors network state and exposes it via messagebus"
|
|
url="https://github.com/OpenVoiceOS/ovos-PHAL-plugin-connectivity-events"
|
|
# loongarch64: blocked by py3-ovos-plugin-manager
|
|
arch="noarch !loongarch64"
|
|
license="Apache-2.0"
|
|
depends="
|
|
py3-ovos-bus-client
|
|
py3-ovos-plugin-manager
|
|
"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVoiceOS/ovos-PHAL-plugin-connectivity-events/archive/refs/tags/$pkgver.tar.gz"
|
|
builddir="$srcdir/ovos-PHAL-plugin-connectivity-events-$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="
|
|
5a75948fbe92f8f1ab29ca3ef83b3ec2af3cfbfc519f943ac89f9f8a607f45d3a02fdc51e9524d1b7a96b39508b08010fb8fdee58ad106de0bac93f96bcfe36d py3-ovos-phal-plugin-connectivity-events-0.1.1.tar.gz
|
|
"
|