summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--time/py-arrow/Makefile28
-rw-r--r--time/py-arrow/PLIST3
-rw-r--r--time/py-arrow/distinfo8
3 files changed, 20 insertions, 19 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"
diff --git a/time/py-arrow/PLIST b/time/py-arrow/PLIST
index f24cd20dfc1..3c29d2a4b1a 100644
--- a/time/py-arrow/PLIST
+++ b/time/py-arrow/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2019/11/15 14:09:45 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/07/11 13:32:24 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -32,6 +32,7 @@ ${PYSITELIB}/arrow/locales.pyo
${PYSITELIB}/arrow/parser.py
${PYSITELIB}/arrow/parser.pyc
${PYSITELIB}/arrow/parser.pyo
+${PYSITELIB}/arrow/py.typed
${PYSITELIB}/arrow/util.py
${PYSITELIB}/arrow/util.pyc
${PYSITELIB}/arrow/util.pyo
diff --git a/time/py-arrow/distinfo b/time/py-arrow/distinfo
index 4368697b773..b6b507adb51 100644
--- a/time/py-arrow/distinfo
+++ b/time/py-arrow/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2021/10/26 11:24:32 nia Exp $
+$NetBSD: distinfo,v 1.20 2022/07/11 13:32:24 adam Exp $
-BLAKE2s (arrow-0.15.8.tar.gz) = 9b1b9bec597bf6c6c37047dae47a04958b8a2bfb8653f86b221d437dcc1598e7
-SHA512 (arrow-0.15.8.tar.gz) = 93d161cbeb48636f2e3f91ebcc51cddbb3b21175ae31f5d9251a22358c7d1934663a8e47a82efd8773bf30c28efefcd8d2a3baf581fe191777cd41f12f29d4d2
-Size (arrow-0.15.8.tar.gz) = 92220 bytes
+BLAKE2s (arrow-1.2.2.tar.gz) = d2bbb30c040c6b193f129490ab3aa2211c017d4b96ff7e0c6fcff02849172bcf
+SHA512 (arrow-1.2.2.tar.gz) = f88afa9a0bc967e8731a7bf1712ecf3810f12ade9cc53a94a74efd3ece750f37bea7541a054eb9acd12b99b4a6d32687eab4eae20a6f49b2c2d6f1b499221542
+Size (arrow-1.2.2.tar.gz) = 123174 bytes