diff --git a/community/py3-pulsectl/APKBUILD b/community/py3-pulsectl/APKBUILD index 9449c6c1f4d..76601be456d 100644 --- a/community/py3-pulsectl/APKBUILD +++ b/community/py3-pulsectl/APKBUILD @@ -2,29 +2,34 @@ # Maintainer: Magnus Sandin pkgname=py3-pulsectl _pkgreal=pulsectl -pkgver=24.4.0 -pkgrel=1 +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-setuptools" +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() { - python3 setup.py build + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 } package() { - python3 setup.py install \ - --skip-build \ - --root="$pkgdir" + gpep517 install-wheel \ + --destdir "$pkgdir" \ + .dist/*.whl } sha512sums=" -b17fd577f9c336f762925bd423fdca665afa92a88b0dae076ca016d7c5b2b3d9ef11efd27f7339031accadef00d513f972c216a23f26cfd049516f3dbcc63d01 pulsectl-24.4.0.tar.gz +4638bb41611e8d7a00f2daeec7e7783789d5d1d94841206b4052e53897e6547c21f8410c3400e1bd301e237b3a72143fb6ff3d67cbafd06bada0a1d0da007c96 pulsectl-24.8.0.tar.gz "