From 7f3b08beb0a8e616ced8ba872cf9d4fe6961419e Mon Sep 17 00:00:00 2001 From: Stefano Ragni Date: Sat, 24 Aug 2019 00:28:16 +0200 Subject: [PATCH] python3-pandas: update to 0.25.1. Package separated from python-pandas (end of python2 support). --- srcpkgs/python-pandas/template | 19 ++++-------------- srcpkgs/python3-pandas | 1 - .../INSTALL.msg} | 0 srcpkgs/python3-pandas/template | 20 +++++++++++++++++++ srcpkgs/python3-pandas/update | 1 + 5 files changed, 25 insertions(+), 16 deletions(-) delete mode 120000 srcpkgs/python3-pandas rename srcpkgs/{python-pandas/python3-pandas.INSTALL.msg => python3-pandas/INSTALL.msg} (100%) create mode 100644 srcpkgs/python3-pandas/template create mode 100644 srcpkgs/python3-pandas/update diff --git a/srcpkgs/python-pandas/template b/srcpkgs/python-pandas/template index c9c68b6cb20..2150461ae59 100644 --- a/srcpkgs/python-pandas/template +++ b/srcpkgs/python-pandas/template @@ -1,13 +1,12 @@ # Template file for 'python-pandas' pkgname=python-pandas version=0.24.2 -revision=1 +revision=2 wrksrc="pandas-${version}" -build_style=python-module +build_style=python2-module pycompile_module="pandas" -hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython" -makedepends="python-devel python3-devel python-numpy python3-numpy - python-dateutil python3-dateutil python-pytz python3-pytz" +hostmakedepends="python-setuptools python-Cython" +makedepends="python-devel python-numpy python-dateutil python-pytz" depends="python-numpy python-dateutil python-pytz" short_desc="Python2 data analysis library" maintainer="Alessio Sergi " @@ -19,13 +18,3 @@ checksum=286787f06ac1b7bd322d04f9cf20e14ec3e0bd6b0ec9951456d8c53375545aa1 post_install() { vlicense LICENSE } - -python3-pandas_package() { - pycompile_module="pandas" - depends="python3-numpy python3-dateutil python3-pytz" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-pandas b/srcpkgs/python3-pandas deleted file mode 120000 index c34bebd91ab..00000000000 --- a/srcpkgs/python3-pandas +++ /dev/null @@ -1 +0,0 @@ -python-pandas \ No newline at end of file diff --git a/srcpkgs/python-pandas/python3-pandas.INSTALL.msg b/srcpkgs/python3-pandas/INSTALL.msg similarity index 100% rename from srcpkgs/python-pandas/python3-pandas.INSTALL.msg rename to srcpkgs/python3-pandas/INSTALL.msg diff --git a/srcpkgs/python3-pandas/template b/srcpkgs/python3-pandas/template new file mode 100644 index 00000000000..6bba98fe284 --- /dev/null +++ b/srcpkgs/python3-pandas/template @@ -0,0 +1,20 @@ +# Template file for 'python3-pandas' +pkgname=python3-pandas +version=0.25.1 +revision=1 +wrksrc="pandas-${version}" +build_style=python3-module +pycompile_module="pandas" +hostmakedepends="python3-setuptools python3-Cython" +makedepends="python3-devel python3-numpy python3-dateutil python3-pytz" +depends="python3-numpy python3-dateutil python3-pytz" +short_desc="Python3 data analysis library" +maintainer="Alessio Sergi " +license="BSD-3-Clause" +homepage="https://pandas.pydata.org/" +distfiles="https://github.com/pandas-dev/pandas/archive/v${version}.tar.gz" +checksum=cb79c5bf4842835d56123fd0b899eee241efe77cb5ba1376d345ffb8467d07ab + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3-pandas/update b/srcpkgs/python3-pandas/update new file mode 100644 index 00000000000..e299d00ea67 --- /dev/null +++ b/srcpkgs/python3-pandas/update @@ -0,0 +1 @@ +ignore="*rc*"