From d017a3a3501223e45834ac0360fd905849758b9f Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 17 Oct 2016 18:17:00 +0200 Subject: [PATCH] python-pandas: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- .../python-pandas/python3-pandas.INSTALL.msg | 3 +++ .../python3.4-pandas.INSTALL.msg | 3 --- srcpkgs/python-pandas/template | 26 +++++++++++-------- srcpkgs/python3-pandas | 1 + 4 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 srcpkgs/python-pandas/python3-pandas.INSTALL.msg delete mode 100644 srcpkgs/python-pandas/python3.4-pandas.INSTALL.msg create mode 120000 srcpkgs/python3-pandas diff --git a/srcpkgs/python-pandas/python3-pandas.INSTALL.msg b/srcpkgs/python-pandas/python3-pandas.INSTALL.msg new file mode 100644 index 00000000000..ea4bf688dbb --- /dev/null +++ b/srcpkgs/python-pandas/python3-pandas.INSTALL.msg @@ -0,0 +1,3 @@ +Recommended dependencies: +- python3-numexpr: to accelerate expression evaluation operations +- python3-Bottleneck: to accelerate numerical operations diff --git a/srcpkgs/python-pandas/python3.4-pandas.INSTALL.msg b/srcpkgs/python-pandas/python3.4-pandas.INSTALL.msg deleted file mode 100644 index 40b900c564c..00000000000 --- a/srcpkgs/python-pandas/python3.4-pandas.INSTALL.msg +++ /dev/null @@ -1,3 +0,0 @@ -Recommended dependencies: -- python3.4-numexpr: to accelerate expression evaluation operations -- python3.4-Bottleneck: to accelerate numerical operations diff --git a/srcpkgs/python-pandas/template b/srcpkgs/python-pandas/template index 514d7b5eafc..33031ccb43d 100644 --- a/srcpkgs/python-pandas/template +++ b/srcpkgs/python-pandas/template @@ -1,14 +1,13 @@ # Template file for 'python-pandas' pkgname=python-pandas version=0.19.0 -revision=1 +revision=2 wrksrc="pandas-${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 - python-dateutil python3.4-dateutil python-pytz python3.4-pytz - python-Cython python3.4-Cython" +hostmakedepends="python-setuptools python3-setuptools" +makedepends="python-devel python3-devel python-numpy python3-numpy + python-dateutil python3-dateutil python-pytz python3-pytz + python-Cython python3-Cython" depends="python-numpy python-dateutil python-pytz" pycompile_module="pandas" short_desc="Python2 data analysis library" @@ -22,13 +21,18 @@ post_install() { vlicense LICENSE } -python3.4-pandas_package() { - depends="python3.4-numpy python3.4-dateutil python3.4-pytz" - pycompile_version="3.4" +python3-pandas_package() { + depends="python3-numpy python3-dateutil python3-pytz" pycompile_module="pandas" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-pandas>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* vlicense LICENSE } } +python3.4-pandas_package() { + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-pandas>=${version}_${revision}" +} diff --git a/srcpkgs/python3-pandas b/srcpkgs/python3-pandas new file mode 120000 index 00000000000..5ccf033cf20 --- /dev/null +++ b/srcpkgs/python3-pandas @@ -0,0 +1 @@ +python-pandaas \ No newline at end of file