void-packages/srcpkgs/python-pandas/template
2016-10-27 16:30:55 +02:00

38 lines
1.1 KiB
Bash

# Template file for 'python-pandas'
pkgname=python-pandas
version=0.19.0
revision=3
wrksrc="pandas-${version}"
build_style=python-module
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"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://pandas.pydata.org/"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/p/pandas/pandas-${version}.tar.gz"
checksum=4697606cdf023c6b7fcb74e48aaf25cf282a1a00e339d2d274cf1b663748805b
post_install() {
vlicense LICENSE
}
python3-pandas_package() {
depends="python3-numpy python3-dateutil python3-pytz"
pycompile_module="pandas"
replaces="python3.4-pandas>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
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}"
}