New package: python-mpd2
This commit is contained in:
parent
3c4beafb8a
commit
2e0c71df72
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'python-mpd2'
|
||||
pkgname=python-mpd2
|
||||
version=0.5.4
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="${pkgname}-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="mpd2"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
makedepends="python-devel python3.4-devel"
|
||||
depends="python"
|
||||
short_desc="A Python library which provides a client interface for the Music Player Daemon."
|
||||
maintainer=""
|
||||
homepage="https://github.com/Mic92/python-mpd2"
|
||||
license="GPL-3"
|
||||
distfiles="https://github.com/Mic92/python-mpd2/archive/v${version}.tar.gz"
|
||||
checksum=04dbc3b8d90746298e42852c5b7fb5be5e7af2ca03e812059639b6c060d98c53
|
||||
|
||||
post_install() {
|
||||
vlicense GPL.txt LICENSE
|
||||
}
|
||||
|
||||
python3.4-mpd2_package() {
|
||||
noarch=yes
|
||||
depends="python3.4"
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="mpd2"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
python-mpd2
|
Loading…
Reference in New Issue