aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-spotipy/APKBUILD
blob: 015aff042a313801e279e626aff1f4d7d0d0e6f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
pkgname=py3-spotipy
_pkgname=spotipy
pkgver=2.22.0
pkgrel=0
pkgdesc="Light weight Python library for the Spotify Web API"
url="https://github.com/plamere/spotipy"
arch="noarch"
license="MIT"
depends="py3-requests py3-six py3-urllib3 py3-redis"
makedepends="py3-setuptools"
options="!check" # requires Spotify API Key
source="$pkgname-$pkgver.tar.gz::https://github.com/plamere/spotipy/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
272f05b1cb92dbd9842dcac58a5ca322fae703eea58488b968812c12b6c26fb748aabbf5fde7100e9662191231fe12f5353b9ba12f02bd2e4982e0aff1c732f6  py3-spotipy-2.22.0.tar.gz
"