Skip to content
Snippets Groups Projects
Commit 2f042be9 authored by Celeste's avatar Celeste Committed by Patrycja Rosa
Browse files

community/py3-pylast: upgrade to 5.3.0

parent 14700c7e
No related branches found
No related tags found
1 merge request!68546community/py3-pylast: upgrade to 5.3.0
Pipeline #245251 passed
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-pylast
pkgver=5.2.0
pkgrel=1
pkgver=5.3.0
pkgrel=0
pkgdesc="Python interface to the last.fm API"
url="https://github.com/pylast/pylast"
arch="noarch !ppc64le !armhf" # py3-httpx
arch="noarch"
license="Apache-2.0"
replaces="py-pylast"
# Requires unpackaged flaky
options="!check"
depends="python3 py3-httpx"
depends="py3-httpx"
makedepends="py3-gpep517 py3-hatchling py3-hatch-vcs"
checkdepends="py3-flaky py3-pytest"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/pylast/pylast-$pkgver.tar.gz"
builddir="$srcdir"/pylast-$pkgver
builddir="$srcdir/pylast-$pkgver"
build() {
gpep517 build-wheel \
......@@ -22,11 +21,17 @@ build() {
--output-fd 3 3>&1 >&2
}
check() {
python3 -m venv --clear --without-pip --system-site-packages .testenv
.testenv/bin/python3 -m installer .dist/pylast*.whl
.testenv/bin/python3 -m pytest
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/pylast*.whl
}
sha512sums="
1ae76ff4ec6f009388abfcf8525f1c19e47cbabaace1f5e8c518819d0856168d855b789e3c08a9699dd7ab88ebfc7c3ab81c2d74a0fa1fd210450741b99da8c6 pylast-5.2.0.tar.gz
b8d015d9d1452a650a6fc05019a145c2c5104c1acd0e296d7a9b536fd91710b4efe3dab2646b4b373ca13278fbdc385a64472829dfd1cf8980a22a5f2314afe9 pylast-5.3.0.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment