1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/py3-pylast/APKBUILD
psykose aa528d2a76 */*: unify gpep517 use to output to fd 3
outputting to 3 then redirecting all to stderr prevents clobbering of
wrapped build fds
2023-01-18 12:58:53 +01:00

31 lines
902 B
Text

# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-pylast
pkgver=5.1.0
pkgrel=1
pkgdesc="A Python interface to the last.fm API"
url="https://github.com/pylast/pylast"
arch="noarch !ppc64le !armhf" # py3-httpx
license="Apache-2.0"
replaces="py-pylast"
# Requires unpackaged flaky
options="!check"
depends="python3 py3-httpx"
makedepends="py3-gpep517 py3-hatchling py3-hatch-vcs"
source="https://files.pythonhosted.org/packages/source/p/pylast/pylast-$pkgver.tar.gz"
builddir="$srcdir"/pylast-$pkgver
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
dist/pylast*.whl
}
sha512sums="
8154dec329c738251f3162ac32d561bbad36bcfe974fa32021afa43bcb99a816f19fc00ed7196d8062f438442973fd11936b26dccc1c27b67cbf6dfb3913c999 pylast-5.1.0.tar.gz
"