Update py-dateutil to 2.3. Version 2.3 ----------- - Cleanup directory structure, moved test.py to dateutil/tests/test.py - Changed many aspects of dealing with the zone info file. Instead of a cache, all the zones are loaded to memory, but symbolic links are loaded only once, so not much memory is used. - The package is now zip-safe, and universal-wheelable, thanks to changes in the handling of the zoneinfo file. - Fixed tzwin silently not imported on windows python2 - New maintainer, together with new hosting: GitHub, Travis, Read-The-Docs Version 2.2 ----------- - Updated zoneinfo to 2013h - fuzzy_with_tokens parse addon from Christopher Corley - Bug with LANG=C fixed by Mike Gilbert Version 2.1 ----------- - New maintainer - Dateutil now works on Python 2.6, 2.7 and 3.2 from same codebase (with six) - #704047: Ismael Carnales' patch for a new time format - Small bug fixes, thanks for reporters! Version 2.0 ----------- - Ported to Python 3, by Brian Jones. If you need dateutil for Python 2.X, please continue using the 1.X series. - There's no such thing as a "PSF License". This source code is now made available under the Simplified BSD license. See LICENSE for details.diff -r1.2 -r1.3 pkgsrc/time/py-dateutil/DESCR
(obache)
@@ -1,21 +1,20 @@ | @@ -1,21 +1,20 @@ | |||
1 | The dateutil module provides powerful extensions to the standard datetime | 1 | The `dateutil` module provides powerful extensions to the standard `datetime` | |
2 | module, available in Python 2.3+. | 2 | module, available in Python. | |
3 | 3 | |||
4 | Features | 4 | Features | |
5 | 5 | |||
6 | * Computing of relative deltas (next month, next year, next monday, last week | 6 | * Computing of relative deltas (next month, next year, next monday, last week | |
7 | of month, etc); | 7 | of month, etc); | |
8 | * Computing of relative deltas between two given date and/or datetime objects; | 8 | * Computing of relative deltas between two given date and/or datetime objects; | |
9 | * Computing of dates based on very flexible recurrence rules, using a superset | 9 | * Computing of dates based on very flexible recurrence rules, using a superset | |
10 | of the iCalendar specification. Parsing of RFC strings is supported as well. | 10 | of the iCalendar specification. Parsing of RFC strings is supported as well. | |
11 | * Generic parsing of dates in almost any string format; | 11 | * Generic parsing of dates in almost any string format; | |
12 | * Timezone (tzinfo) implementations for tzfile(5) format files | 12 | * Timezone (tzinfo) implementations for tzfile(5) format files | |
13 | (/etc/localtime, /usr/share/zoneinfo, etc), TZ environment string (in all | 13 | (/etc/localtime, /usr/share/zoneinfo, etc), TZ environment string (in all | |
14 | known formats), iCalendar format files, given ranges (with help from | 14 | known formats), iCalendar format files, given ranges (with help from | |
15 | relative deltas), local machine timezone, fixed offset timezone, and UTC | 15 | relative deltas), local machine timezone, fixed offset timezone, UTC | |
16 | timezone. | 16 | timezone, and Windows registry-based time zones. | |
17 | * Internal up-to-date world timezone information based on Olson's database. | |||
17 | * Computing of Easter Sunday dates for any given year, using Western, Orthodox | 18 | * Computing of Easter Sunday dates for any given year, using Western, Orthodox | |
18 | or Julian algorithms; | 19 | or Julian algorithms; | |
19 | * More than 400 test cases. | 20 | * More than 400 test cases. | |
20 | ||||
21 | This package contains the Python-2.x version of the module. |
@@ -1,16 +1,18 @@ | @@ -1,16 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.11 2014/05/09 07:37:23 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.12 2014/12/13 09:28:01 obache Exp $ | |
2 | 2 | |||
3 | DISTNAME= python-dateutil-1.5 | 3 | DISTNAME= python-dateutil-2.3 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//} | |
5 | CATEGORIES= time python | 5 | CATEGORIES= time python | |
6 | MASTER_SITES= http://labix.org/download/python-dateutil/ | 6 | MASTER_SITES= https://pypi.python.org/packages/source/p/python-dateutil/ | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://labix.org/python-dateutil | 9 | HOMEPAGE= https://dateutil.readhedocs.org/ | |
10 | COMMENT= Extensions to the standard datetime module (Python-2.x version) | 10 | COMMENT= Extensions to the standard datetime module | |
11 | LICENSE= modified-bsd | |||
12 | ||||
13 | DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six | |||
11 | 14 | |||
12 | EGG_NAME= ${DISTNAME:S/-/_/} | 15 | EGG_NAME= ${DISTNAME:S/-/_/} | |
13 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 | |||
14 | 16 | |||
15 | .include "../../lang/python/egg.mk" | 17 | .include "../../lang/python/egg.mk" | |
16 | .include "../../mk/bsd.pkg.mk" | 18 | .include "../../mk/bsd.pkg.mk" |
@@ -1,31 +1,32 @@ | @@ -1,31 +1,32 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.5 2010/05/02 13:30:46 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.6 2014/12/13 09:28:01 obache 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.py | |
18 | ${PYSITELIB}/dateutil/tz.pyc | 18 | ${PYSITELIB}/dateutil/tz.pyc | |
19 | ${PYSITELIB}/dateutil/tz.pyo | 19 | ${PYSITELIB}/dateutil/tz.pyo | |
20 | ${PYSITELIB}/dateutil/tzwin.py | 20 | ${PYSITELIB}/dateutil/tzwin.py | |
21 | ${PYSITELIB}/dateutil/tzwin.pyc | 21 | ${PYSITELIB}/dateutil/tzwin.pyc | |
22 | ${PYSITELIB}/dateutil/tzwin.pyo | 22 | ${PYSITELIB}/dateutil/tzwin.pyo | |
23 | ${PYSITELIB}/dateutil/zoneinfo/__init__.py | 23 | ${PYSITELIB}/dateutil/zoneinfo/__init__.py | |
24 | ${PYSITELIB}/dateutil/zoneinfo/__init__.pyc | 24 | ${PYSITELIB}/dateutil/zoneinfo/__init__.pyc | |
25 | ${PYSITELIB}/dateutil/zoneinfo/__init__.pyo | 25 | ${PYSITELIB}/dateutil/zoneinfo/__init__.pyo | |
26 | ${PYSITELIB}/dateutil/zoneinfo/zoneinfo-2010g.tar.gz | 26 | ${PYSITELIB}/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz | |
27 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 27 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
28 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 28 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
29 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 29 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
30 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | 30 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
31 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 31 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
32 | ${PYSITELIB}/${EGG_INFODIR}/zip-safe |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2010/05/02 13:30:46 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.5 2014/12/13 09:28:01 obache Exp $ | |
2 | 2 | |||
3 | SHA1 (python-dateutil-1.5.tar.gz) = f489e1a70e415731d401422f711670288571040b | 3 | SHA1 (python-dateutil-2.3.tar.gz) = edec250fbb256df1f57784f48ca9252485f2013e | |
4 | RMD160 (python-dateutil-1.5.tar.gz) = 5f7c80ec9bf68f1708213596a994130964e91e52 | 4 | RMD160 (python-dateutil-2.3.tar.gz) = feeaed95e4501d0cf8153796a18c8ea0bfc798c1 | |
5 | Size (python-dateutil-1.5.tar.gz) = 232384 bytes | 5 | Size (python-dateutil-2.3.tar.gz) = 191907 bytes |