From e45f44bb94bf6b2450f465566ba3407e4f987d41 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 26 Aug 2015 12:36:26 +0200 Subject: [PATCH] New package: python-pandas-0.16.2 --- srcpkgs/python-pandas/INSTALL.msg | 3 ++ .../python3.4-pandas.INSTALL.msg | 3 ++ srcpkgs/python-pandas/template | 37 +++++++++++++++++++ srcpkgs/python3.4-pandas | 1 + 4 files changed, 44 insertions(+) create mode 100644 srcpkgs/python-pandas/INSTALL.msg create mode 100644 srcpkgs/python-pandas/python3.4-pandas.INSTALL.msg create mode 100644 srcpkgs/python-pandas/template create mode 120000 srcpkgs/python3.4-pandas diff --git a/srcpkgs/python-pandas/INSTALL.msg b/srcpkgs/python-pandas/INSTALL.msg new file mode 100644 index 00000000000..bb49608f3ac --- /dev/null +++ b/srcpkgs/python-pandas/INSTALL.msg @@ -0,0 +1,3 @@ +Recommended dependencies: +- python-numexpr: to accelerate expression evaluation operations +- python-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 new file mode 100644 index 00000000000..40b900c564c --- /dev/null +++ b/srcpkgs/python-pandas/python3.4-pandas.INSTALL.msg @@ -0,0 +1,3 @@ +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 new file mode 100644 index 00000000000..ab8750e1eb6 --- /dev/null +++ b/srcpkgs/python-pandas/template @@ -0,0 +1,37 @@ +# Template file for 'python-pandas' +pkgname=python-pandas +version=0.16.2 +revision=1 +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-devel python3.4-numpy-devel + python-dateutil python3.4-dateutil python-pytz python3.4-pytz" +depends="python-numpy python-dateutil python-pytz" +pycompile_module="pandas" +short_desc="Python2 data analysis library" +maintainer="Alessio Sergi " +homepage="http://pandas.pydata.org/" +license="3-clause-BSD" +distfiles="${PYPI_SITE}/p/pandas/pandas-${version}.tar.gz" +checksum=e01853dfe111f3aea005315573400b7216ddbabbf1f28d482a71217d67ae4f81 + +pre_build() { + find pandas -type f -name '*.py' -exec sed -i '/^#!.*python$/d' {} + +} +post_install() { + vlicense LICENSE +} + +python3.4-pandas_package() { + depends="python3.4-numpy python3.4-dateutil python3.4-pytz" + pycompile_version="3.4" + pycompile_module="pandas" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vlicense LICENSE + } +} diff --git a/srcpkgs/python3.4-pandas b/srcpkgs/python3.4-pandas new file mode 120000 index 00000000000..c34bebd91ab --- /dev/null +++ b/srcpkgs/python3.4-pandas @@ -0,0 +1 @@ +python-pandas \ No newline at end of file