mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
community/py3-pylast: upgrade to 5.3.0
This commit is contained in:
parent
14700c7efb
commit
2f042be918
@ -1,20 +1,19 @@
|
||||
# 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
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user