void-packages/srcpkgs/python-mpd2/template
maxice8 df7051370c python-mpd2: update to 1.0.0.
Closes: #11908 [via git-merge-pr]
2018-03-17 21:20:29 -07:00

31 lines
823 B
Bash

# Template file for 'python-mpd2'
pkgname=python-mpd2
version=1.0.0
revision=1
noarch=yes
build_style=python-module
pycompile_module="mpd"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 MPD client library"
maintainer="Jens E. Becker <v2px@v2px.de>"
homepage="https://github.com/Mic92/python-mpd2"
license="LGPL-2.1-or-later"
distfiles="https://github.com/Mic92/python-mpd2/archive/v${version}.tar.gz"
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() {
noarch=yes
depends="python3"
pycompile_module="mpd"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}