pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time/py-icalendar Update to 2.0.1, prodded by Daniel A...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fea05605148a
branches: trunk
changeset: 393434:fea05605148a
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed May 20 13:38:47 2009 +0000
description:
Update to 2.0.1, prodded by Daniel A Graham, and include a portability
patch for Python 2.6 by him.
iCalendar 2.0.1 (2008-07-11)
============================
API Changes:
* EXDATE and RDATE now returns a vDDDLists object, which contains a list
of vDDDTypes objects. This is do that EXDATE and RDATE can contain
lists of dates, as per RFC.
***Note!***: This change is incompatible with earlier behavior, so if you
handle EXDATE and RDATE you will need to update your code.
* When createing a vDuration of -5 hours (which in itself is nonsensical),
the ical output of that was -P1DT19H, which is correct, but ugly. Now
it's '-PT5H', which is prettier.
* Made the tests run under Python 2.5+
* Renamed the UTC class to Utc, so it would not clash with the UTC object,
since that rendered the UTC object unpicklable.
diffstat:
time/py-icalendar/Makefile | 11 +++++------
time/py-icalendar/PLIST | 4 +++-
time/py-icalendar/distinfo | 9 +++++----
time/py-icalendar/patches/patch-aa | 13 +++++++++++++
4 files changed, 26 insertions(+), 11 deletions(-)
diffs (77 lines):
diff -r eb0074c3303f -r fea05605148a time/py-icalendar/Makefile
--- a/time/py-icalendar/Makefile Wed May 20 13:21:26 2009 +0000
+++ b/time/py-icalendar/Makefile Wed May 20 13:38:47 2009 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/05/19 09:19:45 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2009/05/20 13:38:47 wiz Exp $
#
-DISTNAME= iCalendar-1.2
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Calendar/calendar/}
+DISTNAME= icalendar-2.0.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= time python
-MASTER_SITES= http://codespeak.net/icalendar/
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://pypi.python.org/packages/source/i/icalendar/
MAINTAINER= mj%turner.org.za@localhost
HOMEPAGE= http://codespeak.net/icalendar/
@@ -17,7 +16,7 @@
PY_PATCHPLIST= yes
EGG_NAME= ${DISTNAME:S/C/c/}
-DOCDIR= ${PREFIX}/share/doc/${PKGNAME}
+DOCDIR= ${PREFIX}/share/doc/${PKGNAME}
INSTALLATION_DIRS= ${DOCDIR}
diff -r eb0074c3303f -r fea05605148a time/py-icalendar/PLIST
--- a/time/py-icalendar/PLIST Wed May 20 13:21:26 2009 +0000
+++ b/time/py-icalendar/PLIST Wed May 20 13:38:47 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2009/05/19 09:19:45 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2009/05/20 13:38:47 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -32,6 +32,8 @@
share/doc/${PKGNAME}/groupscheduled.txt
share/doc/${PKGNAME}/multiple.ics
share/doc/${PKGNAME}/multiple.txt
+share/doc/${PKGNAME}/recurrence.ics
+share/doc/${PKGNAME}/recurrence.txt
share/doc/${PKGNAME}/small.ics
share/doc/${PKGNAME}/small.txt
@dirrm share/doc/${PKGNAME}
diff -r eb0074c3303f -r fea05605148a time/py-icalendar/distinfo
--- a/time/py-icalendar/distinfo Wed May 20 13:21:26 2009 +0000
+++ b/time/py-icalendar/distinfo Wed May 20 13:38:47 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/05/19 09:19:45 wiz Exp $
+$NetBSD: distinfo,v 1.2 2009/05/20 13:38:47 wiz Exp $
-SHA1 (iCalendar-1.2.tgz) = 76caea7deb43cd299fb20bc940f305d43747fde9
-RMD160 (iCalendar-1.2.tgz) = 6809c1c2bc4688032c0145919e4ed569b0de6a04
-Size (iCalendar-1.2.tgz) = 71947 bytes
+SHA1 (icalendar-2.0.1.tar.gz) = aae1f3e67eceba9d06461f5eccdb7560194dc58f
+RMD160 (icalendar-2.0.1.tar.gz) = e377c8591c0a014c0d84e5a8ebd072dd49839bf9
+Size (icalendar-2.0.1.tar.gz) = 73338 bytes
+SHA1 (patch-aa) = 7a322a70f5ec1915eb72d89421135f7b96dd1785
diff -r eb0074c3303f -r fea05605148a time/py-icalendar/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/py-icalendar/patches/patch-aa Wed May 20 13:38:47 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2009/05/20 13:38:47 wiz Exp $
+
+--- src/icalendar/prop.py.orig 2008-07-11 19:56:43.000000000 +0000
++++ src/icalendar/prop.py
+@@ -1059,7 +1059,7 @@ class vText(unicode):
+ encoding = 'utf-8'
+
+ def __init__(self, *args, **kwargs):
+- unicode.__init__(self, *args, **kwargs)
++ unicode.__init__(self)
+ self.params = Parameters()
+
+ def escape(self):
Home |
Main Index |
Thread Index |
Old Index