summaryrefslogtreecommitdiff
path: root/time/py-arrow/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'time/py-arrow/Makefile')
-rw-r--r--time/py-arrow/Makefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/time/py-arrow/Makefile b/time/py-arrow/Makefile
index bc8e0923a1b..23178cf295c 100644
--- a/time/py-arrow/Makefile
+++ b/time/py-arrow/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2022/01/04 20:55:11 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2022/07/11 13:32:24 adam Exp $
-DISTNAME= arrow-0.15.8
+DISTNAME= arrow-1.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= time python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/arrow/}
@@ -11,24 +10,25 @@ HOMEPAGE= https://github.com/arrow-py/arrow
COMMENT= Better dates and times for Python
LICENSE= apache-2.0
-DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
-TEST_DEPENDS+= ${PYPKGPREFIX}-chai-[0-9]*:../../devel/py-chai
+DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.7.0:../../time/py-dateutil
TEST_DEPENDS+= ${PYPKGPREFIX}-dateparser-[0-9]*:../../time/py-dateparser
-TEST_DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
-TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
-TEST_DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson
+TEST_DEPENDS+= ${PYPKGPREFIX}-pytz>=2021.1:../../time/py-pytz
+TEST_DEPENDS+= ${PYPKGPREFIX}-simplejson>=3.0.0:../../converters/py-simplejson
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+= ${PYPKGPREFIX}-backports.functools_lru_cache>=1.2.1:../../devel/py-backports.functools_lru_cache
-.endif
-
USE_LANGUAGES= # none
PYSETUPTESTTARGET= pytest
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 37
+DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
+.endif
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"