summaryrefslogtreecommitdiff
path: root/time/py-dateutil
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-12-13 09:28:01 +0000
committerobache <obache@pkgsrc.org>2014-12-13 09:28:01 +0000
commit5f46d3ab8e90c99c9979919aea9e6031fb28ef2a (patch)
tree9f36d36a9466426192250e0de0194bb134c09b1a /time/py-dateutil
parent7312e8c1884678eb0c460abd12a483d53cb14feb (diff)
downloadpkgsrc-5f46d3ab8e90c99c9979919aea9e6031fb28ef2a.tar.gz
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 (limited to 'time/py-dateutil')
-rw-r--r--time/py-dateutil/DESCR11
-rw-r--r--time/py-dateutil/Makefile14
-rw-r--r--time/py-dateutil/PLIST7
-rw-r--r--time/py-dateutil/distinfo8
4 files changed, 21 insertions, 19 deletions
diff --git a/time/py-dateutil/DESCR b/time/py-dateutil/DESCR
index 3f26907cfdb..685a53ad147 100644
--- a/time/py-dateutil/DESCR
+++ b/time/py-dateutil/DESCR
@@ -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 @@ Features
* 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 --git a/time/py-dateutil/Makefile b/time/py-dateutil/Makefile
index 32bc29ec1cb..65442b9fb6c 100644
--- a/time/py-dateutil/Makefile
+++ b/time/py-dateutil/Makefile
@@ -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
-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 --git a/time/py-dateutil/PLIST b/time/py-dateutil/PLIST
index 562e817312d..5e105a3897b 100644
--- a/time/py-dateutil/PLIST
+++ b/time/py-dateutil/PLIST
@@ -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/tzwin.pyo
${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 --git a/time/py-dateutil/distinfo b/time/py-dateutil/distinfo
index 992ed70121c..f4055c90385 100644
--- a/time/py-dateutil/distinfo
+++ b/time/py-dateutil/distinfo
@@ -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