update to py-dateutil-2.8.2

test failures with py3, present with older version and seen with other ports,
along these lines:

imported module 'dateutil.zoneinfo.rebuild' has this __file__ attribute:
  /usr/obj/ports/py-dateutil-2.8.2-python3/python-dateutil-2.8.2/dateutil/zoneinfo/rebuild.py
which is not the same as the test file we want to collect:
  /usr/obj/ports/py-dateutil-2.8.2-python3/python-dateutil-2.8.2/lib/dateutil/zoneinfo/rebuild.py

etc.
This commit is contained in:
sthen 2021-09-02 13:26:36 +00:00
parent a81d5ba9dc
commit d26bf1ef18
3 changed files with 6 additions and 7 deletions

View File

@ -1,12 +1,11 @@
# $OpenBSD: Makefile,v 1.35 2021/05/21 19:50:24 kmos Exp $
# $OpenBSD: Makefile,v 1.36 2021/09/02 13:26:36 sthen Exp $
COMMENT = Python API for advanced date calculations
MODPY_EGG_VERSION = 2.8.1
MODPY_EGG_VERSION = 2.8.2
DISTNAME = python-dateutil-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/^python-/py-/}
CATEGORIES = devel
REVISION = 1
HOMEPAGE = https://dateutil.readthedocs.org/

View File

@ -1,2 +1,2 @@
SHA256 (python-dateutil-2.8.1.tar.gz) = c+v+nb8i6DIoba+mBHPkzSOfhZL2mapa2vEAUObhgjw=
SIZE (python-dateutil-2.8.1.tar.gz) = 331745
SHA256 (python-dateutil-2.8.2.tar.gz) = ASPKzBYnrhnd88J6XeW9Z+5FhvvdZEDZdI+Ku0g9PoY=
SIZE (python-dateutil-2.8.2.tar.gz) = 357324

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-dateutil_test_test_parser_py,v 1.3 2019/12/12 16:21:23 jasper Exp $
$OpenBSD: patch-dateutil_test_test_parser_py,v 1.4 2021/09/02 13:26:36 sthen Exp $
our strftime doesn't error out with %-d but just outputs -d rather
than doing whatever this test wants
@ -6,7 +6,7 @@ than doing whatever this test wants
Index: dateutil/test/test_parser.py
--- dateutil/test/test_parser.py.orig
+++ dateutil/test/test_parser.py
@@ -103,6 +103,8 @@ PARSER_TEST_CASES = [
@@ -104,6 +104,8 @@ PARSER_TEST_CASES = [
# Check that we don't have any duplicates
assert len(set([x[0] for x in PARSER_TEST_CASES])) == len(PARSER_TEST_CASES)