pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/py-dateutil Update py-dateutil to 2.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/28ff232b8b25
branches:  trunk
changeset: 643275:28ff232b8b25
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Dec 13 09:28:01 2014 +0000

description:
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.

diffstat:

 time/py-dateutil/DESCR    |  11 +++++------
 time/py-dateutil/Makefile |  14 ++++++++------
 time/py-dateutil/PLIST    |   7 ++++---
 time/py-dateutil/distinfo |   8 ++++----
 4 files changed, 21 insertions(+), 19 deletions(-)

diffs (88 lines):

diff -r b2b501310b2c -r 28ff232b8b25 time/py-dateutil/DESCR
--- a/time/py-dateutil/DESCR    Sat Dec 13 09:20:12 2014 +0000
+++ b/time/py-dateutil/DESCR    Sat Dec 13 09:28:01 2014 +0000
@@ -1,5 +1,5 @@
-The dateutil module provides powerful extensions to the standard datetime
-module, available in Python 2.3+.
+The `dateutil` module provides powerful extensions to the standard `datetime`
+module, available in Python.
 
 Features
 
@@ -12,10 +12,9 @@
 * Timezone (tzinfo) implementations for tzfile(5) format files
   (/etc/localtime, /usr/share/zoneinfo, etc), TZ environment string (in all
   known formats), iCalendar format files, given ranges (with help from
-  relative deltas), local machine timezone, fixed offset timezone, and UTC
-  timezone.
+  relative deltas), local machine timezone, fixed offset timezone, UTC
+  timezone, and Windows registry-based time zones.
+* Internal up-to-date world timezone information based on Olson's database.
 * Computing of Easter Sunday dates for any given year, using Western, Orthodox
   or Julian algorithms;
 * More than 400 test cases.
-
-This package contains the Python-2.x version of the module.
diff -r b2b501310b2c -r 28ff232b8b25 time/py-dateutil/Makefile
--- a/time/py-dateutil/Makefile Sat Dec 13 09:20:12 2014 +0000
+++ b/time/py-dateutil/Makefile Sat Dec 13 09:28:01 2014 +0000
@@ -1,16 +1,18 @@
-# $NetBSD: Makefile,v 1.11 2014/05/09 07:37:23 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2014/12/13 09:28:01 obache Exp $
 
-DISTNAME=      python-dateutil-1.5
+DISTNAME=      python-dateutil-2.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-//}
 CATEGORIES=    time python
-MASTER_SITES=  http://labix.org/download/python-dateutil/
+MASTER_SITES=  https://pypi.python.org/packages/source/p/python-dateutil/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://labix.org/python-dateutil
-COMMENT=       Extensions to the standard datetime module (Python-2.x version)
+HOMEPAGE=      https://dateutil.readhedocs.org/
+COMMENT=       Extensions to the standard datetime module
+LICENSE=       modified-bsd
+
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 
 EGG_NAME=      ${DISTNAME:S/-/_/}
-PYTHON_VERSIONS_INCOMPATIBLE=  33 34
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r b2b501310b2c -r 28ff232b8b25 time/py-dateutil/PLIST
--- a/time/py-dateutil/PLIST    Sat Dec 13 09:20:12 2014 +0000
+++ b/time/py-dateutil/PLIST    Sat Dec 13 09:28:01 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2010/05/02 13:30:46 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2014/12/13 09:28:01 obache Exp $
 ${PYSITELIB}/dateutil/__init__.py
 ${PYSITELIB}/dateutil/__init__.pyc
 ${PYSITELIB}/dateutil/__init__.pyo
@@ -23,9 +23,10 @@
 ${PYSITELIB}/dateutil/zoneinfo/__init__.py
 ${PYSITELIB}/dateutil/zoneinfo/__init__.pyc
 ${PYSITELIB}/dateutil/zoneinfo/__init__.pyo
-${PYSITELIB}/dateutil/zoneinfo/zoneinfo-2010g.tar.gz
+${PYSITELIB}/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
diff -r b2b501310b2c -r 28ff232b8b25 time/py-dateutil/distinfo
--- a/time/py-dateutil/distinfo Sat Dec 13 09:20:12 2014 +0000
+++ b/time/py-dateutil/distinfo Sat Dec 13 09:28:01 2014 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2010/05/02 13:30:46 wiz Exp $
+$NetBSD: distinfo,v 1.5 2014/12/13 09:28:01 obache Exp $
 
-SHA1 (python-dateutil-1.5.tar.gz) = f489e1a70e415731d401422f711670288571040b
-RMD160 (python-dateutil-1.5.tar.gz) = 5f7c80ec9bf68f1708213596a994130964e91e52
-Size (python-dateutil-1.5.tar.gz) = 232384 bytes
+SHA1 (python-dateutil-2.3.tar.gz) = edec250fbb256df1f57784f48ca9252485f2013e
+RMD160 (python-dateutil-2.3.tar.gz) = feeaed95e4501d0cf8153796a18c8ea0bfc798c1
+Size (python-dateutil-2.3.tar.gz) = 191907 bytes



Home | Main Index | Thread Index | Old Index