void-packages/srcpkgs/buildbot/template

31 lines
974 B
Plaintext
Raw Normal View History

2010-11-28 00:00:10 +01:00
# Template file for 'buildbot'
pkgname=buildbot
version=0.8.9
revision=3
noarch=yes
2010-11-28 00:00:10 +01:00
build_style=python-module
2014-01-26 17:42:02 +01:00
hostmakedepends="python"
makedepends="python-setuptools python-dateutil python-Jinja2 python-sqlalchemy-migrate Twisted"
depends="${makedepends}"
pycompile_module="buildbot"
2010-11-28 00:00:10 +01:00
short_desc="A system to automate the compile/test cycle"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://buildbot.net/"
2011-06-15 09:27:27 +02:00
license="GPL-2"
distfiles="https://pypi.python.org/packages/source/b/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=6b9e465e6d4825fe1f09d28505318fdb1a75b283c80a140af0f2e2a5039cfa8a
pre_install() {
cd ${wrksrc}/contrib
sed -i 's,#!/usr/local/bin/python,#!/usr/bin/python,' bk_buildbot.py
sed -i 's,#!/usr/bin/env jython,#!/usr/bin/env python,' run_maxq.py
}
2010-11-28 00:00:10 +01:00
2012-03-13 14:02:31 +01:00
post_install() {
# Install all contrib modules.
local contribdir=${DESTDIR}/usr/share/buildbot/contrib
2012-03-13 14:02:31 +01:00
vmkdir usr/share/buildbot/contrib
install -m755 ${wrksrc}/contrib/*.py ${contribdir}
}