aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-pylast/APKBUILD
blob: 5ac9eebb5089d5d2319f8b7523a6b080899efb3b (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
28
29
30
31
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-pylast
pkgver=3.2.0
pkgrel=0
pkgdesc="A Python interface to the last.fm API"
url="https://github.com/pylast/pylast"
arch="noarch"
license="Apache"
replaces="py-pylast"
# Requires unpackaged flaky
options="!check"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/p/pylast/pylast-$pkgver.tar.gz"
builddir="$srcdir"/pylast-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}


sha512sums="067121b6b3235e2a3495a5daa87c913b902b94e52bf5fd7ce7145499178fdf5a589eec8abb4c19c0856f287c3682bbc64ec6d1e3d83a3698e0ea01c2726a9df2  pylast-3.2.0.tar.gz"