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

Chih-Hsuan Yen yan12125 at archlinux.org
Wed Dec 25 11:26:39 UTC 2019


    Date: Wednesday, December 25, 2019 @ 11:26:39
  Author: yan12125
Revision: 540836

upgpkg: buildbot-worker 2.5.1-2; add systemd service file

Ref: https://github.com/buildbot/buildbot-contrib/pull/17

Modified:
  buildbot-worker/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-25 11:25:52 UTC (rev 540835)
+++ PKGBUILD	2019-12-25 11:26:39 UTC (rev 540836)
@@ -6,14 +6,18 @@
 pkgname=buildbot-worker
 pkgdesc='Buildbot worker daemon'
 pkgver=2.5.1
-pkgrel=1
+_bb_contrib_commit=ada3c8f30ca7e1b6bb260e2e5971053fbd254333
+pkgrel=2
 arch=(any)
 url='https://buildbot.net'
 license=(GPL2)
 depends=(python-setuptools python-twisted python-future)
+makedepends=(git)
 checkdepends=(python-mock)
-source=("https://github.com/buildbot/buildbot/releases/download/v$pkgver/buildbot-v$pkgver.gitarchive.tar.gz"{,.sig})
+source=("https://github.com/buildbot/buildbot/releases/download/v$pkgver/buildbot-v$pkgver.gitarchive.tar.gz"{,.sig}
+        "git+https://github.com/buildbot/buildbot-contrib.git#commit=$_bb_contrib_commit")
 sha256sums=('cee691d3e04481ff5b5ad3514d7fe0d5e3971c0dd9a4f67640e7dae7af6826a5'
+            'SKIP'
             'SKIP')
 validpgpkeys=(
   '390EB159056ED56F66AB1092AECD456B4D2531FC'  # Pierre Tardy <tardyp at gmail.com> (@tardyp on GitHub)
@@ -33,4 +37,6 @@
 package() {
   cd buildbot-$pkgver/worker
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 "$srcdir"/buildbot-contrib/worker/contrib/systemd/buildbot-worker at .service \
+    -t "$pkgdir"/usr/lib/systemd/system/
 }



More information about the arch-commits mailing list