Wed Aug 17 15:39:02 2016 UTC ()
update to python-dateutil-2.5.3

NEWS:
Version 2.5.3
-------------
- Updated zoneinfo to 2016d
- Fixed parser bug where unambiguous datetimes fail to parse when dayfirst is
  set to true. (gh issue #233, pr #234)
- Bug in zoneinfo file on platforms such as Google App Engine which do not
  do not allow importing of subprocess.check_call was reported and fixed by
  @savraj (gh issue #239, gh pr #240)
- Fixed incorrect version in documentation (gh issue #235, pr #243)

Version 2.5.2
-------------
- Updated zoneinfo to 2016c
- Fixed parser bug where yearfirst and dayfirst parameters were not being
  respected when no separator was present. (gh issue #81 and #217, pr #229)

Version 2.5.1
-------------
- Updated zoneinfo to 2016b
- Changed MANIFEST.in to explicitly include test suite in source distributions,
  with help from @koobs (gh issue #193, pr #194, #201, #221)
- Explicitly set all line-endings to LF, except for the NEWS file, on a
  per-repository basis (gh pr #218)
- Fixed an issue with improper caching behavior in rruleset objects (gh issue
  #104, pr #207)
- Changed to an explicit error when rrulestr strings contain a missing BYDAY
  (gh issue #162, pr #211)
- tzfile now correctly handles files containing leapcnt (although the leapcnt
  information is not actually used). Contributed by @hjoukl (gh issue #146, pr
  #147)
- Fixed recursive import issue with tz module (gh pr #204)
- Added compatibility between tzwin objects and datetime.time objects (gh issue
  #216, gh pr #219)
- Refactored monolithic test suite by module (gh issue #61, pr #200 and #206)
- Improved test coverage in the relativedelta module (gh pr #215)
- Adjusted documentation to reflect possibly counter-intuitive properties of
  RFC-5545-compliant rrules, and other documentation improvements in the rrule
  module (gh issue #105, gh issue #149 - pointer to the solution by @phep,
  pr #213).

Version 2.5.0
-------------
- Updated zoneinfo to 2016a
- zoneinfo_metadata file version increased to 2.0 - the updated updatezinfo.py
  script will work with older zoneinfo_metadata.json files, but new metadata
  files will not work with older updatezinfo.py versions. Additionally, we have
  started hosting our own mirror of the Olson databases on a github pages
  site (https://dateutil.github.io/tzdata/) (gh pr #183)
- dateutil zoneinfo tarballs now contain the full zoneinfo_metadata file used
  to generate them. (gh issue #27, gh pr #85)
- relativedelta can now be safely subclassed without derived objects reverting
  to base relativedelta objects as a result of arithmetic operations.
  (lp:1010199, gh issue #44, pr #49)
- relativedelta 'weeks' parameter can now be set and retrieved as a property of
  relativedelta instances. (lp: 727525, gh issue #45, pr #49)
- relativedelta now explicitly supports fractional relative weeks, days, hours,
  minutes and seconds. Fractional values in absolute parameters (year, day, etc)
  are now deprecated. (gh issue #40, pr #190)
- relativedelta objects previously did not use microseconds to determine of two
  relativedelta objects were equal. This oversight has been corrected.
  Contributed by @elprans (gh pr #113)
- rrule now has an xafter() method for retrieving multiple recurrences after a
  specified date. (gh pr #38)
- str(rrule) now returns an RFC2445-compliant rrule string, contributed by
  @schinckel and @armicron (lp:1406305, gh issue #47, prs #50, #62 and #160)
- rrule performance under certain conditions has been significantly improved
  thanks to a patch contributed by @dekoza, based on an article by Brian Beck
  (@exogen) (gh pr #136)
- The use of both the 'until' and 'count' parameters is now deprecated as
  inconsistent with RFC2445 (gh pr #62, #185)
- Parsing an empty string will now raise a ValueError, rather than returning the
  datetime passed to the 'default' parameter. (gh issue #78, pr #187)
- tzwinlocal objects now have a meaningful repr() and str() implementation
  (gh issue #148, prs #184 and #186)
- Added equality logic for tzwin and tzwinlocal objects. (gh issue #151,
  pr #180, #184)
- Added some flexibility in subclassing timelex, and switched the default
  behavior over to using string methods rather than comparing against a fixed
  list. (gh pr #122, #139)
- An issue causing tzstr() to crash on Python 2.x was fixed. (lp: 1331576,
  gh issue #51, pr #55)
- An issue with string encoding causing exceptions under certain circumstances
  when tzname() is called was fixed. (gh issue #60, #74, pr #75)
- Parser issue where calling parse() on dates with no day specified when the
  day of the month in the default datetime (which is "today" if unspecified) is
  greater than the number of days in the parsed month was fixed (this issue
  tended to crop up between the 29th and 31st of the month, for obvious reasons)
  (canonical gh issue #25, pr #30, #191)
- Fixed parser issue causing fuzzy_with_tokens to raise an unexpected exception
  in certain circumstances. Contributed by @MichaelAquilina (gh pr #91)
- Fixed parser issue where years > 100 AD were incorrectly parsed. Contributed
  by @Bachmann1234 (gh pr #130)
- Fixed parser issue where commas were not a valid separator between seconds
  and microseconds, preventing parsing of ISO 8601 dates. Contributed by
  @ryanss (gh issue #28, pr #106)
- Fixed issue with tzwin encoding in locales with non-Latin alphabets
  (gh issue #92, pr #98)
- Fixed an issue where tzwin was not being properly imported on Windows.
  Contributed by @labrys. (gh pr #134)
- Fixed a problem causing issues importing zoneinfo in certain circumstances.
  Issue and solution contributed by @alexxv (gh issue #97, pr #99)
- Fixed an issue where dateutil timezones were not compatible with basic time
  objects. One of many, many timezone related issues contributed and tested by
  @labrys. (gh issue #132, pr #181)
- Fixed issue where tzwinlocal had an invalid utcoffset. (gh issue #135,
  pr #141, #142)
- Fixed issue with tzwin and tzwinlocal where DST transitions were incorrectly
  parsed from the registry. (gh issue #143, pr #178)
- updatezinfo.py no longer suppresses certain OSErrors. Contributed by @bjamesv
  (gh pr #164)
- An issue that arose when timezone locale changes during runtime has been
  fixed by @carlosxl and @mjschultz (gh issue #100, prs #107, #109)
- Python 3.5 was added to the supported platforms in the metadata (@tacaswell
  gh pr #159) and the test suites (@moreati gh pr #117).
- An issue with tox failing without unittest2 installed in Python 2.6 was fixed
  by @moreati (gh pr #115)
- Several deprecated functions were replaced in the tests by @moreati
  (gh pr #116)
- Improved the logic in Travis and Appveyor to alleviate issues where builds
  were failing due to connection issues when downloading the IANA timezone
  files. In addition to adding our own mirror for the files (gh pr #183), the
  download is now retried a number of times (with a delay) (gh pr #177)
- Many failing doctests were fixed by @moreati. (gh pr #120)
- Many fixes to the documentation (gh pr #103, gh pr #87 from @radarhere,
  gh pr #154 from @gpoesia, gh pr #156 from @awsum, gh pr #168 from @ja8zyjits)
- Added a code coverage tool to the CI to help improve the library. (gh pr #182)
- We now have a mailing list - dateutil@python.org, graciously hosted by
  Python.org.

Version 2.4.2
-------------
- Updated zoneinfo to 2015b.
- Fixed issue with parsing of tzstr on Python 2.7.x; tzstr will now be decoded
  if not a unicode type. gh #51 (lp:1331576), gh pr #55.
- Fix a parser issue where AM and PM tokens were showing up in fuzzy date
  stamps, triggering inappropriate errors. gh #56 (lp: 1428895), gh pr #63.
- Missing function "setcachesize" removed from zoneinfo __all__ list by @ryanss,
  fixing an issue with wildcard imports of dateutil.zoneinfo. (gh pr #66).
- (PyPi only) Fix an issue with source distributions not including the test
  suite.

Version 2.4.1
-------------

- Added explicit check for valid hours if AM/PM is specified in parser.
  (gh pr #22, issue #21)
- Fix bug in rrule introduced in 2.4.0 where byweekday parameter was not
  handled properly. (gh pr #35, issue #34)
- Fix error where parser allowed some invalid dates, overwriting existing hours
  with the last 2-digit number in the string. (gh pr #32, issue #31)
- Fix and add test for Python 2.x compatibility with boolean checking of
  relativedelta objects. Implemented by @nimasmi (gh pr #43) and C辿dric Krier
  (lp: 1035038)
- Replaced parse() calls with explicit datetime objects in unit tests unrelated
  to parser. (gh pr #36)
- Changed private _byxxx from sets to sorted tuples and fixed one currently
  unreachable bug in _construct_byset. (gh pr #54)
- Additional documentation for parser (gh pr #29, #33, #41) and rrule.
- Formatting fixes to documentation of rrule and README.rst.
- Updated zoneinfo to 2015a.


(richard)
diff -r1.15 -r1.16 pkgsrc/time/py-dateutil/Makefile
diff -r1.6 -r1.7 pkgsrc/time/py-dateutil/PLIST
diff -r1.7 -r1.8 pkgsrc/time/py-dateutil/distinfo

cvs diff -r1.15 -r1.16 pkgsrc/time/py-dateutil/Makefile (expand / switch to unified diff)

--- pkgsrc/time/py-dateutil/Makefile 2016/06/08 17:43:42 1.15
+++ pkgsrc/time/py-dateutil/Makefile 2016/08/17 15:39:02 1.16
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.15 2016/06/08 17:43:42 wiz Exp $ 1# $NetBSD: Makefile,v 1.16 2016/08/17 15:39:02 richard Exp $
2 2
3DISTNAME= python-dateutil-2.4.0 3DISTNAME= python-dateutil-2.5.3
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
5CATEGORIES= time python 5CATEGORIES= time python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dateutil/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dateutil/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://dateutil.readhedocs.org/ 9HOMEPAGE= https://dateutil.readhedocs.org/
10COMMENT= Extensions to the standard datetime module 10COMMENT= Extensions to the standard datetime module
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six 13DEPENDS+= ${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"

cvs diff -r1.6 -r1.7 pkgsrc/time/py-dateutil/PLIST (expand / switch to unified diff)

--- pkgsrc/time/py-dateutil/PLIST 2014/12/13 09:28:01 1.6
+++ pkgsrc/time/py-dateutil/PLIST 2016/08/17 15:39:02 1.7
@@ -1,32 +1,44 @@ @@ -1,32 +1,44 @@
1@comment $NetBSD: PLIST,v 1.6 2014/12/13 09:28:01 obache Exp $ 1@comment $NetBSD: PLIST,v 1.7 2016/08/17 15:39:02 richard Exp $
2${PYSITELIB}/dateutil/__init__.py 2${PYSITELIB}/dateutil/__init__.py
3${PYSITELIB}/dateutil/__init__.pyc 3${PYSITELIB}/dateutil/__init__.pyc
4${PYSITELIB}/dateutil/__init__.pyo 4${PYSITELIB}/dateutil/__init__.pyo
5${PYSITELIB}/dateutil/easter.py 5${PYSITELIB}/dateutil/easter.py
6${PYSITELIB}/dateutil/easter.pyc 6${PYSITELIB}/dateutil/easter.pyc
7${PYSITELIB}/dateutil/easter.pyo 7${PYSITELIB}/dateutil/easter.pyo
8${PYSITELIB}/dateutil/parser.py 8${PYSITELIB}/dateutil/parser.py
9${PYSITELIB}/dateutil/parser.pyc 9${PYSITELIB}/dateutil/parser.pyc
10${PYSITELIB}/dateutil/parser.pyo 10${PYSITELIB}/dateutil/parser.pyo
11${PYSITELIB}/dateutil/relativedelta.py 11${PYSITELIB}/dateutil/relativedelta.py
12${PYSITELIB}/dateutil/relativedelta.pyc 12${PYSITELIB}/dateutil/relativedelta.pyc
13${PYSITELIB}/dateutil/relativedelta.pyo 13${PYSITELIB}/dateutil/relativedelta.pyo
14${PYSITELIB}/dateutil/rrule.py 14${PYSITELIB}/dateutil/rrule.py
15${PYSITELIB}/dateutil/rrule.pyc 15${PYSITELIB}/dateutil/rrule.pyc
16${PYSITELIB}/dateutil/rrule.pyo 16${PYSITELIB}/dateutil/rrule.pyo
17${PYSITELIB}/dateutil/tz.py 17${PYSITELIB}/dateutil/tz/__init__.py
18${PYSITELIB}/dateutil/tz.pyc 18${PYSITELIB}/dateutil/tz/__init__.pyc
19${PYSITELIB}/dateutil/tz.pyo 19${PYSITELIB}/dateutil/tz/__init__.pyo
 20${PYSITELIB}/dateutil/tz/_common.py
 21${PYSITELIB}/dateutil/tz/_common.pyc
 22${PYSITELIB}/dateutil/tz/_common.pyo
 23${PYSITELIB}/dateutil/tz/tz.py
 24${PYSITELIB}/dateutil/tz/tz.pyc
 25${PYSITELIB}/dateutil/tz/tz.pyo
 26${PYSITELIB}/dateutil/tz/win.py
 27${PYSITELIB}/dateutil/tz/win.pyc
 28${PYSITELIB}/dateutil/tz/win.pyo
20${PYSITELIB}/dateutil/tzwin.py 29${PYSITELIB}/dateutil/tzwin.py
21${PYSITELIB}/dateutil/tzwin.pyc 30${PYSITELIB}/dateutil/tzwin.pyc
22${PYSITELIB}/dateutil/tzwin.pyo 31${PYSITELIB}/dateutil/tzwin.pyo
23${PYSITELIB}/dateutil/zoneinfo/__init__.py 32${PYSITELIB}/dateutil/zoneinfo/__init__.py
24${PYSITELIB}/dateutil/zoneinfo/__init__.pyc 33${PYSITELIB}/dateutil/zoneinfo/__init__.pyc
25${PYSITELIB}/dateutil/zoneinfo/__init__.pyo 34${PYSITELIB}/dateutil/zoneinfo/__init__.pyo
26${PYSITELIB}/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz 35${PYSITELIB}/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz
27${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 36${PYSITELIB}/dateutil/zoneinfo/rebuild.py
28${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 37${PYSITELIB}/dateutil/zoneinfo/rebuild.pyc
 38${PYSITELIB}/dateutil/zoneinfo/rebuild.pyo
29${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 39${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 40${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
30${PYSITELIB}/${EGG_INFODIR}/requires.txt 41${PYSITELIB}/${EGG_INFODIR}/requires.txt
 42${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
31${PYSITELIB}/${EGG_INFODIR}/top_level.txt 43${PYSITELIB}/${EGG_INFODIR}/top_level.txt
32${PYSITELIB}/${EGG_INFODIR}/zip-safe 44${PYSITELIB}/${EGG_INFODIR}/zip-safe

cvs diff -r1.7 -r1.8 pkgsrc/time/py-dateutil/distinfo (expand / switch to unified diff)

--- pkgsrc/time/py-dateutil/distinfo 2015/11/02 23:31:43 1.7
+++ pkgsrc/time/py-dateutil/distinfo 2016/08/17 15:39:02 1.8
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.7 2015/11/02 23:31:43 agc Exp $ 1$NetBSD: distinfo,v 1.8 2016/08/17 15:39:02 richard Exp $
2 2
3SHA1 (python-dateutil-2.4.0.tar.gz) = 159081a4c5b3602ab440a7db305f987c00ee8c6d 3SHA1 (python-dateutil-2.5.3.tar.gz) = a53ebfeecc784ea5781ba504ddf7f4ad13738213
4RMD160 (python-dateutil-2.4.0.tar.gz) = c58df47ca321fcd867f94f48db3777f8e01e47cd 4RMD160 (python-dateutil-2.5.3.tar.gz) = bc4601d93270402673aa4c2e5c7719924bbcb322
5SHA512 (python-dateutil-2.4.0.tar.gz) = 2e62e6fe430838bbb86e94dd3b224e5a0676f06a1c0fecf11ae6954f98916b4b91555bdeabfb6c458516fcee2462a731ebcb8c551fd7ceb808f9f55d5bdb7408 5SHA512 (python-dateutil-2.5.3.tar.gz) = 413b935321f0a65fd8e8ba49990acd5bed60b9bcd614837a26c1cf52ecbf268543a97791dfa7b91ebf183866a8de7be302ca7d18d10352e897994f60bce5df62
6Size (python-dateutil-2.4.0.tar.gz) = 195214 bytes 6Size (python-dateutil-2.5.3.tar.gz) = 236877 bytes