diff --git a/srcpkgs/python-mpd2/template b/srcpkgs/python-mpd2/template index e319f3cefed..1505513956f 100644 --- a/srcpkgs/python-mpd2/template +++ b/srcpkgs/python-mpd2/template @@ -1,12 +1,11 @@ # Template file for 'python-mpd2' pkgname=python-mpd2 version=0.5.5 -revision=1 +revision=2 noarch=yes build_style=python-module -python_versions="2.7 3.4" pycompile_module="mpd.py" -hostmakedepends="python-setuptools python3.4-setuptools" +hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="Python2 MPD client library" maintainer="Jens E. Becker " @@ -15,14 +14,19 @@ license="GPL-3" distfiles="${PYPI_SITE}/p/python-mpd2/python-mpd2-${version}.tar.gz" checksum=310e738c4f7ce5b5b10394ec3f182c5240dd3ec55ec59a375924c8004fbb5e51 -python3.4-mpd2_package() { +python3-mpd2_package() { noarch=yes - depends="python3.4" - pycompile_version="3.4" + depends="python3" pycompile_module="mpd.py" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-mpd2>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } - +python3.4-mpd2_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-mpd2>=${version}_${revision}" +} diff --git a/srcpkgs/python3-mpd2 b/srcpkgs/python3-mpd2 new file mode 120000 index 00000000000..27660282c4e --- /dev/null +++ b/srcpkgs/python3-mpd2 @@ -0,0 +1 @@ +python-mpd2 \ No newline at end of file