[arch-commits] Commit in buildbot/repos (2 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Mon Dec 24 15:01:16 UTC 2018
Date: Monday, December 24, 2018 @ 15:01:15
Author: yan12125
Revision: 417834
archrelease: copy trunk to community-testing-any
Added:
buildbot/repos/community-testing-any/
buildbot/repos/community-testing-any/PKGBUILD
(from rev 417833, buildbot/trunk/PKGBUILD)
----------+
PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
Copied: buildbot/repos/community-testing-any/PKGBUILD (from rev 417833, buildbot/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2018-12-24 15:01:15 UTC (rev 417834)
@@ -0,0 +1,56 @@
+# 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>
+
+pkgname=buildbot
+pkgdesc='The Continuous Integration Framework'
+pkgver=1.7.0
+pkgrel=1
+arch=(any)
+url='https://buildbot.net'
+license=(GPL2)
+depends=(python-twisted python-jinja python-zope-interface python-future
+ python-sqlalchemy-migrate python-dateutil python-txaio
+ python-autobahn python-pyjwt python-yaml)
+makedepends=(git)
+checkdepends=(python-boto3 python-lz4 python-treq python-txrequests
+ python-mock python-moto
+ python-buildbot-pkg=$pkgver buildbot-worker=$pkgver python-buildbot-www=$pkgver
+ python-pip openssh)
+optdepends=(
+ 'python-boto3: for AWS EC2 latent worker'
+ 'python-lz4: to compress logs using lz4'
+ 'python-treq: for using HTTP requests as steps'
+ 'python-txrequests: for using HTTP requests as steps'
+)
+source=(https://github.com/buildbot/buildbot/releases/download/v$pkgver/buildbot-v$pkgver.gitarchive.tar.gz{,.sig})
+sha256sums=('e22f51b693f7fb293b6a111072cada00bc227fcdc2575bcb1c45f10fa25f5738'
+ 'SKIP')
+validpgpkeys=(
+ '390EB159056ED56F66AB1092AECD456B4D2531FC' # Pierre Tardy <tardyp at gmail.com>
+)
+
+build() {
+ cd buildbot-$pkgver/master
+ python setup.py build
+}
+
+check() {
+ cd buildbot-$pkgver/master
+
+ # https://github.com/spulec/moto/issues/1924
+ export AWS_SECRET_ACCESS_KEY=foobar_secret
+ export AWS_ACCESS_KEY_ID=foobar_key
+
+ pip install --root="$srcdir"/tmp_install .
+
+ export PYTHONPATH="$srcdir"/tmp_install/usr/lib/python3.7/site-packages
+ export PATH="$PATH:$srcdir/tmp_install/usr/bin"
+ TZ=UTC trial3 --rterrors buildbot
+}
+
+package() {
+ cd buildbot-$pkgver/master
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list