2010-11-27 23:00:10 +00:00
|
|
|
# Template file for 'buildbot'
|
|
|
|
pkgname=buildbot
|
2015-04-22 05:20:20 +00:00
|
|
|
version=0.8.12
|
2015-05-10 19:21:18 +00:00
|
|
|
revision=2
|
2014-08-06 08:46:08 +00:00
|
|
|
noarch=yes
|
2010-11-27 23:00:10 +00:00
|
|
|
build_style=python-module
|
2014-01-26 16:42:02 +00:00
|
|
|
hostmakedepends="python"
|
2014-08-28 09:47:16 +00:00
|
|
|
makedepends="python-setuptools python-dateutil python-Jinja2 python-sqlalchemy-migrate Twisted"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="${makedepends}"
|
|
|
|
pycompile_module="buildbot"
|
2010-11-27 23:00:10 +00:00
|
|
|
short_desc="A system to automate the compile/test cycle"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-08-06 08:46:08 +00:00
|
|
|
homepage="http://buildbot.net/"
|
2011-06-15 07:27:27 +00:00
|
|
|
license="GPL-2"
|
2014-08-06 08:46:08 +00:00
|
|
|
distfiles="https://pypi.python.org/packages/source/b/${pkgname}/${pkgname}-${version}.tar.gz"
|
2015-04-22 05:20:20 +00:00
|
|
|
checksum=c6b66976dff712268566574d57131ec15e5682f6d4390cd5c8559bab0980c4d6
|
2014-08-06 08:46:08 +00: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 13:02:31 +00:00
|
|
|
post_install() {
|
2010-12-20 08:57:19 +00:00
|
|
|
# Install all contrib modules.
|
|
|
|
local contribdir=${DESTDIR}/usr/share/buildbot/contrib
|
|
|
|
|
2012-03-13 13:02:31 +00:00
|
|
|
vmkdir usr/share/buildbot/contrib
|
|
|
|
install -m755 ${wrksrc}/contrib/*.py ${contribdir}
|
2010-12-20 08:57:19 +00:00
|
|
|
}
|