From 7c1203686c9eef8da8b536feb76ebd6fbd431734 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 6 Aug 2014 10:46:08 +0200 Subject: [PATCH] buildbot: update to 0.8.9 - python-simplejson is unnecessary - fix shebangs in contrib python scripts --- srcpkgs/buildbot/template | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/srcpkgs/buildbot/template b/srcpkgs/buildbot/template index 413a196feee..cea11433d6a 100644 --- a/srcpkgs/buildbot/template +++ b/srcpkgs/buildbot/template @@ -1,19 +1,25 @@ # Template file for 'buildbot' pkgname=buildbot -version=0.8.8 -revision=4 -noarch="yes" +version=0.8.9 +revision=1 +noarch=yes build_style=python-module hostmakedepends="python" -makedepends="python python-Jinja2 python-sqlalchemy-migrate python-simplejson Twisted" +makedepends="python python-dateutil python-Jinja2 python-sqlalchemy-migrate Twisted" depends="${makedepends}" pycompile_module="buildbot" short_desc="A system to automate the compile/test cycle" maintainer="Juan RP " -homepage="http://trac.buildbot.net/" +homepage="http://buildbot.net/" license="GPL-2" -distfiles="http://buildbot.googlecode.com/files/$pkgname-$version.tar.gz" -checksum=5013e3f3d83d2fcac8b5c391e3a740597330015300f0ebb94005ed2f90d739d0 +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 +} post_install() { # Install all contrib modules.