Date: Sunday, February 10, 2019 @ 06:53:32 Author: yan12125 Revision: 431076
archrelease: copy trunk to community-testing-any Added: buildbot/repos/community-testing-any/ buildbot/repos/community-testing-any/PKGBUILD (from rev 431075, buildbot/trunk/PKGBUILD) ----------+ PKGBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) Copied: buildbot/repos/community-testing-any/PKGBUILD (from rev 431075, buildbot/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2019-02-10 06:53:32 UTC (rev 431076) @@ -0,0 +1,58 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@gmail.com> +# Contributor: xRemaLx <anton.komo...@gmail.com> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: William Rea <sillywi...@gmail.com> + +pkgname=buildbot +pkgdesc='The Continuous Integration Framework' +pkgver=2.0.1 +# `git rev-parse v$pkgver` +_tag_rev=4c358c260bd9a339ce167a28b8dd6d19cd7a413f +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' + 'python-pyopenssl: to use SSL/TLS in mail or IRC notifiers' +) +source=("git+https://github.com/buildbot/buildbot?signed#tag=$_tag_rev") +sha256sums=('SKIP') +validpgpkeys=( + '390EB159056ED56F66AB1092AECD456B4D2531FC' # Pierre Tardy <tar...@gmail.com> +) + +build() { + cd buildbot/master + python setup.py build +} + +check() { + cd buildbot/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/master + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +}