mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 02:35:23 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
30 lines
814 B
Text
30 lines
814 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-pyalsaaudio
|
|
pkgver=0.9.2
|
|
pkgrel=1
|
|
pkgdesc="ALSA bindings"
|
|
url="https://larsimmisch.github.io/pyalsaaudio/"
|
|
arch="all"
|
|
license="PSF-2.0"
|
|
depends="python3"
|
|
makedepends="py3-setuptools python3-dev alsa-lib-dev"
|
|
source="https://pypi.python.org/packages/source/p/pyalsaaudio/pyalsaaudio-$pkgver.tar.gz"
|
|
options="!check" # Requires specific audio setup
|
|
builddir="$srcdir/pyalsaaudio-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
884173afc13c3e66743ad85c79c87377150c12eb2e31454df20234f11d08cf470bf1316481593b875606e85ec85d6056d7f928e656e0fd65749e4fb7e4e10519 pyalsaaudio-0.9.2.tar.gz
|
|
"
|