# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-vobject
version			0.4.1
revision		0
categories		python
platforms		darwin
maintainers		darkart.com:opendarwin.org
description		Python package for parsing and generating vCard and vCalendar files.
long_description	vobject is intended to be a full featured Python package for parsing \
			and generating vCard and vCalendar files. It is being developed in \
			concert with the Open Source Application Foundation's Chandler project.

homepage		http://vobject.skyhouseconsulting.com/
master_sites		http://vobject.skyhouseconsulting.com/
distname		vobject-${version}
checksums		md5 b12fbec4abd87c826b4627364bd1474d

depends_lib		port:py-dateutil \
			port:py-setuptools

test.run		yes
test.cmd		${python.bin} test.py
test.target
test.env		PYTHONPATH=${worksrcpath}/build/lib

patchfiles		patch-src-vobject-base.py \
			patch-src-vobject-icalendar.py

## post-destroot	{
## 	xinstall -m 644 -W ${worksrcpath} LICENSE README \
## 		${destroot}${prefix}/share/doc/${name}
## }
