[arch-commits] Commit in buildbot/repos/community-any (3 files)

Chih-Hsuan Yen yan12125 at archlinux.org
Sun Apr 7 15:21:50 UTC 2019


    Date: Sunday, April 7, 2019 @ 15:21:49
  Author: yan12125
Revision: 450308

archrelease: copy trunk to community-any

Added:
  buildbot/repos/community-any/PKGBUILD
    (from rev 450307, buildbot/trunk/PKGBUILD)
Deleted:
  buildbot/repos/community-any/PKGBUILD
  buildbot/repos/community-any/install-test-files.patch

--------------------------+
 PKGBUILD                 |  122 +++++++++++++++++++++------------------------
 install-test-files.patch |   13 ----
 2 files changed, 59 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-07 15:21:33 UTC (rev 450307)
+++ PKGBUILD	2019-04-07 15:21:49 UTC (rev 450308)
@@ -1,63 +0,0 @@
-# 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-any/PKGBUILD (from rev 450307, buildbot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-07 15:21:49 UTC (rev 450308)
@@ -0,0 +1,59 @@
+# 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.2.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)
+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=('126adffe288f9b6df2d3a4eca49be757f65c01bc0c551d562681b4cf5ca460fb'
+            '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
+
+  python setup.py 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
+}

Deleted: install-test-files.patch
===================================================================
--- install-test-files.patch	2019-04-07 15:21:33 UTC (rev 450307)
+++ install-test-files.patch	2019-04-07 15:21:49 UTC (rev 450308)
@@ -1,13 +0,0 @@
-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