Subject: CVS commit: pkgsrc/time/py-arrow
From: Adam Ciarcinski
Date: 2019-11-15 15:09:45
Message id: 20191115140945.7761DFA97@cvs.NetBSD.org

Log Message:
py-arrow: updated to 0.15.4

0.15.4:
- [FIX] Fixed an issue that caused package installs to fail on Conda Forge.

0.15.3:
- [NEW] ``factory.get()`` can now create arrow objects from a ISO calendar \ 
tuple, for example:

.. code-block:: python

    >>> arrow.get((2013, 18, 7))
    <Arrow [2013-05-05T00:00:00+00:00]>

- [NEW] Added a new token ``x`` to allow parsing of integer timestamps with \ 
milliseconds and microseconds.
- [NEW] Formatting now supports escaping of characters using the same syntax as \ 
parsing, for example:

.. code-block:: python

    >>> arw = arrow.now()
    >>> fmt = "YYYY-MM-DD h [h] m"
    >>> arw.format(fmt)
    '2019-11-02 3 h 32'

- [NEW] Added ``humanize`` week granularity translations for Chinese, Spanish \ 
and Vietnamese.
- [CHANGE] Added ``ParserError`` to module exports.
- [FIX] Added support for midnight at end of day.
- [INTERNAL] Created Travis build for macOS.
- [INTERNAL] Test parsing and formatting against full timezone database.

0.15.2:
- [NEW] Added ``humanize`` week granularity translations for Portuguese and \ 
Brazilian Portuguese.
- [NEW] Embedded changelog within docs and added release dates to versions.
- [FIX] Fixed a bug that caused test failures on Windows only.

0.15.1:
- [NEW] Added ``humanize`` week granularity translations for Japanese.
- [FIX] Fixed a bug that caused Arrow to fail when passed a negative timestamp \ 
string.
- [FIX] Fixed a bug that caused Arrow to fail when passed a datetime object with \ 
``tzinfo`` of type ``StaticTzInfo``.

0.15.0:
- [NEW] Added support for DDD and DDDD ordinal date tokens. The following \ 
functionality is now possible: ``arrow.get("1998-045")``, \ 
``arrow.get("1998-45", "YYYY-DDD")``, \ 
``arrow.get("1998-045", "YYYY-DDDD")``.
- [NEW] ISO 8601 basic format for dates and times is now supported (e.g. \ 
``YYYYMMDDTHHmmssZ``).
- [NEW] Added ``humanize`` week granularity translations for French, Russian and \ 
Swiss German locales.
- [CHANGE] Timestamps of type ``str`` are no longer supported **without a format \ 
string** in the ``arrow.get()`` method. This change was made to support the ISO \ 
8601 basic format and to address bugs.

The following will NOT work in v0.15.0:

.. code-block:: python

    >>> arrow.get("1565358758")
    >>> arrow.get("1565358758.123413")

The following will work in v0.15.0:

.. code-block:: python

    >>> arrow.get("1565358758", "X")
    >>> arrow.get("1565358758.123413", "X")
    >>> arrow.get(1565358758)
    >>> arrow.get(1565358758.123413)

- [CHANGE] When a meridian token (a|A) is passed and no meridians are available \ 
for the specified locale (e.g. unsupported or untranslated) a ``ParserError`` is \ 
raised.
- [CHANGE] The timestamp token (``X``) will now match float timestamps of type \ 
``str``: ``arrow.get(“1565358758.123415”, “X”)``.
- [CHANGE] Strings with leading and/or trailing whitespace will no longer be \ 
parsed without a format string. Please see `the docs \ 
<https://arrow.readthedocs.io/en/latest/#regular-expressions>`_ for ways \ 
to handle this.
- [FIX] The timestamp token (``X``) will now only match on strings that \ 
**strictly contain integers and floats**, preventing incorrect matches.
- [FIX] Most instances of ``arrow.get()`` returning an incorrect ``Arrow`` \ 
object from a partial parsing match have been eliminated.

Files:
RevisionActionfile
1.14modifypkgsrc/time/py-arrow/Makefile
1.3modifypkgsrc/time/py-arrow/PLIST
1.13modifypkgsrc/time/py-arrow/distinfo