python-pandas: rebuild for Python 3.5

Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
Alessio Sergi 2016-10-17 18:17:00 +02:00
parent 9a750b2be4
commit d017a3a350
4 changed files with 19 additions and 14 deletions

View File

@ -0,0 +1,3 @@
Recommended dependencies:
- python3-numexpr: to accelerate expression evaluation operations
- python3-Bottleneck: to accelerate numerical operations

View File

@ -1,3 +0,0 @@
Recommended dependencies:
- python3.4-numexpr: to accelerate expression evaluation operations
- python3.4-Bottleneck: to accelerate numerical operations

View File

@ -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}"
}

1
srcpkgs/python3-pandas Symbolic link
View File

@ -0,0 +1 @@
python-pandaas