diff --git a/srcpkgs/python-blinker/template b/srcpkgs/python-blinker/template index 898fd3573d5..05b57bb550f 100644 --- a/srcpkgs/python-blinker/template +++ b/srcpkgs/python-blinker/template @@ -1,14 +1,13 @@ # Template file for 'python-blinker' pkgname=python-blinker version=1.4 -revision=1 +revision=2 noarch=yes wrksrc="blinker-${version}" build_style=python-module -python_versions="2.7 3.4" -hostmakedepends="python-setuptools python3.4-setuptools" -makedepends="python-devel python3.4-devel" -depends="python>=2.7" +hostmakedepends="python-setuptools python3-setuptools" +makedepends="python-devel python3-devel" +depends="python" pycompile_module="blinker" short_desc="Fast, simple object-to-object and broadcast signaling for Python2" maintainer="Juan RP " @@ -18,17 +17,23 @@ distfiles="${PYPI_SITE}/b/blinker/blinker-${version}.tar.gz" checksum=471aee25f3992bd325afa3772f1063dbdbbca947a041b8b89466dc00d606f8b6 post_install() { - vinstall LICENSE 644 usr/share/licenses/${pkgname} + vlicense LICENSE } -python3.4-blinker_package() { +python3-blinker_package() { noarch=yes - depends="python3.4" - pycompile_version="3.4" + depends="python3" pycompile_module="blinker" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-blinker>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 - vinstall ${wrksrc}/LICENSE 644 usr/share/licenses/${pkgname} + vmove usr/lib/python3* + vlicense LICENSE } } +python3.4-blinker_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-blinker>=${version}_${revision}" +} diff --git a/srcpkgs/python3-blinker b/srcpkgs/python3-blinker new file mode 120000 index 00000000000..221ddd65a4f --- /dev/null +++ b/srcpkgs/python3-blinker @@ -0,0 +1 @@ +python-blinker \ No newline at end of file