vp-build/srcpkgs/python-pylast/template

27 lines
739 B
Bash

# Template file for 'python-pylast'
pkgname=python-pylast
version=2.4.0
revision=1
noarch=yes
wrksrc="pylast-${version}"
build_style=python-module
pycompile_module="pylast"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-six"
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=8e883f13b70c3879fc821bbee1accf27ea4e68898f4462cbbe358f615adcbbfb
python3-pylast_package() {
noarch=yes
depends="python3-six"
pycompile_module="pylast"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}