[arch-commits] Commit in buildbot/repos (2 files)

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


    Date: Sunday, August 18, 2019 @ 16:01:18
  Author: yan12125
Revision: 500059

archrelease: copy trunk to community-testing-any

Added:
  buildbot/repos/community-testing-any/
  buildbot/repos/community-testing-any/PKGBUILD
    (from rev 500058, buildbot/trunk/PKGBUILD)

----------+
 PKGBUILD |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

Copied: buildbot/repos/community-testing-any/PKGBUILD (from rev 500058, buildbot/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-08-18 16:01:18 UTC (rev 500059)
@@ -0,0 +1,60 @@
+# 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=2.4.0
+pkgrel=1
+arch=(any)
+url='https://buildbot.net'
+license=(GPL2)
+depends=(python-twisted python-jinja python-zope-interface
+         python-sqlalchemy-migrate python-dateutil python-txaio
+         python-autobahn python-pyjwt python-yaml)
+checkdepends=(python-boto3 python-lz4 python-treq python-txrequests
+              python-mock python-moto python-parameterized
+              python-buildbot-pkg=$pkgver buildbot-worker=$pkgver python-buildbot-www=$pkgver
+              openssh git)
+makedepends=(python-setuptools)
+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'
+  'pass: to use SecretInPass provider'
+  'vault: to use SecretInVault provider'
+)
+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)
+)
+
+build() {
+  cd buildbot-$pkgver/master
+  python setup.py build
+}
+
+check() {
+  cd buildbot-$pkgver/master
+
+  site_packages_path=$(python -c 'import site; print(site.getsitepackages()[0])')
+
+  python setup.py install --root="$srcdir"/tmp_install
+  # Copy files over for integration tests
+  cp -v buildbot/test/integration/*.tgz "$srcdir"/tmp_install$site_packages_path/buildbot/test/integration/
+
+  export PYTHONPATH="$srcdir"/tmp_install$site_packages_path
+  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