summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-05-07 04:56:30 +0000
committeradam <adam@pkgsrc.org>2020-05-07 04:56:30 +0000
commit2a191ac1970a271614a85ce7fc634599a802649b (patch)
treefae0bb99639b11e0f19b7855a078f03614d38c61 /time
parentdcb92b2402cd17de38b33f7e6673d5295d5d568f (diff)
downloadpkgsrc-2a191ac1970a271614a85ce7fc634599a802649b.tar.gz
py-arrow: updated to 0.15.6
0.15.6: - [NEW] Added support for parsing and formatting `ISO 8601 week dates <https://en.wikipedia.org/wiki/ISO_week_date>`_ via a new token ``W``, for example: .. code-block:: python >>> arrow.get("2013-W29-6", "W") <Arrow [2013-07-20T00:00:00+00:00]> >>> utc=arrow.utcnow() >>> utc <Arrow [2020-01-23T18:37:55.417624+00:00]> >>> utc.format("W") '2020-W04-4' - [NEW] Formatting with ``x`` token (microseconds) is now possible, for example: .. code-block:: python >>> dt = arrow.utcnow() >>> dt.format("x") '1585669870688329' >>> dt.format("X") '1585669870' - [NEW] Added ``humanize`` week granularity translation for German, Italian, Polish & Taiwanese locales. - [FIX] Consolidated and simplified German locales. - [INTERNAL] Moved testing suite from nosetest/Chai to pytest/pytest-mock. - [INTERNAL] Converted xunit-style setup and teardown functions in tests to pytest fixtures. - [INTERNAL] Setup Github Actions for CI alongside Travis. - [INTERNAL] Help support Arrow's future development by donating to the project on `Open Collective <https://opencollective.com/arrow>`_.
Diffstat (limited to 'time')
-rw-r--r--time/py-arrow/Makefile8
-rw-r--r--time/py-arrow/distinfo10
2 files changed, 11 insertions, 7 deletions
diff --git a/time/py-arrow/Makefile b/time/py-arrow/Makefile
index a193522163c..ec6e9e538d5 100644
--- a/time/py-arrow/Makefile
+++ b/time/py-arrow/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2020/01/09 12:06:17 adam Exp $
+# $NetBSD: Makefile,v 1.16 2020/05/07 04:56:30 adam Exp $
-DISTNAME= arrow-0.15.5
+DISTNAME= arrow-0.15.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= time python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/arrow/}
@@ -17,6 +17,8 @@ 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}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
@@ -25,5 +27,7 @@ DEPENDS+= ${PYPKGPREFIX}-backports.functools_lru_cache>=1.2.1:../../devel/py-bac
USE_LANGUAGES= # none
+PYSETUPTESTTARGET= pytest
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/time/py-arrow/distinfo b/time/py-arrow/distinfo
index 8e768ea48a7..bf99d499089 100644
--- a/time/py-arrow/distinfo
+++ b/time/py-arrow/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2020/01/09 12:06:17 adam Exp $
+$NetBSD: distinfo,v 1.15 2020/05/07 04:56:30 adam Exp $
-SHA1 (arrow-0.15.5.tar.gz) = 3424c089ce1c9321e74a30fb3da4c0ae6695db7f
-RMD160 (arrow-0.15.5.tar.gz) = 6de11d49cf2c2ad21ff146418a148e167160beab
-SHA512 (arrow-0.15.5.tar.gz) = cb147a1f2976e6cedddbf2d2d0d5ce69a4a609d4c0c3d68f96b317fc2af334552cb0c1a94aa5bb38e6d74ca7e1beab1ae8a325920a15efd79c35835c92df2409
-Size (arrow-0.15.5.tar.gz) = 82264 bytes
+SHA1 (arrow-0.15.6.tar.gz) = 70339da09a7eef1bef29fc5d47ef2ab5727a7410
+RMD160 (arrow-0.15.6.tar.gz) = 372119a641c1063654f31c71ec2a16657ee8d4c1
+SHA512 (arrow-0.15.6.tar.gz) = c56316f8c535c6f14ccaab32e2559b45309170fd47e8728cdd8c0e2af9398264f90fbdd0ece82d14e3f959d24b186fac3e8bb52cf7a64fe0dcd4c247650c73b5
+Size (arrow-0.15.6.tar.gz) = 83160 bytes