summaryrefslogtreecommitdiff
path: root/time/py-dateutil
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-07-02 18:05:24 +0000
committerwiz <wiz@pkgsrc.org>2007-07-02 18:05:24 +0000
commit4de44f40845eed33fa95ac9d1071230d411d26a4 (patch)
tree20efa380d1744a3cc9f3dc920f75c136ef84eb2b /time/py-dateutil
parent0f62415a84bd636b663346b99dcb2533a0cb2e70 (diff)
downloadpkgsrc-4de44f40845eed33fa95ac9d1071230d411d26a4.tar.gz
Initial import of py-dateutil-1.2, from pkgsrc-wip, initially packaged
by recht@ and updated by me. The dateutil module provides powerful extensions to the standard datetime module, available in Python 2.3+. 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.
Diffstat (limited to 'time/py-dateutil')
-rw-r--r--time/py-dateutil/DESCR19
-rw-r--r--time/py-dateutil/Makefile20
-rw-r--r--time/py-dateutil/PLIST28
-rw-r--r--time/py-dateutil/distinfo5
4 files changed, 72 insertions, 0 deletions
diff --git a/time/py-dateutil/DESCR b/time/py-dateutil/DESCR
new file mode 100644
index 00000000000..4d35d7b8dfc
--- /dev/null
+++ b/time/py-dateutil/DESCR
@@ -0,0 +1,19 @@
+The dateutil module provides powerful extensions to the standard datetime
+module, available in Python 2.3+.
+
+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.
diff --git a/time/py-dateutil/Makefile b/time/py-dateutil/Makefile
new file mode 100644
index 00000000000..6120d75ee0b
--- /dev/null
+++ b/time/py-dateutil/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/07/02 18:05:24 wiz Exp $
+#
+
+DISTNAME= python-dateutil-1.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
+CATEGORIES= time python
+MASTER_SITES= http://labix.org/download/python-dateutil/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= recht@NetBSD.org
+HOMEPAGE= http://labix.org/python-dateutil
+COMMENT= Extensions to the standard datetime module
+
+PYDISTUTILSPKG= yes
+PY_PATCHPLIST= yes
+
+PYTHON_VERSIONS_ACCEPTED= 24 23
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/py-dateutil/PLIST b/time/py-dateutil/PLIST
new file mode 100644
index 00000000000..8f48e48c694
--- /dev/null
+++ b/time/py-dateutil/PLIST
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/07/02 18:05:24 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-2007f.tar.gz
+@dirrm ${PYSITELIB}/dateutil/zoneinfo
+@dirrm ${PYSITELIB}/dateutil
diff --git a/time/py-dateutil/distinfo b/time/py-dateutil/distinfo
new file mode 100644
index 00000000000..f54095d7cb5
--- /dev/null
+++ b/time/py-dateutil/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/07/02 18:05:24 wiz Exp $
+
+SHA1 (python-dateutil-1.2.tar.bz2) = 9884849261bc9dd64f7dd05a39e62385a30b5819
+RMD160 (python-dateutil-1.2.tar.bz2) = 31e62aceb2ce980b5cfb64841f7d125f817f618b
+Size (python-dateutil-1.2.tar.bz2) = 135624 bytes