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:           Thu May  4 19:45:57 UTC 2017

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

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

* 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

* tzoffset and tzrange objects now accept either a number of seconds or a
datetime.timedelta() object wherever previously only a number of seconds was

* 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.

To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/time/py-dateutil/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/time/py-dateutil/PLIST
cvs rdiff -u -r1.8 -r1.9 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.16 pkgsrc/time/py-dateutil/Makefile:1.17
--- pkgsrc/time/py-dateutil/Makefile:1.16       Wed Aug 17 15:39:02 2016
+++ pkgsrc/time/py-dateutil/Makefile    Thu May  4 19:45:57 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2016/08/17 15:39:02 richard Exp $
+# $NetBSD: Makefile,v 1.17 2017/05/04 19:45:57 adam Exp $
-DISTNAME=      python-dateutil-2.5.3
+DISTNAME=      python-dateutil-2.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-//}
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-dateutil/}

Index: pkgsrc/time/py-dateutil/PLIST
diff -u pkgsrc/time/py-dateutil/PLIST:1.7 pkgsrc/time/py-dateutil/PLIST:1.8
--- pkgsrc/time/py-dateutil/PLIST:1.7   Wed Aug 17 15:39:02 2016
+++ pkgsrc/time/py-dateutil/PLIST       Thu May  4 19:45:57 2017
@@ -1,7 +1,16 @@
-@comment $NetBSD: PLIST,v 1.7 2016/08/17 15:39:02 richard Exp $
+@comment $NetBSD: PLIST,v 1.8 2017/05/04 19:45:57 adam Exp $
@@ -36,9 +45,3 @@ ${PYSITELIB}/dateutil/zoneinfo/dateutil-

Index: pkgsrc/time/py-dateutil/distinfo
diff -u pkgsrc/time/py-dateutil/distinfo:1.8 pkgsrc/time/py-dateutil/distinfo:1.9
--- pkgsrc/time/py-dateutil/distinfo:1.8        Wed Aug 17 15:39:02 2016
+++ pkgsrc/time/py-dateutil/distinfo    Thu May  4 19:45:57 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2016/08/17 15:39:02 richard Exp $
+$NetBSD: distinfo,v 1.9 2017/05/04 19:45:57 adam Exp $
-SHA1 (python-dateutil-2.5.3.tar.gz) = a53ebfeecc784ea5781ba504ddf7f4ad13738213
-RMD160 (python-dateutil-2.5.3.tar.gz) = bc4601d93270402673aa4c2e5c7719924bbcb322
-SHA512 (python-dateutil-2.5.3.tar.gz) = 413b935321f0a65fd8e8ba49990acd5bed60b9bcd614837a26c1cf52ecbf268543a97791dfa7b91ebf183866a8de7be302ca7d18d10352e897994f60bce5df62
-Size (python-dateutil-2.5.3.tar.gz) = 236877 bytes
+SHA1 (python-dateutil-2.6.0.tar.gz) = 4ca7ac612a55da7aa4ca87eafc7b308747fd06b1
+RMD160 (python-dateutil-2.6.0.tar.gz) = 072c2e017a2e6b5b011b1a4a363234025e8fad14
+SHA512 (python-dateutil-2.6.0.tar.gz) = 1fec6dd6fc00650821fd826405414bcde79e1542a53608ebd837e924b4abc147a369214ec064adbff682fc5ff67440086f3000eaa77b274c7463c3f58686ced9
+Size (python-dateutil-2.6.0.tar.gz) = 258060 bytes

Home | Main Index | Thread Index | Old Index