# Template file for 'buildbot'
pkgname=buildbot
version=0.8.5
distfiles="http://buildbot.googlecode.com/files/$pkgname-$version.tar.gz"
build_style=python-module
short_desc="A system to automate the compile/test cycle"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://trac.buildbot.net/"
license="GPL-2"
checksum=9b2f761447db13e4068870567b36732d419d8f72f452b450c61089db98558a9c
long_desc="
 The BuildBot is a system to automate the compile/test cycle required by most
 software projects to validate code changes. By automatically rebuilding and
 testing the tree each time something has changed, build problems are
 pinpointed quickly, before other developers are inconvenienced by the failure.
 The guilty developer can be identified and harassed without human intervention.

 By running the builds on a variety of platforms, developers who do not have the
 facilities to test their changes everywhere before checkin will at least know
 shortly afterwards whether they have broken the build or not. Warning counts,
 lint checks, image size, compile time, and other build parameters can be
 tracked over time, are more visible, and are therefore easier to improve."

pycompile_module="$pkgname"
noarch=yes

Add_dependency full python
Add_dependency full python-jinja
Add_dependency full Twisted

post_install()
{
	# Install all contrib modules.
	local contribdir=${DESTDIR}/usr/share/buildbot/contrib

	install -d ${contribdir}
	install -m 755 ${wrksrc}/contrib/*.py ${contribdir}
}