aboutsummaryrefslogtreecommitdiffstats
path: root/community/buildbot
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-03-29 09:29:00 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-03-29 09:29:00 +0000
commit902b68fbeb86af8126f7ad1a01c2d1e03b63af18 (patch)
tree72a8139dc093d0d6491648fff489b7fc92290776 /community/buildbot
parentc897935afaf1f2101b71c3060d9096a513340800 (diff)
downloadaports-902b68fbeb86af8126f7ad1a01c2d1e03b63af18.tar.bz2
aports-902b68fbeb86af8126f7ad1a01c2d1e03b63af18.tar.xz
community/buildbot: upgrade to 0.9.5, modernized APKBUILD
Diffstat (limited to 'community/buildbot')
-rw-r--r--community/buildbot/APKBUILD25
1 files changed, 13 insertions, 12 deletions
diff --git a/community/buildbot/APKBUILD b/community/buildbot/APKBUILD
index 1076006f05..397bf7df8e 100644
--- a/community/buildbot/APKBUILD
+++ b/community/buildbot/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=buildbot
-pkgver=0.9.4
+pkgver=0.9.5
pkgrel=0
pkgdesc="Continuous integration testing framework"
url="http://buildbot.net/"
@@ -24,32 +24,33 @@ source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$
builddir="$srcdir"/$pkgname-${pkgver/_/}
+check() {
+ cd "$builddir"
+ python2 setup.py check
+}
+
prepare() {
- default_prepare || return 1
+ default_prepare
}
build() {
cd "$builddir"
- python2 setup.py build || return 1
+ python2 setup.py build
}
package() {
cd "$builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" \
- || return 1
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
install -D -m 755 \
"$srcdir"/buildmaster.initd \
- "$pkgdir"/etc/init.d/buildmaster \
- || return 1
+ "$pkgdir"/etc/init.d/buildmaster
install -D -m 644 \
"$srcdir"/buildmaster.confd \
- "$pkgdir"/etc/conf.d/buildmaster \
- || return 1
+ "$pkgdir"/etc/conf.d/buildmaster
install -d -o $BUILDBOT_USER -g $BUILDBOT_GROUP \
- "$pkgdir"/var/lib/buildmaster \
- || return 1
+ "$pkgdir"/var/lib/buildmaster
}
-sha512sums="938a94192560b989a277d9650c50781d7e7c116bc5e2010ccb2e655df757de0ee254369531b2f432c835c0285c724e52d999a393d0ce1b104d4b9dcc5c6687da buildbot-0.9.4.tar.gz
+sha512sums="64d8ea6d80887ab697af6e6d3edb2080cbc0d478e52689b0eddfce4c7ffe8cadbc65e14087cffdf5c74c55593328452fe3e9bce976277412479defb80ff2e4ac buildbot-0.9.5.tar.gz
2e65d22f1b94433ba11839fb3434d072f9ff8132396b03fdcdb3b437778679d1699534296fbb851d2661a3a7a0bce4ef1f94c49e7910419557e4055f2ed1a4d5 buildmaster.initd
d9339c30d3a92e92b41b0e3139ec89ecbd1460b0e4ee6c6fe2560c4307b2eb3f29b838c2f2312b9c7049bd95eaf652d09039227c691af805bc25a36999ec1840 buildmaster.confd"