# $Id: Portfile 38476 2008-07-21 23:56:49Z mr_bond@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-dispatcher
version			2.0.1
revision		1
categories		python devel
platforms		darwin
maintainers		nomaintainer
description		python dispatcher mechanism for creating event models
long_description	PyDispatcher provides the Python programmer with a \
				multiple-producer-multiple-consumer \
				signal-registration and routing infrastructure for use \
				in multiple contexts.

homepage		http://pydispatcher.sourceforge.net/
master_sites	sourceforge:pydispatcher
distname		PyDispatcher-${version}
checksums		md5 8b1695ed6f5bdbda8fbcde82b62d505c

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

post-destroot	{
	file delete -force ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
}
