34 lines
955 B
Bash
34 lines
955 B
Bash
# Template file for 'python-pylast'
|
|
pkgname=python-pylast
|
|
version=1.7.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=a482a769b6a037e2e9b78433de91a287eaf6aacff60bbb2f4562c3c7ece10430
|
|
|
|
python3-pylast_package() {
|
|
noarch=yes
|
|
depends="python3-six"
|
|
pycompile_module="pylast"
|
|
replaces="python3.4-pylast>=0"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|
|
python3.4-pylast_package() {
|
|
noarch=yes
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-pylast>=${version}_${revision}"
|
|
}
|