pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time/py-dateutil Version 2.6.0:
details: https://anonhg.NetBSD.org/pkgsrc/rev/a06d6dc07d08
branches: trunk
changeset: 362094:a06d6dc07d08
user: adam <adam%pkgsrc.org@localhost>
date: Thu May 04 19:45:57 2017 +0000
description:
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.
diffstat:
time/py-dateutil/Makefile | 4 ++--
time/py-dateutil/PLIST | 17 ++++++++++-------
time/py-dateutil/distinfo | 10 +++++-----
3 files changed, 17 insertions(+), 14 deletions(-)
diffs (58 lines):
diff -r d39f751e9989 -r a06d6dc07d08 time/py-dateutil/Makefile
--- a/time/py-dateutil/Makefile Thu May 04 19:30:51 2017 +0000
+++ b/time/py-dateutil/Makefile Thu May 04 19:45:57 2017 +0000
@@ -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/}
diff -r d39f751e9989 -r a06d6dc07d08 time/py-dateutil/PLIST
--- a/time/py-dateutil/PLIST Thu May 04 19:30:51 2017 +0000
+++ b/time/py-dateutil/PLIST Thu May 04 19:45:57 2017 +0000
@@ -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 $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
${PYSITELIB}/dateutil/__init__.py
${PYSITELIB}/dateutil/__init__.pyc
${PYSITELIB}/dateutil/__init__.pyo
+${PYSITELIB}/dateutil/_common.py
+${PYSITELIB}/dateutil/_common.pyc
+${PYSITELIB}/dateutil/_common.pyo
${PYSITELIB}/dateutil/easter.py
${PYSITELIB}/dateutil/easter.pyc
${PYSITELIB}/dateutil/easter.pyo
@@ -36,9 +45,3 @@
${PYSITELIB}/dateutil/zoneinfo/rebuild.py
${PYSITELIB}/dateutil/zoneinfo/rebuild.pyc
${PYSITELIB}/dateutil/zoneinfo/rebuild.pyo
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/${EGG_INFODIR}/zip-safe
diff -r d39f751e9989 -r a06d6dc07d08 time/py-dateutil/distinfo
--- a/time/py-dateutil/distinfo Thu May 04 19:30:51 2017 +0000
+++ b/time/py-dateutil/distinfo Thu May 04 19:45:57 2017 +0000
@@ -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