27 lines
739 B
Bash
27 lines
739 B
Bash
# Template file for 'python-pylast'
|
|
pkgname=python-pylast
|
|
version=2.3.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=f1e8615bac27386712ab74338e6dbd01ff7adbf6648a3debf921cef6bad80014
|
|
|
|
python3-pylast_package() {
|
|
noarch=yes
|
|
depends="python3-six"
|
|
pycompile_module="pylast"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|