mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/py3-spotipy: build with gpep517
This commit is contained in:
parent
a285d284af
commit
2c5f47d09c
@ -2,27 +2,30 @@
|
||||
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
|
||||
pkgname=py3-spotipy
|
||||
_pkgname=spotipy
|
||||
pkgver=2.23.0
|
||||
pkgrel=2
|
||||
pkgver=2.24.0
|
||||
pkgrel=1
|
||||
pkgdesc="Light weight Python library for the Spotify Web API"
|
||||
url="https://github.com/spotipy-dev/spotipy"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="py3-requests py3-six py3-urllib3 py3-redis"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="py3-setuptools py3-gpep517"
|
||||
options="!check" # requires Spotify API Key
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/spotipy-dev/spotipy/archive/$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$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="
|
||||
52955fa3365d5153f19f60874ce8e96910ac8db783499e0e2ef2ab31127277844e24a045115dc522dd7b7535f7907de56da87e02a63b94ee7506b75c1e108e9b py3-spotipy-2.23.0.tar.gz
|
||||
9860119f078ff894a9b27bb4d51cd7b469c2cea4981757338d8c3f1c6c8a1c0bbb3b79622820486c07f0b86ce4e26f9329635b51fc976c4cee43122b9a0209ff py3-spotipy-2.24.0.tar.gz
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user