void-packages/srcpkgs/python-pandas/template

32 lines
983 B
Bash

# Template file for 'python-pandas'
pkgname=python-pandas
version=0.23.4
revision=2
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>"
homepage="https://pandas.pydata.org/"
license="BSD-3-Clause"
distfiles="https://github.com/pandas-dev/pandas/archive/v${version}.tar.gz"
checksum=fc829f9014fc756511cba878179811322514c5cb8dcbf39b02062f80f1f6170f
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
}
}