From 26054928da333d7990e8d00f589d25c6cfb01167 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 17 Oct 2016 17:37:38 +0200 Subject: [PATCH] python-numexpr: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-numexpr/template | 22 +++++++++++++--------- srcpkgs/python3-numexpr | 1 + 2 files changed, 14 insertions(+), 9 deletions(-) create mode 120000 srcpkgs/python3-numexpr diff --git a/srcpkgs/python-numexpr/template b/srcpkgs/python-numexpr/template index d211324b3e..cdcceea750 100644 --- a/srcpkgs/python-numexpr/template +++ b/srcpkgs/python-numexpr/template @@ -1,12 +1,11 @@ # Template file for 'python-numexpr' pkgname=python-numexpr version=2.6.1 -revision=1 +revision=2 wrksrc="numexpr-${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="numexpr" short_desc="Fast numerical expression evaluator for NumPy (Python2)" @@ -20,13 +19,18 @@ post_install() { vlicense LICENSE.txt LICENSE } -python3.4-numexpr_package() { - depends="python3.4-numpy" - pycompile_version="3.4" +python3-numexpr_package() { + depends="python3-numpy" pycompile_module="numexpr" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-numexpr>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* vlicense LICENSE.txt LICENSE } } +python3.4-numexpr_package() { + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-numexpr>=${version}_${revision}" +} diff --git a/srcpkgs/python3-numexpr b/srcpkgs/python3-numexpr new file mode 120000 index 0000000000..cab9d2a529 --- /dev/null +++ b/srcpkgs/python3-numexpr @@ -0,0 +1 @@ +python-numexpr \ No newline at end of file