update to py3-pandas-1.2.5 (newer versions are available, but require

numpy 1.17.3 or higher).
This commit is contained in:
sthen 2021-10-18 10:07:18 +00:00
parent 363a7a4b3d
commit 6e39f0c3ca
5 changed files with 330 additions and 146 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.19 2021/09/02 10:46:27 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.20 2021/10/18 10:07:18 sthen Exp $
COMMENT = data analysis and manipulation library
MODPY_EGG_VERSION = 1.1.4
REVISION = 0
MODPY_EGG_VERSION = 1.2.5
# 1.3.0+ requires numpy>=1.17.3
DISTNAME = pandas-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
@ -49,13 +49,13 @@ TEST_DEPENDS += databases/py-mysqlclient${MODPY_FLAVOR} \
math/py-numexpr${MODPY_FLAVOR} \
math/py-scipy${MODPY_FLAVOR} \
textproc/py-lxml${MODPY_FLAVOR} \
textproc/py-xlrd${MODPY_FLAVOR} \
textproc/py-openpyxl${MODPY_FLAVOR} \
www/py-beautifulsoup4${MODPY_FLAVOR} \
www/py-httplib2${MODPY_FLAVOR} \
www/py-jinja2${MODPY_FLAVOR} \
x11/xclip
# py-boto has been removed from ports on 20200902
# py-boto has been removed from ports on 20210902
#TEST_DEPENDS += net/py-boto${MODPY_FLAVOR}
TEST_ENV += TZ=UTC

View File

@ -1,2 +1,2 @@
SHA256 (pandas-1.1.4.tar.gz) = qXnQQEsTXGOVTep55iRsRd1FNxqIYxzbtId9hE5t47Y=
SIZE (pandas-1.1.4.tar.gz) = 5226971
SHA256 (pandas-1.2.5.tar.gz) = FKu46nP86K67sftEvsgJFj8cVSQbzB25HCx4DpcmUDM=
SIZE (pandas-1.2.5.tar.gz) = 5470907

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-setup_cfg,v 1.4 2020/08/23 09:29:01 bket Exp $
Index: setup.cfg
--- setup.cfg.orig
+++ setup.cfg
@@ -46,7 +46,6 @@ exclude =
minversion = 4.0.2
testpaths = pandas
doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ELLIPSIS
-addopts = --strict-data-files
xfail_strict = True
filterwarnings =
error:Sparse:FutureWarning

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-setup_py,v 1.2 2020/10/12 21:59:54 daniel Exp $
Fix Py38 build issue. Adapted from
https://github.com/pandas-dev/pandas/pull/33431
Index: setup.py
--- setup.py.orig
+++ setup.py
@@ -434,7 +434,7 @@ if is_platform_windows():
extra_compile_args.append("/Z7")
extra_link_args.append("/DEBUG")
else:
- extra_compile_args = ["-Werror"]
+ extra_compile_args = ["-Werror", "-Wno-error=deprecated-declarations", "-Wno-unreachable-code"]
extra_link_args = []
if debugging_symbols_requested:
extra_compile_args.append("-g")

File diff suppressed because it is too large Load Diff