pkgsrc/time/py-icalendar/Makefile
wiz d85fefd907 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.
2009-05-20 13:38:47 +00:00

28 lines
699 B
Makefile

# $NetBSD: Makefile,v 1.2 2009/05/20 13:38:47 wiz Exp $
#
DISTNAME= icalendar-2.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= time python
MASTER_SITES= http://pypi.python.org/packages/source/i/icalendar/
MAINTAINER= mj@turner.org.za
HOMEPAGE= http://codespeak.net/icalendar/
COMMENT= Python parser/generator for iCalendar files, as per RFC2445
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
PY_PATCHPLIST= yes
EGG_NAME= ${DISTNAME:S/C/c/}
DOCDIR= ${PREFIX}/share/doc/${PKGNAME}
INSTALLATION_DIRS= ${DOCDIR}
# Install documentation manually
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${DOCDIR}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"