buildbot: remove

python 2
This commit is contained in:
classabbyamp 2023-10-11 17:22:33 -04:00 committed by classabbyamp
parent fe99669991
commit 4443689b02
3 changed files with 0 additions and 65 deletions

View File

@ -1,38 +0,0 @@
--- a/buildbot/status/words.py
+++ b/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)

View File

@ -1,26 +0,0 @@
# Template file for 'buildbot'
pkgname=buildbot
reverts="2.4.1_1"
version=0.8.14
revision=5
build_style=python2-module
pycompile_dirs="usr/share/buildbot/contrib"
hostmakedepends="python"
depends="python-setuptools python-dateutil python-Jinja2 python-sqlalchemy-migrate python-Twisted"
short_desc="System to automate the compile/test cycle"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://buildbot.net/"
distfiles="${PYPI_SITE}/b/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=331efd07bd7522c222a8fb258801e8d78332c88d778ee76416b9e1028676e964
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}
}

View File

@ -1 +0,0 @@
ignore="*b* *rc* *post*"