# $Id: Portfile 80106 2011-07-04 12:17:20Z jmr@macports.org $

PortSystem		1.0
PortGroup		python27 1.0

name			buildbot
version			0.8.4p1
categories		devel python
platforms		darwin
supported_archs	noarch
license			GPL-2
maintainers		nomaintainer	
description		compile/test cycle automation system
long_description	The BuildBot is a system to automate the \
			compile/test cycle required by most \
			software projects to validate code changes.

homepage		http://buildbot.net/
master_sites		googlecode:buildbot
dist_subdir			${name}

checksums           md5     8d23d88d6804570dfc5d13c5e7d666cd \
                    sha1    bb0f7fe2125446adc5c2ba8ae635ddc0c25f5e1f \
                    rmd160  1a754c5b754d64c2578894234fd1dc918566dc42

depends_lib-append	port:py27-twisted \
                    port:py27-jinja2 \
                    port:py27-sqlalchemy \
                    port:py27-sqlalchemy-migrate

python.link_binaries_suffix
post-destroot   {
        xinstall -m 644 ${worksrcpath}/README \
                ${destroot}${prefix}/share/doc/${name}
}

# note some tests need py27-mock
test.run		yes
test.env		PYTHONPATH=.
test.cmd		${prefix}/bin/trial-${python.branch}
test.target		buildbot.test
