33 lines
984 B
Bash
33 lines
984 B
Bash
# Template file for 'python-pandas'
|
|
pkgname=python-pandas
|
|
version=0.22.0
|
|
revision=1
|
|
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="https://pandas.pydata.org/"
|
|
license="3-clause-BSD"
|
|
distfiles="https://github.com/pandas-dev/pandas/archive/v${version}.tar.gz"
|
|
checksum=cea8d7ef5649bb6a0ff918c9bc6abe81fb13cdc52bb9ccabea7d0ccae2e901b1
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-pandas_package() {
|
|
depends="python3-numpy python3-dateutil python3-pytz"
|
|
pycompile_module="pandas"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|