# Template file for 'buildbot'
pkgname=buildbot
version=0.8.8
revision=2
noarch="yes"
build_style=python-module
hostmakedepends="python"
makedepends="python python-jinja sqlalchemy-migrate python-simplejson Twisted"
depends="${makedepends}"
pycompile_module="buildbot"
short_desc="A system to automate the compile/test cycle"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://trac.buildbot.net/"
license="GPL-2"
distfiles="http://buildbot.googlecode.com/files/$pkgname-$version.tar.gz"
checksum=5013e3f3d83d2fcac8b5c391e3a740597330015300f0ebb94005ed2f90d739d0

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

	vmkdir usr/share/buildbot/contrib
	install -m755 ${wrksrc}/contrib/*.py ${contribdir}
}
