python3-pandas: update to 2.0.1.

This commit is contained in:
Andrew J. Hesford 2023-04-27 14:30:06 -04:00
parent 5229d78a5e
commit 639d463c7d

View file

@ -1,22 +1,23 @@
# Template file for 'python3-pandas' # Template file for 'python3-pandas'
pkgname=python3-pandas pkgname=python3-pandas
version=1.5.3 version=2.0.1
revision=1 revision=1
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython python3-numpy" hostmakedepends="python3-setuptools python3-Cython python3-numpy python3-versioneer"
makedepends="python3-devel python3-numpy python3-dateutil python3-pytz" makedepends="python3-devel python3-numpy python3-dateutil python3-pytz"
depends="python3-numpy python3-dateutil python3-pytz" depends="python3-numpy python3-dateutil python3-pytz"
checkdepends="python3-pytest-xdist python3-pytest-asyncio python3-hypothesis $depends"
short_desc="Python3 data analysis library" short_desc="Python3 data analysis library"
maintainer="Andrew J. Hesford <ajh@sideband.org>" maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="BSD-3-Clause" license="BSD-3-Clause"
homepage="https://pandas.pydata.org/" homepage="https://pandas.pydata.org/"
changelog="https://pandas.pydata.org/pandas-docs/stable/whatsnew/index.html" changelog="https://pandas.pydata.org/pandas-docs/stable/whatsnew/index.html"
distfiles="https://github.com/pandas-dev/pandas/archive/v${version}.tar.gz" distfiles="https://github.com/pandas-dev/pandas/archive/v${version}.tar.gz"
checksum=d8abf9c2bf33cac75b28f32c174c29778414eb249e5e2ccb69b1079b97a8fc66 checksum=821ea98fc1ed84ec53546a1526b2b373c2101d4a9736b4384f10cd9fd5ae12a6
# Builds seem to sometimes have missing symbol problems; # Builds seem to sometimes have missing symbol problems;
# the intermittent nature suggests this might be a race # the intermittent nature suggests this might be a race
disable_parallel_build=yes disable_parallel_build=yes
# Tests won't run from source directory; build directory lacks data files
make_check=no
pre_build() { pre_build() {
# Try to avoid i686 build failure # Try to avoid i686 build failure
@ -28,15 +29,6 @@ pre_build() {
esac esac
} }
do_check() {
# The test_raw_roundtrip relies on a clipboard
# S3 tests seem to require python3-pytest-xdist
PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest -n $XBPS_MAKEJOBS \
pandas --skip-slow --skip-network --skip-db -x -r EX \
--ignore pandas/tests/io/parser/test_network.py -m 'not single' \
-k 'not test_raw_roundtrip and not _s3 and not test_show_versions'
}
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE
} }