pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/py-arrow



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu May  7 04:56:30 UTC 2020

Modified Files:
        pkgsrc/time/py-arrow: Makefile distinfo

Log Message:
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>`_.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/time/py-arrow/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/time/py-arrow/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/py-arrow/Makefile
diff -u pkgsrc/time/py-arrow/Makefile:1.15 pkgsrc/time/py-arrow/Makefile:1.16
--- pkgsrc/time/py-arrow/Makefile:1.15  Thu Jan  9 12:06:17 2020
+++ pkgsrc/time/py-arrow/Makefile       Thu May  7 04:56:30 2020
@@ -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-[
 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.funct
 
 USE_LANGUAGES= # none
 
+PYSETUPTESTTARGET=     pytest
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/time/py-arrow/distinfo
diff -u pkgsrc/time/py-arrow/distinfo:1.14 pkgsrc/time/py-arrow/distinfo:1.15
--- pkgsrc/time/py-arrow/distinfo:1.14  Thu Jan  9 12:06:17 2020
+++ pkgsrc/time/py-arrow/distinfo       Thu May  7 04:56:30 2020
@@ -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



Home | Main Index | Thread Index | Old Index