void-packages/srcpkgs/python-pandas/template
2019-04-15 09:28:45 -03:00

31 lines
983 B
Bash

# Template file for 'python-pandas'
pkgname=python-pandas
version=0.24.2
revision=1
wrksrc="pandas-${version}"
build_style=python-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"
depends="python-numpy python-dateutil python-pytz"
short_desc="Python2 data analysis library"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://pandas.pydata.org/"
distfiles="https://github.com/pandas-dev/pandas/archive/v${version}.tar.gz"
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
}
}