29 lines
852 B
Bash
29 lines
852 B
Bash
# Template file for 'python3-pandas'
|
|
pkgname=python3-pandas
|
|
version=1.1.3
|
|
revision=1
|
|
wrksrc="pandas-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools python3-Cython python3-numpy"
|
|
makedepends="python3-devel python3-numpy python3-dateutil python3-pytz"
|
|
depends="python3-numpy python3-dateutil python3-pytz"
|
|
short_desc="Python3 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=0343410b01e48041a99af385566f2958c7779af3bc39a26393517be04800cbf5
|
|
|
|
post_patch() {
|
|
vsed -i setup.py -e '/extra_compile_args = /s/"-Werror"//'
|
|
}
|
|
|
|
pre_build() {
|
|
# setup.py allows a -j argument to parallelize builds
|
|
make_build_args+=" ${makejobs}"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|