pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/py-dateutil



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jul 14 20:27:22 UTC 2021

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/time/py-dateutil/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/time/py-dateutil/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-dateutil/Makefile
diff -u pkgsrc/time/py-dateutil/Makefile:1.29 pkgsrc/time/py-dateutil/Makefile:1.30
--- pkgsrc/time/py-dateutil/Makefile:1.29       Tue Oct  6 10:51:22 2020
+++ pkgsrc/time/py-dateutil/Makefile    Wed Jul 14 20:27:21 2021
@@ -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"

Index: pkgsrc/time/py-dateutil/distinfo
diff -u pkgsrc/time/py-dateutil/distinfo:1.17 pkgsrc/time/py-dateutil/distinfo:1.18
--- pkgsrc/time/py-dateutil/distinfo:1.17       Wed Nov  6 20:49:22 2019
+++ pkgsrc/time/py-dateutil/distinfo    Wed Jul 14 20:27:21 2021
@@ -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



Home | Main Index | Thread Index | Old Index