PortSystem 1.0
PortGroup python 1.0

name			py-unit
version			1.4.1
revision		1
categories-append	devel
license			PSF
maintainers		nomaintainer
platforms		{darwin any} freebsd
supported_archs	noarch
description		python testing framework
long_description	python testing framework, py-unit is the python \
				language version of JUnit

homepage		http://pyunit.sourceforge.net/
master_sites	sourceforge:pyunit
distname		pyunit-${version}
checksums		md5 658ff16afc469a3898260cc72bbea993

python.versions	27

if {${name} ne ${subport}} {
    post-destroot	{
        xinstall -m 644 -W ${worksrcpath} doc/PyUnit.html CHANGES \
            ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 644 -W ${worksrcpath}/examples README alltests.py \
            listtests.py manytests.py widget.py widgettests.py \
            withjpython.py ${destroot}${prefix}/share/doc/${subport}/examples
    }
}
