pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/py-arrow py-arrow: updated to 0.15.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8d0c7f3f047
branches:  trunk
changeset: 347242:c8d0c7f3f047
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jan 09 12:06:17 2020 +0000

description:
py-arrow: updated to 0.15.5

0.15.5:

- [WARN] Python 2 reached EOL on 2020-01-01. arrow will **drop support** for Python 2 in a future release to be decided.
- [NEW] Added bounds parameter to ``span_range``, ``interval`` and ``span`` methods. This allows you to include or exclude the start and end values.
- [NEW] ``arrow.get()`` can now create arrow objects from a timestamp with a timezone, for example:

.. code-block:: python

    >>> arrow.get(1367900664, tzinfo=tz.gettz('US/Pacific'))
    <Arrow [2013-05-06T21:24:24-07:00]>

- [NEW] ``humanize`` can now combine multiple levels of granularity, for example:

.. code-block:: python

    >>> later140 = arrow.utcnow().shift(seconds=+8400)
    >>> later140.humanize(granularity="minute")
    'in 139 minutes'
    >>> later140.humanize(granularity=["hour", "minute"])
    'in 2 hours and 19 minutes'

- [NEW] Added Hong Kong locale (``zh_hk``).
- [NEW] Added ``humanize`` week granularity translation for Dutch.
- [NEW] Numbers are now displayed when using the seconds granularity in ``humanize``.
- [CHANGE] ``range`` now supports both the singular and plural forms of the ``frames`` argument (e.g. day and days).
- [FIX] Improved parsing of strings that contain punctuation.
- [FIX] Improved behaviour of ``humanize`` when singular seconds are involved.

diffstat:

 time/py-arrow/Makefile |   4 ++--
 time/py-arrow/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 5e458c167ac6 -r c8d0c7f3f047 time/py-arrow/Makefile
--- a/time/py-arrow/Makefile    Thu Jan 09 12:00:03 2020 +0000
+++ b/time/py-arrow/Makefile    Thu Jan 09 12:06:17 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2019/11/15 14:09:45 adam Exp $
+# $NetBSD: Makefile,v 1.15 2020/01/09 12:06:17 adam Exp $
 
-DISTNAME=      arrow-0.15.4
+DISTNAME=      arrow-0.15.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/arrow/}
diff -r 5e458c167ac6 -r c8d0c7f3f047 time/py-arrow/distinfo
--- a/time/py-arrow/distinfo    Thu Jan 09 12:00:03 2020 +0000
+++ b/time/py-arrow/distinfo    Thu Jan 09 12:06:17 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2019/11/15 14:09:45 adam Exp $
+$NetBSD: distinfo,v 1.14 2020/01/09 12:06:17 adam Exp $
 
-SHA1 (arrow-0.15.4.tar.gz) = d861fd4eb713efaaf3644d9259f05ca9cc41743c
-RMD160 (arrow-0.15.4.tar.gz) = afccd4a87568c2d2f359b542fd5da1c2af508386
-SHA512 (arrow-0.15.4.tar.gz) = 905cead77a9a75f9511551aff9923321015d4e1615ea44317333dddbe28837932458a46d5237eacf0566e239225a4aabdd1d419ca294c648c8401bf5d8940383
-Size (arrow-0.15.4.tar.gz) = 77979 bytes
+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



Home | Main Index | Thread Index | Old Index