update to py3-pandas-1.5.2

This commit is contained in:
sthen 2022-11-24 12:41:17 +00:00
parent fa5330cd3f
commit 9c6e8e431c
4 changed files with 1508 additions and 58 deletions

View File

@ -1,9 +1,8 @@
COMMENT = data analysis and manipulation library
MODPY_EGG_VERSION = 1.4.3
MODPY_EGG_VERSION = 1.5.2
DISTNAME = pandas-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 0
CATEGORIES = math
@ -19,15 +18,16 @@ FLAVOR = python3
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYBUILD = setuptools
# test_dst.py: ValueError: could not convert string to float: '2022.2.1'
MODPY_PYTEST_ARGS = pandas \
--ignore pandas/tests/tseries/offsets/test_dst.py
COMPILER = base-clang ports-gcc base-gcc
BUILD_DEPENDS += lang/cython${MODPY_FLAVOR}>=0.29.21 \
math/py-numpy${MODPY_FLAVOR}>=1.15.4
BUILD_DEPENDS += lang/cython${MODPY_FLAVOR}>=0.29.32 \
math/py-numpy${MODPY_FLAVOR}>=1.15.4 \
math/py-oldest-supported-numpy${MODPY_FLAVOR}
RUN_DEPENDS += devel/py-dateutil${MODPY_FLAVOR}>=2.7.3 \
devel/py-tz${MODPY_FLAVOR}>=2017.2 \
@ -59,7 +59,7 @@ TEST_ENV += TZ=UTC
# XXX tarball does not include all files required for the test suite, as such
# numerous tests fail.
do-test:
#cd ${WRKSRC} && ${MODPY_CMD} build_ext --inplace
cd ${WRKSRC} && ${MODPY_CMD} build_ext --inplace
@${MODPY_TEST_TARGET}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (pandas-1.4.3.tar.gz) = L/d4hGjnWRdXTwgM1GgbJ+GnvzZGH+lotJqHtaVNAHw=
SIZE (pandas-1.4.3.tar.gz) = 4941520
SHA256 (pandas-1.5.2.tar.gz) = IguY0VzuCyzYOaY1i9Hyc9A1a/lkwaGusy1H2wIVSIs=
SIZE (pandas-1.5.2.tar.gz) = 5201551

View File

@ -0,0 +1,13 @@
# needs pytest-asyncio?
Index: pyproject.toml
--- pyproject.toml.orig
+++ pyproject.toml
@@ -61,7 +61,7 @@ markers = [
"arm_slow: mark a test as slow for arm64 architecture",
"arraymanager: mark a test to run with ArrayManager enabled",
]
-asyncio_mode = "strict"
+#asyncio_mode = "strict"
[tool.mypy]
# Import discovery

File diff suppressed because it is too large Load Diff