diff options
author | wiz <wiz@pkgsrc.org> | 2009-05-20 13:38:47 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-05-20 13:38:47 +0000 |
commit | 027539c2086c8d179c4553fc7895064c3705d1b1 (patch) | |
tree | 711b0f5d210937e0f65fa2fbbe62e71f5cd4b33c /time | |
parent | a212cfd67ba20e2bf5db65b2c306414fcae3191d (diff) | |
download | pkgsrc-027539c2086c8d179c4553fc7895064c3705d1b1.tar.gz |
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 (limited to 'time')
-rw-r--r-- | time/py-icalendar/Makefile | 11 | ||||
-rw-r--r-- | time/py-icalendar/PLIST | 4 | ||||
-rw-r--r-- | time/py-icalendar/distinfo | 9 | ||||
-rw-r--r-- | time/py-icalendar/patches/patch-aa | 13 |
4 files changed, 26 insertions, 11 deletions
diff --git a/time/py-icalendar/Makefile b/time/py-icalendar/Makefile index d864017ab3a..dded53ff661 100644 --- a/time/py-icalendar/Makefile +++ b/time/py-icalendar/Makefile @@ -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 HOMEPAGE= http://codespeak.net/icalendar/ @@ -17,7 +16,7 @@ PKG_DESTDIR_SUPPORT= user-destdir PY_PATCHPLIST= yes EGG_NAME= ${DISTNAME:S/C/c/} -DOCDIR= ${PREFIX}/share/doc/${PKGNAME} +DOCDIR= ${PREFIX}/share/doc/${PKGNAME} INSTALLATION_DIRS= ${DOCDIR} diff --git a/time/py-icalendar/PLIST b/time/py-icalendar/PLIST index 8e4cdf2ccb4..53b2a77a90e 100644 --- a/time/py-icalendar/PLIST +++ b/time/py-icalendar/PLIST @@ -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.ics 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 --git a/time/py-icalendar/distinfo b/time/py-icalendar/distinfo index 0e56c66542c..d0335884370 100644 --- a/time/py-icalendar/distinfo +++ b/time/py-icalendar/distinfo @@ -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 --git a/time/py-icalendar/patches/patch-aa b/time/py-icalendar/patches/patch-aa new file mode 100644 index 00000000000..79c0aef9d65 --- /dev/null +++ b/time/py-icalendar/patches/patch-aa @@ -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): |