mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-21 06:36:45 +02:00
53 lines
1.4 KiB
Text
53 lines
1.4 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
maintainer="Bart Ribbers <bribbers@disroot.org>"
|
|
pkgname=ovos-audio
|
|
pkgver=0.3.1
|
|
pkgrel=0
|
|
pkgdesc="ovos-core metapackage for audio daemon"
|
|
url="https://github.com/OpenVoiceOS/ovos-audio"
|
|
arch="noarch !s390x !loongarch64" # blocked by py3-ovos-ocp-audio-plugin
|
|
license="Apache-2.0"
|
|
depends="
|
|
py3-importlib-metadata
|
|
py3-ovos-bus-client
|
|
py3-ovos-config
|
|
py3-ovos-ocp-audio-plugin
|
|
py3-ovos-ocp-files-plugin
|
|
py3-ovos-ocp-m3u-plugin
|
|
py3-ovos-ocp-news-plugin
|
|
py3-ovos-ocp-rss-plugin
|
|
py3-ovos-plugin-manager
|
|
py3-ovos-tts-server-plugin
|
|
py3-ovos-utils
|
|
sox
|
|
"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVoiceOS/ovos-audio/archive/refs/tags/$pkgver.tar.gz"
|
|
|
|
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 -k "not test_audio_service_queue_methods" \
|
|
--deselect test/unittests/test_end2end.py
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
6436eff7286e0b8ef617e44b79ec476084dbd42ca2529031114a872e607652ede824abe234f7cc8f84f8cc7461d86194c2e6a6fc46781d23091e40043437f7fc ovos-audio-0.3.1.tar.gz
|
|
"
|