py-arrow: updated to 1.2.2 1.2.2 (2022-01-19) ------------------ - [NEW] Added Kazakh locale. - [FIX] The Belarusian, Bulgarian, Czech, Macedonian, Polish, Russian, Slovak and Ukrainian locales now support ``dehumanize``. - [FIX] Minor bug fixes and improvements to ChineseCN, Indonesian, Norwegian, and Russian locales. - [FIX] Expanded testing for multiple locales. - [INTERNAL] Started using ``xelatex`` for pdf generation in documentation. - [INTERNAL] Split requirements file into ``requirements.txt``, ``requirements-docs.txt`` and ``requirements-tests.txt``. - [INTERNAL] Added ``flake8-annotations`` package for type linting in ``pre-commit``. 1.2.1 (2021-10-24) ------------------ - [NEW] Added quarter granularity to humanize, for example: .. code-block:: python >>> import arrow >>> now = arrow.now() >>> four_month_shift = now.shift(months=4) >>> now.humanize(four_month_shift, granularity="quarter") 'a quarter ago' >>> four_month_shift.humanize(now, granularity="quarter") 'in a quarter' >>> thirteen_month_shift = now.shift(months=13) >>> thirteen_month_shift.humanize(now, granularity="quarter") 'in 4 quarters' >>> now.humanize(thirteen_month_shift, granularity="quarter") '4 quarters ago' - [NEW] Added Sinhala and Urdu locales. - [NEW] Added official support for Python 3.10. - [CHANGED] Updated Azerbaijani, Hebrew, and Serbian locales and added tests. - [CHANGED] Passing an empty granularity list to ``humanize`` now raises a ``ValueError``. 1.2.0 (2021-09-12) ------------------ - [NEW] Added Albanian, Tamil and Zulu locales. - [NEW] Added support for ``Decimal`` as input to ``arrow.get()``. - [FIX] The Estonian, Finnish, Nepali and Zulu locales now support ``dehumanize``. - [FIX] Improved validation checks when using parser tokens ``A`` and ``hh``. - [FIX] Minor bug fixes to Catalan, Cantonese, Greek and Nepali locales.diff -r1.19 -r1.20 pkgsrc/time/py-arrow/Makefile
(adam)
@@ -1,34 +1,34 @@ | @@ -1,34 +1,34 @@ | |||
1 | # $NetBSD: Makefile,v 1.19 2022/01/04 20:55:11 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.20 2022/07/11 13:32:24 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= arrow-0.15.8 | 3 | DISTNAME= arrow-1.2.2 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= time python | 5 | CATEGORIES= time python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=a/arrow/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=a/arrow/} | |
8 | 7 | |||
9 | MAINTAINER= kamelderouiche@yahoo.com | 8 | MAINTAINER= kamelderouiche@yahoo.com | |
10 | HOMEPAGE= https://github.com/arrow-py/arrow | 9 | HOMEPAGE= https://github.com/arrow-py/arrow | |
11 | COMMENT= Better dates and times for Python | 10 | COMMENT= Better dates and times for Python | |
12 | LICENSE= apache-2.0 | 11 | LICENSE= apache-2.0 | |
13 | 12 | |||
14 | DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil | 13 | DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.7.0:../../time/py-dateutil | |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-chai-[0-9]*:../../devel/py-chai | |||
16 | TEST_DEPENDS+= ${PYPKGPREFIX}-dateparser-[0-9]*:../../time/py-dateparser | 14 | TEST_DEPENDS+= ${PYPKGPREFIX}-dateparser-[0-9]*:../../time/py-dateparser | |
17 | TEST_DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil | 15 | TEST_DEPENDS+= ${PYPKGPREFIX}-pytz>=2021.1:../../time/py-pytz | |
18 | TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock | 16 | TEST_DEPENDS+= ${PYPKGPREFIX}-simplejson>=3.0.0:../../converters/py-simplejson | |
19 | TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz | 17 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | |
20 | TEST_DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson | |||
21 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov | 18 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov | |
19 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock | |||
22 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | 20 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | |
23 | 21 | |||
24 | .include "../../lang/python/pyversion.mk" | |||
25 | .if ${_PYTHON_VERSION} == 27 | |||
26 | DEPENDS+= ${PYPKGPREFIX}-backports.functools_lru_cache>=1.2.1:../../devel/py-backports.functools_lru_cache | |||
27 | .endif | |||
28 | ||||
29 | USE_LANGUAGES= # none | 22 | USE_LANGUAGES= # none | |
30 | 23 | |||
31 | PYSETUPTESTTARGET= pytest | 24 | PYSETUPTESTTARGET= pytest | |
32 | 25 | |||
26 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |||
27 | ||||
28 | .include "../../lang/python/pyversion.mk" | |||
29 | .if ${_PYTHON_VERSION} == 37 | |||
30 | DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions | |||
31 | .endif | |||
32 | ||||
33 | .include "../../lang/python/egg.mk" | 33 | .include "../../lang/python/egg.mk" | |
34 | .include "../../mk/bsd.pkg.mk" | 34 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.19 2021/10/26 11:24:32 nia Exp $ | 1 | $NetBSD: distinfo,v 1.20 2022/07/11 13:32:24 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (arrow-0.15.8.tar.gz) = 9b1b9bec597bf6c6c37047dae47a04958b8a2bfb8653f86b221d437dcc1598e7 | 3 | BLAKE2s (arrow-1.2.2.tar.gz) = d2bbb30c040c6b193f129490ab3aa2211c017d4b96ff7e0c6fcff02849172bcf | |
4 | SHA512 (arrow-0.15.8.tar.gz) = 93d161cbeb48636f2e3f91ebcc51cddbb3b21175ae31f5d9251a22358c7d1934663a8e47a82efd8773bf30c28efefcd8d2a3baf581fe191777cd41f12f29d4d2 | 4 | SHA512 (arrow-1.2.2.tar.gz) = f88afa9a0bc967e8731a7bf1712ecf3810f12ade9cc53a94a74efd3ece750f37bea7541a054eb9acd12b99b4a6d32687eab4eae20a6f49b2c2d6f1b499221542 | |
5 | Size (arrow-0.15.8.tar.gz) = 92220 bytes | 5 | Size (arrow-1.2.2.tar.gz) = 123174 bytes |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2019/11/15 14:09:45 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2022/07/11 13:32:24 adam Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | 5 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | |
6 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
8 | ${PYSITELIB}/arrow/__init__.py | 8 | ${PYSITELIB}/arrow/__init__.py | |
9 | ${PYSITELIB}/arrow/__init__.pyc | 9 | ${PYSITELIB}/arrow/__init__.pyc | |
10 | ${PYSITELIB}/arrow/__init__.pyo | 10 | ${PYSITELIB}/arrow/__init__.pyo | |
11 | ${PYSITELIB}/arrow/_version.py | 11 | ${PYSITELIB}/arrow/_version.py | |
12 | ${PYSITELIB}/arrow/_version.pyc | 12 | ${PYSITELIB}/arrow/_version.pyc | |
13 | ${PYSITELIB}/arrow/_version.pyo | 13 | ${PYSITELIB}/arrow/_version.pyo | |
14 | ${PYSITELIB}/arrow/api.py | 14 | ${PYSITELIB}/arrow/api.py | |
@@ -22,16 +22,17 @@ ${PYSITELIB}/arrow/constants.pyc | @@ -22,16 +22,17 @@ ${PYSITELIB}/arrow/constants.pyc | |||
22 | ${PYSITELIB}/arrow/constants.pyo | 22 | ${PYSITELIB}/arrow/constants.pyo | |
23 | ${PYSITELIB}/arrow/factory.py | 23 | ${PYSITELIB}/arrow/factory.py | |
24 | ${PYSITELIB}/arrow/factory.pyc | 24 | ${PYSITELIB}/arrow/factory.pyc | |
25 | ${PYSITELIB}/arrow/factory.pyo | 25 | ${PYSITELIB}/arrow/factory.pyo | |
26 | ${PYSITELIB}/arrow/formatter.py | 26 | ${PYSITELIB}/arrow/formatter.py | |
27 | ${PYSITELIB}/arrow/formatter.pyc | 27 | ${PYSITELIB}/arrow/formatter.pyc | |
28 | ${PYSITELIB}/arrow/formatter.pyo | 28 | ${PYSITELIB}/arrow/formatter.pyo | |
29 | ${PYSITELIB}/arrow/locales.py | 29 | ${PYSITELIB}/arrow/locales.py | |
30 | ${PYSITELIB}/arrow/locales.pyc | 30 | ${PYSITELIB}/arrow/locales.pyc | |
31 | ${PYSITELIB}/arrow/locales.pyo | 31 | ${PYSITELIB}/arrow/locales.pyo | |
32 | ${PYSITELIB}/arrow/parser.py | 32 | ${PYSITELIB}/arrow/parser.py | |
33 | ${PYSITELIB}/arrow/parser.pyc | 33 | ${PYSITELIB}/arrow/parser.pyc | |
34 | ${PYSITELIB}/arrow/parser.pyo | 34 | ${PYSITELIB}/arrow/parser.pyo | |
35 | ${PYSITELIB}/arrow/py.typed | |||
35 | ${PYSITELIB}/arrow/util.py | 36 | ${PYSITELIB}/arrow/util.py | |
36 | ${PYSITELIB}/arrow/util.pyc | 37 | ${PYSITELIB}/arrow/util.pyc | |
37 | ${PYSITELIB}/arrow/util.pyo | 38 | ${PYSITELIB}/arrow/util.pyo |