diff --git a/srcpkgs/python-hiredis/template b/srcpkgs/python-hiredis/template index 16cba027db8..f9230da6482 100644 --- a/srcpkgs/python-hiredis/template +++ b/srcpkgs/python-hiredis/template @@ -1,12 +1,11 @@ # Template file for 'python-hiredis' pkgname=python-hiredis version=0.2.0 -revision=1 +revision=2 wrksrc="hiredis-${version}" build_style=python-module -python_versions="2.7 3.4" -hostmakedepends="python-devel python3.4-devel" -makedepends="python-devel python3.4-devel hiredis-devel" +hostmakedepends="python-devel python3-devel" +makedepends="python-devel python3-devel hiredis-devel" pycompile_module="hiredis" short_desc="Python2 wrapper for hiredis" maintainer="Eivind Uggedal " @@ -19,12 +18,17 @@ post_install() { vlicense COPYING } -python3.4-hiredis_package() { - pycompile_version="3.4" +python3-hiredis_package() { pycompile_module="hiredis" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-hiredis>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* vlicense COPYING } } +python3.4-hiredis_package() { + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-hiredis>=${version}_${revision}" +} diff --git a/srcpkgs/python3-hiredis b/srcpkgs/python3-hiredis new file mode 120000 index 00000000000..c6091c82645 --- /dev/null +++ b/srcpkgs/python3-hiredis @@ -0,0 +1 @@ +python-hiredis \ No newline at end of file