2010-11-28 00:00:10 +01:00
|
|
|
# Template file for 'buildbot'
|
|
|
|
pkgname=buildbot
|
2014-12-04 07:59:25 +01:00
|
|
|
version=0.8.10
|
|
|
|
revision=1
|
2014-08-06 10:46:08 +02:00
|
|
|
noarch=yes
|
2010-11-28 00:00:10 +01:00
|
|
|
build_style=python-module
|
2014-01-26 17:42:02 +01:00
|
|
|
hostmakedepends="python"
|
2014-08-28 11:47:16 +02:00
|
|
|
makedepends="python-setuptools python-dateutil python-Jinja2 python-sqlalchemy-migrate Twisted"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="${makedepends}"
|
|
|
|
pycompile_module="buildbot"
|
2010-11-28 00:00:10 +01:00
|
|
|
short_desc="A system to automate the compile/test cycle"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-08-06 10:46:08 +02:00
|
|
|
homepage="http://buildbot.net/"
|
2011-06-15 09:27:27 +02:00
|
|
|
license="GPL-2"
|
2014-08-06 10:46:08 +02:00
|
|
|
distfiles="https://pypi.python.org/packages/source/b/${pkgname}/${pkgname}-${version}.tar.gz"
|
2014-12-04 07:59:25 +01:00
|
|
|
checksum=c4964d2ebd81cb80a14cb058fb2aab0572a1d8d86672d514e775b42deb08a5f4
|
2014-08-06 10:46:08 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
2012-03-13 14:02:31 +01:00
|
|
|
post_install() {
|
2010-12-20 09:57:19 +01:00
|
|
|
# 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}
|
2010-12-20 09:57:19 +01:00
|
|
|
}
|