python-mpd2: update to 0.5.5, fix pycompile_module

This commit is contained in:
Alessio Sergi 2016-02-05 23:45:05 +01:00
parent 60ee2a475b
commit 463c7ee9cc
1 changed files with 6 additions and 7 deletions

View File

@ -1,26 +1,25 @@
# Template file for 'python-mpd2'
pkgname=python-mpd2
version=0.5.4
version=0.5.5
revision=1
noarch=yes
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="mpd2"
pycompile_module="mpd.py"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
depends="python"
short_desc="Provides a client interface for the Music Player Daemon"
short_desc="Python2 MPD client library"
maintainer="Jens E. Becker <v2px@v2px.de>"
homepage="https://github.com/Mic92/python-mpd2"
license="GPL-3"
distfiles="https://github.com/Mic92/python-mpd2/archive/v${version}.tar.gz"
checksum=04dbc3b8d90746298e42852c5b7fb5be5e7af2ca03e812059639b6c060d98c53
distfiles="${PYPI_SITE}/p/python-mpd2/python-mpd2-${version}.tar.gz"
checksum=310e738c4f7ce5b5b10394ec3f182c5240dd3ec55ec59a375924c8004fbb5e51
python3.4-mpd2_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="mpd2"
pycompile_module="mpd.py"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4