Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107362084
D20421.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D20421.diff
View Options
Index: head/devel/py-dateutil/Makefile
===================================================================
--- head/devel/py-dateutil/Makefile
+++ head/devel/py-dateutil/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= dateutil
-PORTVERSION= 2.7.3
+PORTVERSION= 2.8.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,16 +16,22 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.5:devel/py-six@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.3:devel/py-pytest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.2.0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=3.30:devel/py-hypothesis@${PY_FLAVOR}
USES= python
+USE_LOCALE= en_US.UTF-8
USE_PYTHON= autoplist distutils
NO_ARCH= yes
+# Test failure: test_tzlocal_offset_equal[GMT-tzoff1] (dateutil 2.8.0)
+# https://github.com/dateutil/dateutil/issues/918
do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${TEST_ENV} \
+ ${PYTHON_CMD} -m pytest -v -rs -o addopts= \
+ -k 'not test_tzlocal_offset_equal[GMT-tzoff1]'
.include <bsd.port.mk>
Index: head/devel/py-dateutil/distinfo
===================================================================
--- head/devel/py-dateutil/distinfo
+++ head/devel/py-dateutil/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1532990877
-SHA256 (python-dateutil-2.7.3.tar.gz) = e27001de32f627c22380a688bcc43ce83504a7bc5da472209b4c70f02829f0b8
-SIZE (python-dateutil-2.7.3.tar.gz) = 302871
+TIMESTAMP = 1558933982
+SHA256 (python-dateutil-2.8.0.tar.gz) = c89805f6f4d64db21ed966fda138f8a5ed7a4fdbc1a8ee329ce1b74e3c74da9e
+SIZE (python-dateutil-2.8.0.tar.gz) = 327134
Index: head/devel/py-dateutil/files/patch-setup.cfg
===================================================================
--- head/devel/py-dateutil/files/patch-setup.cfg
+++ head/devel/py-dateutil/files/patch-setup.cfg
@@ -0,0 +1,33 @@
+From 417f44124e34815e98aa7e736978f5763cdb19a7 Mon Sep 17 00:00:00 2001
+From: Paul Ganssle <paul@ganssle.io>
+Date: Fri, 17 May 2019 18:50:09 -0400
+Subject: [PATCH] Register pytest markers
+
+The latest version of pytest has started warning on unregistered
+markers, which the test suite uses fairly extensively, causing the tests
+to fail. This explicitly registers all the markers used in the test
+suite.
+
+--- setup.cfg.orig 2019-02-05 14:11:22 UTC
++++ setup.cfg
+@@ -14,6 +14,20 @@ filterwarnings =
+ error
+ error::DeprecationWarning
+ error:PendingDeprecationWarning
++markers =
++ gettz
++ import_star
++ isoparser
++ parserinfo
++ rrule
++ rruleset
++ rrulestr
++ smoke
++ tz_resolve_imaginary
++ tzfile
++ tzlocal
++ tzoffset
++ tzstr
+
+ [egg_info]
+ tag_build =
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 14, 1:41 AM (19 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15789771
Default Alt Text
D20421.diff (2 KB)
Attached To
Mode
D20421: devel/py-dateutil: Update to 2.8.0
Attached
Detach File
Event Timeline
Log In to Comment