mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
buildbot: update to 2.4.1
This commit is contained in:
parent
61c008f9c7
commit
c983c3f459
2 changed files with 8 additions and 57 deletions
|
@ -1,38 +0,0 @@
|
||||||
--- buildbot/status/words.py.orig
|
|
||||||
+++ buildbot/status/words.py
|
|
||||||
@@ -439,9 +439,9 @@
|
|
||||||
self.send(r)
|
|
||||||
|
|
||||||
results_descriptions = {
|
|
||||||
- SUCCESS: ("Success", 'GREEN'),
|
|
||||||
- WARNINGS: ("Warnings", 'YELLOW'),
|
|
||||||
- FAILURE: ("Failure", 'RED'),
|
|
||||||
+ SUCCESS: ("OK", 'GREEN'),
|
|
||||||
+ WARNINGS: ("Warn", 'YELLOW'),
|
|
||||||
+ FAILURE: ("Fail", 'RED'),
|
|
||||||
EXCEPTION: ("Exception", 'PURPLE'),
|
|
||||||
RETRY: ("Retry", 'AQUA_LIGHT'),
|
|
||||||
}
|
|
||||||
@@ -466,19 +466,18 @@
|
|
||||||
results = self.getResultsDescriptionAndColor(build.getResults())
|
|
||||||
if self.reportBuild(builder_name, buildnum):
|
|
||||||
if self.useRevisions:
|
|
||||||
- r = "build containing revision(s) [%s] on %s is complete: %s" % \
|
|
||||||
+ r = "%s/%s: %s" % \
|
|
||||||
(buildrevs, builder_name, results[0])
|
|
||||||
else:
|
|
||||||
r = "build #%d of %s is complete: %s" % \
|
|
||||||
(buildnum, builder_name, results[0])
|
|
||||||
|
|
||||||
- r += ' [%s]' % maybeColorize(" ".join(build.getText()), results[1], self.useColors)
|
|
||||||
buildurl = self.bot.status.getURLForThing(build)
|
|
||||||
if buildurl:
|
|
||||||
- r += " Build details are at %s" % buildurl
|
|
||||||
+ r += ": %s" % buildurl
|
|
||||||
|
|
||||||
if self.bot.showBlameList and build.getResults() != SUCCESS and len(build.changes) != 0:
|
|
||||||
- r += ' blamelist: ' + ', '.join(list(set([c.who for c in build.changes])))
|
|
||||||
+ r += ' blame: ' + ', '.join(list(set([c.who for c in build.changes])))
|
|
||||||
|
|
||||||
self.send(r)
|
|
||||||
|
|
|
@ -1,27 +1,16 @@
|
||||||
# Template file for 'buildbot'
|
# Template file for 'buildbot'
|
||||||
pkgname=buildbot
|
pkgname=buildbot
|
||||||
version=0.8.14
|
version=2.4.1
|
||||||
revision=3
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
build_style=python2-module
|
build_style=python3-module
|
||||||
pycompile_module="buildbot"
|
pycompile_module="buildbot"
|
||||||
pycompile_dirs="usr/share/buildbot/contrib"
|
pycompile_dirs="usr/share/buildbot/contrib"
|
||||||
hostmakedepends="python"
|
hostmakedepends="python3 python3-setuptools"
|
||||||
depends="python-setuptools python-dateutil python-Jinja2 python-sqlalchemy-migrate python-Twisted"
|
depends="python3-autobahn python3-dateutil python3-Jinja2 python3-PyJWT python3-sqlalchemy-migrate python3-Twisted"
|
||||||
short_desc="A system to automate the compile/test cycle"
|
short_desc="System to automate the compile/test cycle"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="GPL-2.0-only"
|
||||||
homepage="https://buildbot.net/"
|
homepage="https://buildbot.net/"
|
||||||
license="GPL-2"
|
|
||||||
distfiles="${PYPI_SITE}/b/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/b/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=331efd07bd7522c222a8fb258801e8d78332c88d778ee76416b9e1028676e964
|
checksum=a8330baef61bd9035a9f51a717a28706a4374222f4781d2c22bbbc3ae3b91a6b
|
||||||
|
|
||||||
pre_install() {
|
|
||||||
sed -i 's,#!/usr/bin/env jython,#!/usr/bin/python2,' contrib/run_maxq.py
|
|
||||||
}
|
|
||||||
post_install() {
|
|
||||||
# Install all contrib modules.
|
|
||||||
local contribdir=${DESTDIR}/usr/share/buildbot/contrib
|
|
||||||
|
|
||||||
vmkdir usr/share/buildbot/contrib
|
|
||||||
install -m755 ${wrksrc}/contrib/*.py ${contribdir}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue