| @@ -1,51 +1,47 @@ | | | @@ -1,51 +1,47 @@ |
1 | # $NetBSD: Makefile,v 1.54 2023/10/29 17:39:51 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.55 2023/11/11 10:04:38 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= pandas-2.1.2 | | 3 | DISTNAME= pandas-2.1.3 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= math graphics python | | 5 | CATEGORIES= math graphics python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pandas/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pandas/} |
7 | | | 7 | |
8 | MAINTAINER= bad@NetBSD.org | | 8 | MAINTAINER= bad@NetBSD.org |
9 | HOMEPAGE= https://pandas.pydata.org/ | | 9 | HOMEPAGE= https://pandas.pydata.org/ |
10 | COMMENT= Python Data Analysis Library | | 10 | COMMENT= Python Data Analysis Library |
11 | LICENSE= modified-bsd | | 11 | LICENSE= modified-bsd |
12 | | | 12 | |
13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-cython>=0.29.33:../../devel/py-cython | | 13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-cython>=0.29.33:../../devel/py-cython |
14 | # Package directly expresses a meson minimum; we need higher to pick up our | | 14 | # Package directly expresses a meson minimum; we need higher to pick up our |
15 | # multi-version build fixes. | | 15 | # multi-version build fixes. |
16 | TOOL_DEPENDS+= meson>=1.2.2nb1:../../devel/meson | | 16 | TOOL_DEPENDS+= meson>=1.2.2nb1:../../devel/meson |
17 | TOOL_DEPENDS+= ${PYPKGPREFIX}-meson_python>=0.13.1:../../devel/py-meson_python | | 17 | TOOL_DEPENDS+= ${PYPKGPREFIX}-meson_python>=0.13.1:../../devel/py-meson_python |
18 | TOOL_DEPENDS+= ${PYPKGPREFIX}-versioneer-[0-9]*:../../devel/py-versioneer | | 18 | TOOL_DEPENDS+= ${PYPKGPREFIX}-versioneer-[0-9]*:../../devel/py-versioneer |
19 | DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.8.2:../../time/py-dateutil | | 19 | DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.8.2:../../time/py-dateutil |
20 | DEPENDS+= ${PYPKGPREFIX}-pytz>=2020.1:../../time/py-pytz | | 20 | DEPENDS+= ${PYPKGPREFIX}-pytz>=2020.1:../../time/py-pytz |
21 | DEPENDS+= ${PYPKGPREFIX}-tzdata>=2022.1:../../time/py-tzdata | | 21 | DEPENDS+= ${PYPKGPREFIX}-tzdata>=2022.1:../../time/py-tzdata |
22 | TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=6.34.2:../../devel/py-hypothesis | | 22 | TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=6.34.2:../../devel/py-hypothesis |
23 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.3.2:../../devel/py-test | | | |
24 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio>=0.17.0:../../devel/py-test-asyncio | | 23 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio>=0.17.0:../../devel/py-test-asyncio |
25 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=2.2.0:../../devel/py-test-xdist | | 24 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=2.2.0:../../devel/py-test-xdist |
26 | | | 25 | |
27 | USE_LANGUAGES= c c++ | | 26 | USE_LANGUAGES= c c++ |
28 | USE_TOOLS+= pkg-config | | 27 | USE_TOOLS+= pkg-config |
29 | | | 28 | |
30 | USE_CXX_FEATURES= c++11 | | 29 | USE_CXX_FEATURES= c++11 |
31 | | | 30 | |
32 | SUBST_CLASSES+= python | | 31 | SUBST_CLASSES+= python |
33 | SUBST_STAGE.python= pre-configure | | 32 | SUBST_STAGE.python= pre-configure |
34 | SUBST_MESSAGE.python= Fixing python binary name. | | 33 | SUBST_MESSAGE.python= Fixing python binary name. |
35 | SUBST_FILES.python= meson.build | | 34 | SUBST_FILES.python= meson.build |
36 | SUBST_VARS.python= TOOL_PYTHONBIN | | 35 | SUBST_VARS.python= TOOL_PYTHONBIN |
37 | | | 36 | |
38 | PYTHON_VERSIONS_INCOMPATIBLE= 27 38 | | 37 | PYTHON_VERSIONS_INCOMPATIBLE= 27 38 |
39 | | | 38 | |
40 | # This would otherwise be installed, causing PLIST mismatch | | 39 | # This would otherwise be installed, causing PLIST mismatch |
41 | post-patch: | | 40 | post-patch: |
42 | cd ${WRKSRC} && ${RM} -f pandas/_libs/window/aggregations.pyx.orig | | 41 | cd ${WRKSRC} && ${RM} -f pandas/_libs/window/aggregations.pyx.orig |
43 | | | 42 | |
44 | do-test: | | | |
45 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} pandas | | | |
46 | | | | |
47 | .include "../../lang/python/batteries-included.mk" | | 43 | .include "../../lang/python/batteries-included.mk" |
48 | .include "../../lang/python/wheel.mk" | | 44 | .include "../../lang/python/wheel.mk" |
49 | BUILDLINK_API_DEPENDS.py-numpy+= ${PYPKGPREFIX}-numpy>=1.23.2 | | 45 | BUILDLINK_API_DEPENDS.py-numpy+= ${PYPKGPREFIX}-numpy>=1.23.2 |
50 | .include "../../math/py-numpy/buildlink3.mk" | | 46 | .include "../../math/py-numpy/buildlink3.mk" |
51 | .include "../../mk/bsd.pkg.mk" | | 47 | .include "../../mk/bsd.pkg.mk" |