community/py3-pyaudio: upgrade to 0.2.14

This commit is contained in:
Bart Ribbers 2023-12-05 15:40:27 +01:00
parent 2801dfc00b
commit 5b2fbbc046

View File

@ -1,27 +1,43 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pyaudio
pkgver=0.2.13
pkgrel=1
pkgver=0.2.14
pkgrel=0
pkgdesc="Bindings for PortAudio v19, the cross-platform audio input/output stream library"
url="https://people.csail.mit.edu/hubert/pyaudio/"
arch="all"
license="MIT"
depends="python3"
makedepends="py3-setuptools python3-dev portaudio-dev"
makedepends="
portaudio-dev
py3-gpep517
py3-setuptools
py3-wheel
python3-dev
"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/P/PyAudio/PyAudio-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/PyAudio-$pkgver"
build() {
python3 setup.py 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 setup.py install --skip-build --root="$pkgdir"
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
1ae453cae442118ae1b0db44ca8736621a361af3686e47561bffa0d43352039ed5f882412ca22a2a4320b362f966e727b0e38bb9706e99b85d99bc16cc943008 PyAudio-0.2.13.tar.gz
2133db0968edcb0d82c6c1922f842d045a32c77998cfae8b38a041c67650cfacf9f6354c8a252db1b5148f73d229940b4c27064b400d2de7ab7e9370f73b8b95 PyAudio-0.2.14.tar.gz
"