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

Chih-Hsuan Yen yan12125 at archlinux.org
Mon Jan 21 08:23:44 UTC 2019


    Date: Monday, January 21, 2019 @ 08:23:42
  Author: yan12125
Revision: 425818

upgpkg: python-buildbot-pkg 1.8.0-1

* Switch to git repo as the signed archive is gone in this version
* npm is no longer a dependency since https://github.com/buildbot/buildbot/pull/4494

Modified:
  python-buildbot-pkg/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-21 08:23:12 UTC (rev 425817)
+++ PKGBUILD	2019-01-21 08:23:42 UTC (rev 425818)
@@ -5,26 +5,28 @@
 
 pkgname=python-buildbot-pkg
 pkgdesc='Utilities and common code for building and testing www plugins'
-pkgver=1.7.0
+pkgver=1.8.0
+# `git rev-parse v$pkgver`
+_tag_rev=5b1106e9e2898cff174e7dd4f03dfd80a5c79f16
 pkgrel=1
 arch=(any)
 url='https://buildbot.net'
 license=(GPL2)
 # Use Node.js 8 as www plugins do not build with Node.js 10.14.2 and 11 (https://github.com/buildbot/buildbot/issues/4382)
-depends=(python-setuptools nodejs-lts-carbon npm yarn python2)
-source=(https://github.com/buildbot/buildbot/releases/download/v$pkgver/buildbot-v$pkgver.gitarchive.tar.gz{,.sig})
-sha256sums=('e22f51b693f7fb293b6a111072cada00bc227fcdc2575bcb1c45f10fa25f5738'
-            'SKIP')
+depends=(python-setuptools nodejs-lts-carbon yarn python2)
+makedepends=('git')
+source=("git+https://github.com/buildbot/buildbot?signed#tag=$_tag_rev")
+sha256sums=('SKIP')
 validpgpkeys=(
   '390EB159056ED56F66AB1092AECD456B4D2531FC'  # Pierre Tardy <tardyp at gmail.com>
 )
 
 build() {
-  cd buildbot-$pkgver/pkg
+  cd buildbot/pkg
   python setup.py build
 }
 
 package() {
-  cd buildbot-$pkgver/pkg
+  cd buildbot/pkg
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
 }



More information about the arch-commits mailing list