aports/community/py3-pulsectl/APKBUILD
2024-09-08 21:28:19 +00:00

36 lines
928 B
Plaintext

# Contributor: Magnus Sandin <magnus.sandin@gmail.com>
# Maintainer: Magnus Sandin <magnus.sandin@gmail.com>
pkgname=py3-pulsectl
_pkgreal=pulsectl
pkgver=24.8.0
pkgrel=0
pkgdesc="Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)"
options="!check" # No tests available
url="https://pypi.org/project/pulsectl/"
arch="noarch"
license="MIT"
depends="python3 libpulse"
makedepends="
py3-gpep517
py3-setuptools
"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/$_pkgreal/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel \
--destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="
4638bb41611e8d7a00f2daeec7e7783789d5d1d94841206b4052e53897e6547c21f8410c3400e1bd301e237b3a72143fb6ff3d67cbafd06bada0a1d0da007c96 pulsectl-24.8.0.tar.gz
"