void-packages/srcpkgs/python-mpd2/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

25 lines
679 B
Bash

# Template file for 'python-mpd2'
pkgname=python-mpd2
version=0.5.5
revision=3
noarch=yes
build_style=python-module
pycompile_module="mpd.py"
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="GPL-3"
distfiles="${PYPI_SITE}/p/python-mpd2/python-mpd2-${version}.tar.gz"
checksum=310e738c4f7ce5b5b10394ec3f182c5240dd3ec55ec59a375924c8004fbb5e51
python3-mpd2_package() {
noarch=yes
depends="python3"
pycompile_module="mpd.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}