parent
c01a05547e
commit
df7051370c
1 changed files with 13 additions and 7 deletions
|
@ -1,23 +1,29 @@
|
||||||
# Template file for 'python-mpd2'
|
# Template file for 'python-mpd2'
|
||||||
pkgname=python-mpd2
|
pkgname=python-mpd2
|
||||||
version=0.5.5
|
version=1.0.0
|
||||||
revision=3
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="mpd.py"
|
pycompile_module="mpd"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="Python2 MPD client library"
|
short_desc="Python2 MPD client library"
|
||||||
maintainer="Jens E. Becker <v2px@v2px.de>"
|
maintainer="Jens E. Becker <v2px@v2px.de>"
|
||||||
homepage="https://github.com/Mic92/python-mpd2"
|
homepage="https://github.com/Mic92/python-mpd2"
|
||||||
license="GPL-3"
|
license="LGPL-2.1-or-later"
|
||||||
distfiles="${PYPI_SITE}/p/python-mpd2/python-mpd2-${version}.tar.gz"
|
distfiles="https://github.com/Mic92/python-mpd2/archive/v${version}.tar.gz"
|
||||||
checksum=310e738c4f7ce5b5b10394ec3f182c5240dd3ec55ec59a375924c8004fbb5e51
|
checksum=877fa1685a56815107cb0b1eb004e7fe261b620fafd4d38cdaa2b6f3edd35928
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
# Requires Twisted but fails to detect system installed one, downloads it from PYPI
|
||||||
|
# and tries to compile it
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
python3-mpd2_package() {
|
python3-mpd2_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3"
|
depends="python3"
|
||||||
pycompile_module="mpd.py"
|
pycompile_module="mpd"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
|
Loading…
Reference in a new issue