[arch-commits] Commit in buildbot/trunk (PKGBUILD)

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


    Date: Sunday, April 7, 2019 @ 15:19:20
  Author: yan12125
Revision: 450306

upgpkg: buildbot 2.2.0-1

* python-future is not needed after https://github.com/buildbot/buildbot/pull/4660
* Use distutils instead of pip to reduce dependencies
* install-test-files.patch is landed https://github.com/buildbot/buildbot/pull/4654

Modified:
  buildbot/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-07 15:14:37 UTC (rev 450305)
+++ PKGBUILD	2019-04-07 15:19:20 UTC (rev 450306)
@@ -5,18 +5,19 @@
 
 pkgname=buildbot
 pkgdesc='The Continuous Integration Framework'
-pkgver=2.1.0
+pkgver=2.2.0
 pkgrel=1
 arch=(any)
 url='https://buildbot.net'
 license=(GPL2)
-depends=(python-twisted python-jinja python-zope-interface python-future
+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
-              python-pip openssh)
+              openssh)
+makedepends=(python-setuptools)
 optdepends=(
   'python-boto3: for AWS EC2 latent worker'
   'python-lz4: to compress logs using lz4'
@@ -23,21 +24,16 @@
   '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}
-        install-test-files.patch)
-sha256sums=('a15491995d9168e8e50c2f958ce4bfef2984ca25dee21bd694c8ea0a12e47509'
-            'SKIP'
-            'b6c583a85555c8dc20a84a0402539dbadd854408a15d6424841e59a6daa47fe2')
+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>
 )
 
-prepare() {
-  cd buildbot-$pkgver
-  patch -Np1 -i ../install-test-files.patch
-}
-
 build() {
   cd buildbot-$pkgver/master
   python setup.py build
@@ -50,7 +46,7 @@
   export AWS_SECRET_ACCESS_KEY=foobar_secret
   export AWS_ACCESS_KEY_ID=foobar_key
 
-  pip install --root="$srcdir"/tmp_install .
+  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"



More information about the arch-commits mailing list