pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/py-dateutil Initial import of py-dateutil-1.2, fr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/137bb555801a
branches:  trunk
changeset: 530620:137bb555801a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jul 02 18:05:24 2007 +0000

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

 time/py-dateutil/DESCR    |  19 +++++++++++++++++++
 time/py-dateutil/Makefile |  20 ++++++++++++++++++++
 time/py-dateutil/PLIST    |  28 ++++++++++++++++++++++++++++
 time/py-dateutil/distinfo |   5 +++++
 4 files changed, 72 insertions(+), 0 deletions(-)

diffs (88 lines):

diff -r 6c8a064ba806 -r 137bb555801a time/py-dateutil/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/py-dateutil/DESCR    Mon Jul 02 18:05:24 2007 +0000
@@ -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 -r 6c8a064ba806 -r 137bb555801a time/py-dateutil/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/py-dateutil/Makefile Mon Jul 02 18:05:24 2007 +0000
@@ -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@localhost
+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 -r 6c8a064ba806 -r 137bb555801a time/py-dateutil/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/py-dateutil/PLIST    Mon Jul 02 18:05:24 2007 +0000
@@ -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 -r 6c8a064ba806 -r 137bb555801a time/py-dateutil/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/py-dateutil/distinfo Mon Jul 02 18:05:24 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index