Version 2.6.0: * Added PEP-495-compatible methods to address ambiguous and imaginary dates in time zones in a backwards-compatible way. Ambiguous dates and times can now be safely represented by all dateutil time zones. * Added new methods for working with ambiguous and imaginary dates to the tz module. datetime_ambiguous() determines if a datetime is ambiguous for a given zone and datetime_exists() determines if a datetime exists in a given zone. This works for all fold-aware datetimes, not just those provided by dateutil. * Fixed an issue where dst() in Portugal in 1996 was returning the wrong value in tz.tzfile objects * Fixed an issue where zoneinfo.ZoneInfoFile errors were not being properly deep-copied. * Refactored tzwin and tzrange as a subclass of a common class, tzrangebase, as there was substantial overlapping functionality. As part of this change, tzrange and tzstr now expose a transitions() function, which returns the DST on and off transitions for a given year. * Deprecated zoneinfo.gettz() due to confusion with tz.gettz(), in favor of get() method of zoneinfo.ZoneInfoFile objects. * For non-character, non-stream arguments, parser.parse now raises TypeError instead of AttributeError. * Fixed an issue where tzfile objects were not properly handling dst() and tzname() when attached to datetime.time objects. * /usr/share/lib/zoneinfo was added to TZPATHS for compatibility with Solaris systems. * tzoffset and tzrange objects now accept either a number of seconds or a datetime.timedelta() object wherever previously only a number of seconds was allowed. * datetime.timedelta objects can now be added to relativedelta objects. * Refactored relativedelta.weekday and rrule.weekday into a common base class to reduce code duplication.diff -r1.16 -r1.17 pkgsrc/time/py-dateutil/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.16 2016/08/17 15:39:02 richard Exp $ | 1 | # $NetBSD: Makefile,v 1.17 2017/05/04 19:45:57 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= python-dateutil-2.5.3 | 3 | DISTNAME= python-dateutil-2.6.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//} | |
5 | CATEGORIES= time python | 5 | CATEGORIES= time python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dateutil/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dateutil/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://dateutil.readhedocs.org/ | 9 | HOMEPAGE= https://dateutil.readhedocs.org/ | |
10 | COMMENT= Extensions to the standard datetime module | 10 | COMMENT= Extensions to the standard datetime module | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six | 13 | DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six | |
14 | 14 | |||
15 | .include "../../lang/python/egg.mk" | 15 | .include "../../lang/python/egg.mk" | |
16 | .include "../../mk/bsd.pkg.mk" | 16 | .include "../../mk/bsd.pkg.mk" |
@@ -1,17 +1,26 @@ | @@ -1,17 +1,26 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.7 2016/08/17 15:39:02 richard Exp $ | 1 | @comment $NetBSD: PLIST,v 1.8 2017/05/04 19:45:57 adam Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |||
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |||
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |||
5 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |||
6 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |||
7 | ${PYSITELIB}/${EGG_INFODIR}/zip-safe | |||
2 | ${PYSITELIB}/dateutil/__init__.py | 8 | ${PYSITELIB}/dateutil/__init__.py | |
3 | ${PYSITELIB}/dateutil/__init__.pyc | 9 | ${PYSITELIB}/dateutil/__init__.pyc | |
4 | ${PYSITELIB}/dateutil/__init__.pyo | 10 | ${PYSITELIB}/dateutil/__init__.pyo | |
11 | ${PYSITELIB}/dateutil/_common.py | |||
12 | ${PYSITELIB}/dateutil/_common.pyc | |||
13 | ${PYSITELIB}/dateutil/_common.pyo | |||
5 | ${PYSITELIB}/dateutil/easter.py | 14 | ${PYSITELIB}/dateutil/easter.py | |
6 | ${PYSITELIB}/dateutil/easter.pyc | 15 | ${PYSITELIB}/dateutil/easter.pyc | |
7 | ${PYSITELIB}/dateutil/easter.pyo | 16 | ${PYSITELIB}/dateutil/easter.pyo | |
8 | ${PYSITELIB}/dateutil/parser.py | 17 | ${PYSITELIB}/dateutil/parser.py | |
9 | ${PYSITELIB}/dateutil/parser.pyc | 18 | ${PYSITELIB}/dateutil/parser.pyc | |
10 | ${PYSITELIB}/dateutil/parser.pyo | 19 | ${PYSITELIB}/dateutil/parser.pyo | |
11 | ${PYSITELIB}/dateutil/relativedelta.py | 20 | ${PYSITELIB}/dateutil/relativedelta.py | |
12 | ${PYSITELIB}/dateutil/relativedelta.pyc | 21 | ${PYSITELIB}/dateutil/relativedelta.pyc | |
13 | ${PYSITELIB}/dateutil/relativedelta.pyo | 22 | ${PYSITELIB}/dateutil/relativedelta.pyo | |
14 | ${PYSITELIB}/dateutil/rrule.py | 23 | ${PYSITELIB}/dateutil/rrule.py | |
15 | ${PYSITELIB}/dateutil/rrule.pyc | 24 | ${PYSITELIB}/dateutil/rrule.pyc | |
16 | ${PYSITELIB}/dateutil/rrule.pyo | 25 | ${PYSITELIB}/dateutil/rrule.pyo | |
17 | ${PYSITELIB}/dateutil/tz/__init__.py | 26 | ${PYSITELIB}/dateutil/tz/__init__.py | |
@@ -26,19 +35,13 @@ ${PYSITELIB}/dateutil/tz/tz.pyo | @@ -26,19 +35,13 @@ ${PYSITELIB}/dateutil/tz/tz.pyo | |||
26 | ${PYSITELIB}/dateutil/tz/win.py | 35 | ${PYSITELIB}/dateutil/tz/win.py | |
27 | ${PYSITELIB}/dateutil/tz/win.pyc | 36 | ${PYSITELIB}/dateutil/tz/win.pyc | |
28 | ${PYSITELIB}/dateutil/tz/win.pyo | 37 | ${PYSITELIB}/dateutil/tz/win.pyo | |
29 | ${PYSITELIB}/dateutil/tzwin.py | 38 | ${PYSITELIB}/dateutil/tzwin.py | |
30 | ${PYSITELIB}/dateutil/tzwin.pyc | 39 | ${PYSITELIB}/dateutil/tzwin.pyc | |
31 | ${PYSITELIB}/dateutil/tzwin.pyo | 40 | ${PYSITELIB}/dateutil/tzwin.pyo | |
32 | ${PYSITELIB}/dateutil/zoneinfo/__init__.py | 41 | ${PYSITELIB}/dateutil/zoneinfo/__init__.py | |
33 | ${PYSITELIB}/dateutil/zoneinfo/__init__.pyc | 42 | ${PYSITELIB}/dateutil/zoneinfo/__init__.pyc | |
34 | ${PYSITELIB}/dateutil/zoneinfo/__init__.pyo | 43 | ${PYSITELIB}/dateutil/zoneinfo/__init__.pyo | |
35 | ${PYSITELIB}/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz | 44 | ${PYSITELIB}/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz | |
36 | ${PYSITELIB}/dateutil/zoneinfo/rebuild.py | 45 | ${PYSITELIB}/dateutil/zoneinfo/rebuild.py | |
37 | ${PYSITELIB}/dateutil/zoneinfo/rebuild.pyc | 46 | ${PYSITELIB}/dateutil/zoneinfo/rebuild.pyc | |
38 | ${PYSITELIB}/dateutil/zoneinfo/rebuild.pyo | 47 | ${PYSITELIB}/dateutil/zoneinfo/rebuild.pyo | |
39 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |||
40 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |||
41 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |||
42 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |||
43 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |||
44 | ${PYSITELIB}/${EGG_INFODIR}/zip-safe |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.8 2016/08/17 15:39:02 richard Exp $ | 1 | $NetBSD: distinfo,v 1.9 2017/05/04 19:45:57 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (python-dateutil-2.5.3.tar.gz) = a53ebfeecc784ea5781ba504ddf7f4ad13738213 | 3 | SHA1 (python-dateutil-2.6.0.tar.gz) = 4ca7ac612a55da7aa4ca87eafc7b308747fd06b1 | |
4 | RMD160 (python-dateutil-2.5.3.tar.gz) = bc4601d93270402673aa4c2e5c7719924bbcb322 | 4 | RMD160 (python-dateutil-2.6.0.tar.gz) = 072c2e017a2e6b5b011b1a4a363234025e8fad14 | |
5 | SHA512 (python-dateutil-2.5.3.tar.gz) = 413b935321f0a65fd8e8ba49990acd5bed60b9bcd614837a26c1cf52ecbf268543a97791dfa7b91ebf183866a8de7be302ca7d18d10352e897994f60bce5df62 | 5 | SHA512 (python-dateutil-2.6.0.tar.gz) = 1fec6dd6fc00650821fd826405414bcde79e1542a53608ebd837e924b4abc147a369214ec064adbff682fc5ff67440086f3000eaa77b274c7463c3f58686ced9 | |
6 | Size (python-dateutil-2.5.3.tar.gz) = 236877 bytes | 6 | Size (python-dateutil-2.6.0.tar.gz) = 258060 bytes |