From 27caa47321ea9bebec4d2b37daa469242c240e9d Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Tue, 8 Dec 2020 16:39:06 -0500 Subject: [PATCH] python3-pandas: update to 1.1.5. --- srcpkgs/python3-pandas/template | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python3-pandas/template b/srcpkgs/python3-pandas/template index 9e284ff0503..dfadb44e4f9 100644 --- a/srcpkgs/python3-pandas/template +++ b/srcpkgs/python3-pandas/template @@ -1,28 +1,31 @@ # Template file for 'python3-pandas' pkgname=python3-pandas -version=1.1.4 +version=1.1.5 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" +checkdepends="python3-pytest python3-hypothesis $depends" short_desc="Python3 data analysis library" maintainer="Alessio Sergi " license="BSD-3-Clause" homepage="https://pandas.pydata.org/" distfiles="https://github.com/pandas-dev/pandas/archive/v${version}.tar.gz" -checksum=4fec00ba72bbbf6a523a402e96a9254df6d88d5cd543015bc480837045d371e7 - -post_patch() { - vsed -i setup.py -e '/extra_compile_args = /s/"-Werror"//' -} +checksum=46314a52185080817db8743b2742a273f1f4fbbe9c664bb67568d45126cbd7f5 pre_build() { # setup.py allows a -j argument to parallelize builds make_build_args+=" ${makejobs}" } +do_check() { + # The test_raw_roundtrip relies on a clipboard + python3 -m pytest build/lib*/pandas \ + -r sxX --strict -k 'not test_raw_roundtrip' +} + post_install() { vlicense LICENSE }