void-packages/srcpkgs/python-pandas/template

32 lines
983 B
Bash

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