From 40d60cc48a63b1cbc7b7d034e31dee81607bf63d Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 17 Oct 2016 17:41:32 +0200 Subject: [PATCH] python-Bottleneck: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-Bottleneck/template | 22 +++++++++++++--------- srcpkgs/python3-Bottleneck | 1 + 2 files changed, 14 insertions(+), 9 deletions(-) create mode 120000 srcpkgs/python3-Bottleneck diff --git a/srcpkgs/python-Bottleneck/template b/srcpkgs/python-Bottleneck/template index 8a287f287f..c01586eec2 100644 --- a/srcpkgs/python-Bottleneck/template +++ b/srcpkgs/python-Bottleneck/template @@ -1,12 +1,11 @@ # Template file for 'python-Bottleneck' pkgname=python-Bottleneck version=1.1.0 -revision=1 +revision=2 wrksrc="Bottleneck-${version}" build_style=python-module -python_versions="2.7 3.4" -hostmakedepends="python-setuptools python3.4-setuptools" -makedepends="python-devel python3.4-devel python-numpy python3.4-numpy" +hostmakedepends="python-setuptools python3-setuptools" +makedepends="python-devel python3-devel python-numpy python3-numpy" depends="python-numpy" pycompile_module="bottleneck" short_desc="Fast NumPy array functions written in Cython (Python2)" @@ -21,13 +20,18 @@ post_install() { vlicense bottleneck/LICENSE } -python3.4-Bottleneck_package() { - depends="python3.4-numpy" - pycompile_version="3.4" +python3-Bottleneck_package() { + replaces="python3.4-Bottleneck>=0" + depends="python3-numpy" pycompile_module="bottleneck" - short_desc="${short_desc/Python2/Python3.4}" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* vlicense bottleneck/LICENSE } } +python3.4-Bottleneck_package() { + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-Bottleneck>=${version}_${revision}" +} diff --git a/srcpkgs/python3-Bottleneck b/srcpkgs/python3-Bottleneck new file mode 120000 index 0000000000..22f79a06e7 --- /dev/null +++ b/srcpkgs/python3-Bottleneck @@ -0,0 +1 @@ +python-Bottleneck \ No newline at end of file