[arch-commits] Commit in buildbot-www/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Sun Aug 18 16:02:10 UTC 2019


    Date: Sunday, August 18, 2019 @ 16:02:10
  Author: yan12125
Revision: 500060

upgpkg: buildbot-www 2.4.0-1

* adjustments for the new webpack-based build system

Modified:
  buildbot-www/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-18 16:01:18 UTC (rev 500059)
+++ PKGBUILD	2019-08-18 16:02:10 UTC (rev 500060)
@@ -7,7 +7,7 @@
 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.3.1
+pkgver=2.4.0
 pkgrel=1
 arch=(any)
 url='https://buildbot.net'
@@ -14,7 +14,7 @@
 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=('93241e1660cc8e0a37dba6c8c4bbb2e989f5da35006d6b5b523dfc3f37e8b927'
+sha256sums=('a865074e4874f20e11990ab5c65f87276b2bce9f7c29ca5b3b0da53ae51afbfd'
             'SKIP')
 validpgpkeys=(
   '390EB159056ED56F66AB1092AECD456B4D2531FC'  # Pierre Tardy <tardyp at gmail.com> (@tardyp on GitHub)
@@ -21,7 +21,19 @@
   '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



More information about the arch-commits mailing list