void-packages/srcpkgs/python-pylast/template

29 lines
797 B
Bash

# Template file for 'python-pylast'
pkgname=python-pylast
version=1.6.0
revision=1
wrksrc=pylast-${version}
build_style=python-module
python_versions="2.7 3.4"
noarch=yes
hostmakedepends="python-setuptools python3.4-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=6bf325ee0fdeb35780554843cf64df99304abb98c5ce2e451c0df7e95e08b42e
python3.4-pylast_package() {
noarch=yes
depends="python3.4-six"
pycompile_version="3.4"
pycompile_module="pylast"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}