# Contributor: Carlo Landmeter # Maintainer: Fabian Affolter pkgname=py3-pylast pkgver=3.0.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 packages which are not available for test options="!check" makedepends="py3-setuptools python3-dev" source="https://files.pythonhosted.org/packages/source/p/pylast/pylast-$pkgver.tar.gz" builddir="$srcdir"/pylast-$pkgver build() { cd "$builddir" python3 setup.py build } check() { cd "$builddir" python3 setup.py test } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="550d780031088b28686fd9acacaab90566e9e536bfb5ceda59e2c5c5204d452a9dfa9fc4b5e28782f5c6a75f6084be773dc164ee922fe028cf85e8f74b94f106 pylast-3.0.0.tar.gz"