2016-02-27 18:27:13 +01:00
|
|
|
# Template file for 'python-pylast'
|
|
|
|
pkgname=python-pylast
|
2016-03-02 14:40:29 +01:00
|
|
|
version=1.5.1
|
2016-03-02 20:56:00 +01:00
|
|
|
revision=2
|
2016-02-27 18:27:13 +01:00
|
|
|
wrksrc=pylast-${version}
|
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7 3.4"
|
2016-02-27 18:30:43 +01:00
|
|
|
noarch=yes
|
2016-02-27 18:27:13 +01:00
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
2016-03-02 20:56:00 +01:00
|
|
|
depends="python-six"
|
2016-02-27 18:27:13 +01:00
|
|
|
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"
|
2016-03-02 14:40:29 +01:00
|
|
|
checksum=2a15b686f752c09cb9e02237d69a8aec8354191b7fca144a8f42ef907b6af683
|
2016-02-27 18:27:13 +01:00
|
|
|
|
|
|
|
python3.4-pylast_package() {
|
|
|
|
noarch=yes
|
2016-03-02 20:56:00 +01:00
|
|
|
depends="python3.4-six"
|
2016-02-27 18:27:13 +01:00
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="pylast"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|