[arch-commits] Commit in buildbot-www/repos (3 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Sun Nov 18 15:37:32 UTC 2018
Date: Sunday, November 18, 2018 @ 15:37:31
Author: yan12125
Revision: 408715
archrelease: copy trunk to community-testing-any
Added:
buildbot-www/repos/community-testing-any/
buildbot-www/repos/community-testing-any/PKGBUILD
(from rev 408714, buildbot-www/trunk/PKGBUILD)
buildbot-www/repos/community-testing-any/cairosvg2.patch
(from rev 408714, buildbot-www/trunk/cairosvg2.patch)
-----------------+
PKGBUILD | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
cairosvg2.patch | 13 +++++++
2 files changed, 106 insertions(+)
Copied: buildbot-www/repos/community-testing-any/PKGBUILD (from rev 408714, buildbot-www/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2018-11-18 15:37:31 UTC (rev 408715)
@@ -0,0 +1,93 @@
+# 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=1.6.0
+pkgrel=1
+arch=(any)
+url='https://buildbot.net'
+license=(GPL2)
+makedepends=(git buildbot python-buildbot-pkg python-mock)
+source=(https://github.com/buildbot/buildbot/releases/download/v$pkgver/buildbot-v$pkgver.gitarchive.tar.gz{,.sig}
+ cairosvg2.patch)
+sha256sums=('1d6dbab6cc3fa77cf709589d93bd86de030dc9bf244eebca1f16c388ed27d24a'
+ 'SKIP'
+ 'efb460cb040cfd2438d63df51cc7ffd93444dd9d6e1b172f870f4ffce5bafda8')
+validpgpkeys=(
+ '390EB159056ED56F66AB1092AECD456B4D2531FC' # Pierre Tardy <tardyp at gmail.com>
+)
+
+prepare() {
+ cd buildbot-$pkgver
+
+ patch -Np1 -i ../cairosvg2.patch
+}
+
+build() {
+ 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)
+
+ cd buildbot-$pkgver/www/badges
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
Copied: buildbot-www/repos/community-testing-any/cairosvg2.patch (from rev 408714, buildbot-www/trunk/cairosvg2.patch)
===================================================================
--- community-testing-any/cairosvg2.patch (rev 0)
+++ community-testing-any/cairosvg2.patch 2018-11-18 15:37:31 UTC (rev 408715)
@@ -0,0 +1,13 @@
+diff --git a/www/badges/setup.py b/www/badges/setup.py
+index dd5261299..739316a01 100644
+--- a/www/badges/setup.py
++++ b/www/badges/setup.py
+@@ -36,7 +36,7 @@ setup_www_plugin(
+ packages=['buildbot_badges'],
+ install_requires=[
+ 'klein',
+- 'CairoSVG==1.0.22', # cairoSVG 2+ is not py2 compatible
++ 'CairoSVG',
+ 'cairocffi', 'Jinja2'
+ ],
+ package_data={
More information about the arch-commits
mailing list