[arch-commits] Commit in buildbot/repos (3 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Mon Mar 11 07:36:59 UTC 2019
Date: Monday, March 11, 2019 @ 07:36:58
Author: yan12125
Revision: 439694
archrelease: copy trunk to community-testing-any
Added:
buildbot/repos/community-testing-any/
buildbot/repos/community-testing-any/PKGBUILD
(from rev 439693, buildbot/trunk/PKGBUILD)
buildbot/repos/community-testing-any/install-test-files.patch
(from rev 439693, buildbot/trunk/install-test-files.patch)
--------------------------+
PKGBUILD | 63 +++++++++++++++++++++++++++++++++++++++++++++
install-test-files.patch | 13 +++++++++
2 files changed, 76 insertions(+)
Copied: buildbot/repos/community-testing-any/PKGBUILD (from rev 439693, buildbot/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2019-03-11 07:36:58 UTC (rev 439694)
@@ -0,0 +1,63 @@
+# 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.1.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)
+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
+ 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=("https://github.com/buildbot/buildbot/releases/download/v$pkgver/buildbot-v$pkgver.gitarchive.tar.gz"{,.sig}
+ install-test-files.patch)
+sha256sums=('a15491995d9168e8e50c2f958ce4bfef2984ca25dee21bd694c8ea0a12e47509'
+ 'SKIP'
+ 'b6c583a85555c8dc20a84a0402539dbadd854408a15d6424841e59a6daa47fe2')
+validpgpkeys=(
+ '390EB159056ED56F66AB1092AECD456B4D2531FC' # Pierre Tardy <tardyp at gmail.com>
+)
+
+prepare() {
+ cd buildbot-$pkgver
+ patch -Np1 -i ../install-test-files.patch
+}
+
+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
+}
Copied: buildbot/repos/community-testing-any/install-test-files.patch (from rev 439693, buildbot/trunk/install-test-files.patch)
===================================================================
--- community-testing-any/install-test-files.patch (rev 0)
+++ community-testing-any/install-test-files.patch 2019-03-11 07:36:58 UTC (rev 439694)
@@ -0,0 +1,13 @@
+diff --git a/master/setup.py b/master/setup.py
+index c4172be5a..4a89ac895 100755
+--- a/master/setup.py
++++ b/master/setup.py
+@@ -217,6 +217,8 @@ setup_args = {
+ include("buildbot/spec/types", "*.raml"),
+ include("buildbot/test/unit/test_templates_dir", "*.html"),
+ include("buildbot/test/unit/test_templates_dir/plugin", "*.*"),
++ include("buildbot/test/integration/pki", "*.*"),
++ include("buildbot/test/integration/pki/ca", "*.*"),
+ ] + include_statics("buildbot/www/static"),
+ 'cmdclass': {'install_data': install_data_twisted,
+ 'sdist': our_sdist},
More information about the arch-commits
mailing list