37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
# Template file for 'python3-pandas'
|
|
pkgname=python3-pandas
|
|
version=2.1.4
|
|
revision=1
|
|
build_style=python3-pep517
|
|
build_helper="meson numpy"
|
|
hostmakedepends="python3-meson-python python3-wheel python3-Cython0.29
|
|
python3-numpy python3-versioneer pkg-config"
|
|
makedepends="python3-devel python3-numpy python3-dateutil python3-pytz"
|
|
depends="python3-numpy python3-dateutil python3-pytz"
|
|
short_desc="Python3 data analysis library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://pandas.pydata.org/"
|
|
changelog="https://pandas.pydata.org/pandas-docs/stable/whatsnew/index.html"
|
|
distfiles="https://github.com/pandas-dev/pandas/archive/v${version}.tar.gz"
|
|
checksum=00e0b049bac3d60c5701cae1f2fe57314f6ab8ae302b28953d4f9337817f6fc1
|
|
# Builds seem to sometimes have missing symbol problems;
|
|
# the intermittent nature suggests this might be a race
|
|
disable_parallel_build=yes
|
|
# Tests won't run from source directory; build directory lacks data files
|
|
make_check=no
|
|
|
|
pre_build() {
|
|
# Try to avoid i686 build failure
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*)
|
|
CFLAGS="${CFLAGS// -g/ -g1}"
|
|
CXXFLAGS="${CXXFLAGS// -g/ -g1}"
|
|
;;
|
|
esac
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|