void-packages/srcpkgs/python-pandas/template
2018-05-20 18:00:20 +02:00

32 lines
984 B
Bash

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