[arch-commits] Commit in buildbot-www/repos/community-testing-any (3 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Tue Aug 20 13:38:31 UTC 2019
Date: Tuesday, August 20, 2019 @ 13:38:31
Author: yan12125
Revision: 500299
archrelease: copy trunk to community-testing-any
Added:
buildbot-www/repos/community-testing-any/PKGBUILD
(from rev 500298, buildbot-www/trunk/PKGBUILD)
buildbot-www/repos/community-testing-any/disable-broken-www-tests.patch
(from rev 500298, buildbot-www/trunk/disable-broken-www-tests.patch)
Deleted:
buildbot-www/repos/community-testing-any/PKGBUILD
--------------------------------+
PKGBUILD | 219 ++++++++++++++++++++-------------------
disable-broken-www-tests.patch | 18 +++
2 files changed, 135 insertions(+), 102 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-20 13:38:21 UTC (rev 500298)
+++ PKGBUILD 2019-08-20 13:38:31 UTC (rev 500299)
@@ -1,102 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at gmail.com>
-# Contributor: xRemaLx <anton.komolov at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: William Rea <sillywilly at gmail.com>
-
-pkgbase=buildbot-www
-pkgname=(python-buildbot-www python-buildbot-waterfall-view
- python-buildbot-console-view python-buildbot-grid-view
- python-buildbot-wsgi-dashboards python-buildbot-badges)
-pkgver=2.4.0
-pkgrel=1
-arch=(any)
-url='https://buildbot.net'
-license=(GPL2)
-makedepends=(git buildbot=$pkgver python-buildbot-pkg=$pkgver python-mock)
-source=("https://github.com/buildbot/buildbot/releases/download/v$pkgver/buildbot-v$pkgver.gitarchive.tar.gz"{,.sig})
-sha256sums=('a865074e4874f20e11990ab5c65f87276b2bce9f7c29ca5b3b0da53ae51afbfd'
- 'SKIP')
-validpgpkeys=(
- '390EB159056ED56F66AB1092AECD456B4D2531FC' # Pierre Tardy <tardyp at gmail.com> (@tardyp on GitHub)
- 'FD0004A26EADFE43A4C3F249C6F7AE200374452D' # Povilas Kanapickas <povilas at radix.lt> (@p12tic on GitHub)
-)
-
-prepare() {
- cd "$srcdir"/buildbot-$pkgver
- # HACK: do not use virtualenv
- sed -i 's#frontend_deps:.*#frontend_deps:#' Makefile
-}
-
-build() {
- export NODE_OPTIONS="--max-old-space-size=2048"
-
- cd "$srcdir"/buildbot-$pkgver
- # HACK: use system packages instead of ones via pip
- make PIP=/usr/bin/true frontend_deps
-
- for module in base waterfall_view console_view grid_view wsgi_dashboards badges
- do
- cd "$srcdir"/buildbot-$pkgver/www/$module
- python setup.py build
- done
-}
-
-package_python-buildbot-www() {
- pkgdesc='Buildbot UI'
- # Not depending on buildbot so that buildbot can easily use
- # python-buildbot-www in checkdepends
- depends=(python)
- optdepends=(
- 'python-buildbot-waterfall-view'
- 'python-buildbot-console-view'
- 'python-buildbot-grid-view'
- 'python-buildbot-badges'
- )
-
- cd buildbot-$pkgver/www/base
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python-buildbot-waterfall-view() {
- pkgdesc='Buildbot Waterfall View plugin'
- depends=(python-buildbot-www)
-
- cd buildbot-$pkgver/www/waterfall_view
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python-buildbot-console-view() {
- pkgdesc='Buildbot Console View plugin'
- depends=(python-buildbot-www)
-
- cd buildbot-$pkgver/www/console_view
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python-buildbot-grid-view() {
- pkgdesc='Buildbot Grid View plugin'
- depends=(python-buildbot-www)
-
- cd buildbot-$pkgver/www/grid_view
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python-buildbot-wsgi-dashboards() {
- pkgdesc='Buildbot plugin to integrate flask or bottle dashboards to buildbot UI'
- depends=(python-buildbot-www)
-
- cd buildbot-$pkgver/www/wsgi_dashboards
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python-buildbot-badges() {
- pkgdesc='Buildbot badges'
- depends=(python-buildbot-www python-klein python-cairosvg python-cairocffi python-jinja)
- # https://github.com/buildbot/buildbot/blob/v1.6.0/www/badges/buildbot_badges/__init__.py#L40
- optdepends=(
- 'ttf-dejavu: the default font for rendering badges as PNGs'
- )
-
- cd buildbot-$pkgver/www/badges
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: buildbot-www/repos/community-testing-any/PKGBUILD (from rev 500298, buildbot-www/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-20 13:38:31 UTC (rev 500299)
@@ -0,0 +1,117 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at gmail.com>
+# Contributor: xRemaLx <anton.komolov at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgbase=buildbot-www
+pkgname=(python-buildbot-www python-buildbot-waterfall-view
+ python-buildbot-console-view python-buildbot-grid-view
+ python-buildbot-wsgi-dashboards python-buildbot-badges)
+pkgver=2.4.0
+pkgrel=2
+arch=(any)
+url='https://buildbot.net'
+license=(GPL2)
+makedepends=(git buildbot=$pkgver python-buildbot-pkg=$pkgver python-mock)
+checkdepends=(chromium xorg-server-xvfb)
+source=("https://github.com/buildbot/buildbot/releases/download/v$pkgver/buildbot-v$pkgver.gitarchive.tar.gz"{,.sig}
+ disable-broken-www-tests.patch
+ disable-broken-waterfall-tests.patch::https://github.com/buildbot/buildbot/commit/9ad94c5a3db7585a594fd51736cd9928efb2dd00.patch)
+sha256sums=('a865074e4874f20e11990ab5c65f87276b2bce9f7c29ca5b3b0da53ae51afbfd'
+ 'SKIP'
+ '83f7ec59f2fa3fd1978337c5aedf73a988b150f4336ed75d6a55bb632185d6b3'
+ '9a302f8aebb5a0a8dbba3636d8bdc1e34295149c044975cd8bc8fc96545532f2')
+validpgpkeys=(
+ '390EB159056ED56F66AB1092AECD456B4D2531FC' # Pierre Tardy <tardyp at gmail.com> (@tardyp on GitHub)
+ 'FD0004A26EADFE43A4C3F249C6F7AE200374452D' # Povilas Kanapickas <povilas at radix.lt> (@p12tic on GitHub)
+)
+
+prepare() {
+ cd "$srcdir"/buildbot-$pkgver
+ # HACK: do not use virtualenv
+ sed -i -e 's#frontend_deps:.*#frontend_deps:#' \
+ -e 's#frontend_tests:.*#frontend_tests:#' Makefile
+ # https://github.com/buildbot/buildbot/issues/4982
+ patch -Np1 -i ../disable-broken-www-tests.patch
+ # https://github.com/buildbot/buildbot/issues/4979
+ patch -Np1 -i ../disable-broken-waterfall-tests.patch
+}
+
+build() {
+ export NODE_OPTIONS="--max-old-space-size=2048"
+
+ cd "$srcdir"/buildbot-$pkgver
+ # HACK: use system packages instead of ones via pip
+ make PIP=/usr/bin/true frontend_deps
+
+ for module in base waterfall_view console_view grid_view wsgi_dashboards badges
+ do
+ cd "$srcdir"/buildbot-$pkgver/www/$module
+ python setup.py build
+ done
+}
+
+check() {
+ cd "$srcdir"/buildbot-$pkgver
+ CHROME_BIN=/usr/bin/chromium xvfb-run make frontend_tests
+}
+
+package_python-buildbot-www() {
+ pkgdesc='Buildbot UI'
+ # Not depending on buildbot so that buildbot can easily use
+ # python-buildbot-www in checkdepends
+ depends=(python)
+ optdepends=(
+ 'python-buildbot-waterfall-view'
+ 'python-buildbot-console-view'
+ 'python-buildbot-grid-view'
+ 'python-buildbot-badges'
+ )
+
+ cd buildbot-$pkgver/www/base
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python-buildbot-waterfall-view() {
+ pkgdesc='Buildbot Waterfall View plugin'
+ depends=(python-buildbot-www)
+
+ cd buildbot-$pkgver/www/waterfall_view
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python-buildbot-console-view() {
+ pkgdesc='Buildbot Console View plugin'
+ depends=(python-buildbot-www)
+
+ cd buildbot-$pkgver/www/console_view
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python-buildbot-grid-view() {
+ pkgdesc='Buildbot Grid View plugin'
+ depends=(python-buildbot-www)
+
+ cd buildbot-$pkgver/www/grid_view
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python-buildbot-wsgi-dashboards() {
+ pkgdesc='Buildbot plugin to integrate flask or bottle dashboards to buildbot UI'
+ depends=(python-buildbot-www)
+
+ cd buildbot-$pkgver/www/wsgi_dashboards
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python-buildbot-badges() {
+ pkgdesc='Buildbot badges'
+ depends=(python-buildbot-www python-klein python-cairosvg python-cairocffi python-jinja)
+ # https://github.com/buildbot/buildbot/blob/v1.6.0/www/badges/buildbot_badges/__init__.py#L40
+ optdepends=(
+ 'ttf-dejavu: the default font for rendering badges as PNGs'
+ )
+
+ cd buildbot-$pkgver/www/badges
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
Copied: buildbot-www/repos/community-testing-any/disable-broken-www-tests.patch (from rev 500298, buildbot-www/trunk/disable-broken-www-tests.patch)
===================================================================
--- disable-broken-www-tests.patch (rev 0)
+++ disable-broken-www-tests.patch 2019-08-20 13:38:31 UTC (rev 500299)
@@ -0,0 +1,18 @@
+diff --git a/www/base/src/app/common/directives/buildsummary/buildsummary.directive.spec.js b/www/base/src/app/common/directives/buildsummary/buildsummary.directive.spec.js
+index 2d01dd010..c74648c05 100644
+--- a/www/base/src/app/common/directives/buildsummary/buildsummary.directive.spec.js
++++ b/www/base/src/app/common/directives/buildsummary/buildsummary.directive.spec.js
+@@ -69,6 +69,7 @@ describe('buildsummary controller', function() {
+ buildsummary.toggleDetails();
+ });
+
++ /*
+ it('should provide correct getBuildRequestIDFromURL', function() {
+ const element = $compile("<buildsummary buildid='buildid'></buildsummary>")($scope);
+ $scope.$apply();
+@@ -100,4 +101,5 @@ describe('buildsummary controller', function() {
+ expect(buildsummary.isBuildURL(`${baseurl}#builders/sdf/builds/123`))
+ .toBe(false);
+ });
++ */
+ });
More information about the arch-commits
mailing list