# Template file for 'python-pylast'
pkgname=python-pylast
version=2.1.0
revision=1
wrksrc=pylast-${version}
build_style=python-module
noarch=yes
hostmakedepends="python-setuptools python3-setuptools"
depends="python-six"
pycompile_module="pylast"
short_desc="Python2 interface to last.fm and libre.fm"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="Apache-2.0"
homepage="https://github.com/pylast/pylast"
distfiles="${PYPI_SITE}/p/pylast/pylast-${version}.tar.gz"
checksum=b9b51dc40a7d3ac3eee17ab5b462b8efb7f2c2ff195261ea846ae4e1168e1c5b

python3-pylast_package() {
	noarch=yes
	depends="python3-six"
	pycompile_module="pylast"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
	}
}
