aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pylast/APKBUILD
blob: 2ddb3bb7762d263c0024f017df92ba2e07140e67 (plain) (blame)
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.1
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="982324745c92adaaed6be94c2d947fbc4a3d716e56cbd84c797ba85b4160a169e19ccb6b735a6904665b346aa41cef851e2756b9620055f4e441aae3fb245372  pylast-3.2.1.tar.gz"