summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-01-16 10:26:00 +0000
committerwiz <wiz@pkgsrc.org>2014-01-16 10:26:00 +0000
commit9f4355fd14d04d5e717e819f335ef9ef5d71168a (patch)
tree9a6eafb35973362004e219fb0f6a783c69f0523e /time
parenta900dae770ebd190a4055662a8f4d999b8cf7a6e (diff)
downloadpkgsrc-9f4355fd14d04d5e717e819f335ef9ef5d71168a.tar.gz
Import py33-dateutil-2.0 as time/py-dateutil2.
The dateutil module provides powerful extensions to the standard datetime module. Features * Computing of relative deltas (next month, next year, next monday, last week of month, etc); * Computing of relative deltas between two given date and/or datetime objects; * Computing of dates based on very flexible recurrence rules, using a superset of the iCalendar specification. Parsing of RFC strings is supported as well. * Generic parsing of dates in almost any string format; * 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. * 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-3.x version of the module. Changes compared to py-dateutil-1.5: 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')
-rw-r--r--time/py-dateutil2/DESCR21
-rw-r--r--time/py-dateutil2/Makefile19
-rw-r--r--time/py-dateutil2/PLIST31
-rw-r--r--time/py-dateutil2/distinfo5
4 files changed, 76 insertions, 0 deletions
diff --git a/time/py-dateutil2/DESCR b/time/py-dateutil2/DESCR
new file mode 100644
index 00000000000..d58eaef6436
--- /dev/null
+++ b/time/py-dateutil2/DESCR
@@ -0,0 +1,21 @@
+The dateutil module provides powerful extensions to the standard datetime
+module.
+
+Features
+
+* Computing of relative deltas (next month, next year, next monday, last week
+ of month, etc);
+* Computing of relative deltas between two given date and/or datetime objects;
+* Computing of dates based on very flexible recurrence rules, using a superset
+ of the iCalendar specification. Parsing of RFC strings is supported as well.
+* Generic parsing of dates in almost any string format;
+* 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.
+* 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-3.x version of the module.
diff --git a/time/py-dateutil2/Makefile b/time/py-dateutil2/Makefile
new file mode 100644
index 00000000000..8757bf600ae
--- /dev/null
+++ b/time/py-dateutil2/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2014/01/16 10:26:00 wiz Exp $
+
+DISTNAME= python-dateutil-2.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
+CATEGORIES= time python
+MASTER_SITES= http://labix.org/download/python-dateutil/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://labix.org/python-dateutil
+COMMENT= Extensions to the standard datetime module (Python-3.x version)
+LICENSE= modified-bsd
+
+EGG_NAME= ${DISTNAME:S/-/_/}
+
+PYTHON_VERSIONS_INCLUDE_3X= yes
+PYTHON_VERSIONS_INCOMPATIBLE= 26 27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/py-dateutil2/PLIST b/time/py-dateutil2/PLIST
new file mode 100644
index 00000000000..a9b34241e0a
--- /dev/null
+++ b/time/py-dateutil2/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1 2014/01/16 10:26:00 wiz Exp $
+${PYSITELIB}/dateutil/__init__.py
+${PYSITELIB}/dateutil/__init__.pyc
+${PYSITELIB}/dateutil/__init__.pyo
+${PYSITELIB}/dateutil/easter.py
+${PYSITELIB}/dateutil/easter.pyc
+${PYSITELIB}/dateutil/easter.pyo
+${PYSITELIB}/dateutil/parser.py
+${PYSITELIB}/dateutil/parser.pyc
+${PYSITELIB}/dateutil/parser.pyo
+${PYSITELIB}/dateutil/relativedelta.py
+${PYSITELIB}/dateutil/relativedelta.pyc
+${PYSITELIB}/dateutil/relativedelta.pyo
+${PYSITELIB}/dateutil/rrule.py
+${PYSITELIB}/dateutil/rrule.pyc
+${PYSITELIB}/dateutil/rrule.pyo
+${PYSITELIB}/dateutil/tz.py
+${PYSITELIB}/dateutil/tz.pyc
+${PYSITELIB}/dateutil/tz.pyo
+${PYSITELIB}/dateutil/tzwin.py
+${PYSITELIB}/dateutil/tzwin.pyc
+${PYSITELIB}/dateutil/tzwin.pyo
+${PYSITELIB}/dateutil/zoneinfo/__init__.py
+${PYSITELIB}/dateutil/zoneinfo/__init__.pyc
+${PYSITELIB}/dateutil/zoneinfo/__init__.pyo
+${PYSITELIB}/dateutil/zoneinfo/zoneinfo-2011d.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}/top_level.txt
diff --git a/time/py-dateutil2/distinfo b/time/py-dateutil2/distinfo
new file mode 100644
index 00000000000..137633b481e
--- /dev/null
+++ b/time/py-dateutil2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/01/16 10:26:00 wiz Exp $
+
+SHA1 (python-dateutil-2.0.tar.gz) = 946337a273866cc4f51d32c86cdbc4209ab84a43
+RMD160 (python-dateutil-2.0.tar.gz) = a7ae3c4948c69471c95466236a388d63fcdac120
+Size (python-dateutil-2.0.tar.gz) = 255439 bytes