summaryrefslogtreecommitdiff
path: root/time/py-dateutil
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-07-14 20:27:21 +0000
committeradam <adam@pkgsrc.org>2021-07-14 20:27:21 +0000
commit0b18aa069340fc10441b1c003f6274c269a77d49 (patch)
tree15b50a95fde8e3832ac8f4a42976171457766302 /time/py-dateutil
parent3952bd9623071d63ba39c90872e799759c79c622 (diff)
downloadpkgsrc-0b18aa069340fc10441b1c003f6274c269a77d49.tar.gz
py-dateutil: updated to 2.8.2
Version 2.8.2 (2021-07-08) ========================== Data updates ------------ - Updated tzdata version to 2021a. Bugfixes -------- - Fixed a bug in the parser where non-``ValueError`` exceptions would be raised during exception handling; this would happen, for example, if an ``IllegalMonthError`` was raised in ``dateutil`` code. - Fixed the custom ``repr`` for ``dateutil.parser.ParserError``, which was not defined due to an indentation error. - Fixed a bug that caused ``b'`` prefixes to appear in parse_isodate exception messages. - Make ``isoparse`` raise when trying to parse times with inconsistent use of `:` separator. - Fixed ``tz.gettz()`` not returning local time when passed an empty string. Documentation changes --------------------- - Rearranged parser documentation into "Functions", "Classes" and "Warnings and Exceptions" categories. - Updated ``parser.parse`` documentation to reflect the switch from ``ValueError`` to ``ParserError``. - Fixed methods in the ``rrule`` module not being displayed in the docs. - Changed some relative links in the exercise documentation to refer to the document locations in the input tree, rather than the generated HTML files in the HTML output tree (which presumably will not exist in non-HTML output formats). Misc ---- - Moved ``test_imports.py``, ``test_internals.py`` and ``test_utils.py`` to pytest. - Added project_urls for documentation and source. - Simplified handling of bytes and bytearray in ``_parser._timelex``. - Changed the tests against the upstream tz database to always generate fat binaries, since until GH-590 and GH-1059 are resolved, "slim" zic binaries will cause problems in many zones, causing the tests to fail. This also updates ``zoneinfo.rebuild`` to always generate fat binaries. - Moved sdist and wheel generation to use `python-build`.
Diffstat (limited to 'time/py-dateutil')
-rw-r--r--time/py-dateutil/Makefile6
-rw-r--r--time/py-dateutil/distinfo10
2 files changed, 8 insertions, 8 deletions
diff --git a/time/py-dateutil/Makefile b/time/py-dateutil/Makefile
index a924ba08d16..cf339771a7b 100644
--- a/time/py-dateutil/Makefile
+++ b/time/py-dateutil/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2020/10/06 10:51:22 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2021/07/14 20:27:21 adam Exp $
-DISTNAME= python-dateutil-2.8.1
+DISTNAME= python-dateutil-2.8.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
CATEGORIES= time python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dateutil/}
@@ -18,7 +18,7 @@ PYTHON_VERSIONED_DEPENDENCIES= test:test
PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
do-test:
- cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
diff --git a/time/py-dateutil/distinfo b/time/py-dateutil/distinfo
index 2f697e683c3..50a901155a6 100644
--- a/time/py-dateutil/distinfo
+++ b/time/py-dateutil/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2019/11/06 20:49:22 adam Exp $
+$NetBSD: distinfo,v 1.18 2021/07/14 20:27:21 adam Exp $
-SHA1 (python-dateutil-2.8.1.tar.gz) = bd26127e57f83a10f656b62c46524c15aeb844dd
-RMD160 (python-dateutil-2.8.1.tar.gz) = 8e14a1fac932b4062904a05c11da0d1ffb5a2bbb
-SHA512 (python-dateutil-2.8.1.tar.gz) = 337000216e0f8ce32d6363768444144183ab9268f69082f20858f2b3322b1c449e53b2f2b5dcb3645be22294659ce7838f74ace2fd7a7c4f2adc6cf806a9fa2c
-Size (python-dateutil-2.8.1.tar.gz) = 331745 bytes
+SHA1 (python-dateutil-2.8.2.tar.gz) = c2ba10c775b7a52a4b57cac4d4110a0c0f812a82
+RMD160 (python-dateutil-2.8.2.tar.gz) = b61a18d5135f4bb241831d7c7b3295999f6cb27e
+SHA512 (python-dateutil-2.8.2.tar.gz) = 6538858e4a3e2d1de1bf25b6d8b25e3a8d20bf60fb85e32d07ac491c90ce193e268bb5641371b8a79fb0f033a184bac9896b3bc643c1aca9ee9c6478286ac20c
+Size (python-dateutil-2.8.2.tar.gz) = 357324 bytes