blob: 02a88c9e150c0dedd6ecd05b20c5e0387fc8f585 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=buildbot-slave
pkgver=0.8.8
pkgrel=0
pkgdesc="Buildbot slave daemon"
url="http://buildbot.net/"
arch="noarch"
license="GPL-2"
depends="python py-twisted"
depends_dev=""
makedepends="python-dev py-setuptools"
install="buildbot-slave.pre-install"
subpackages=""
source="https://buildbot.googlecode.com/files/buildbot-slave-$pkgver.tar.gz
buildslave.initd
buildslave.confd"
_builddir="$srcdir"/buildbot-slave-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
install -m755 -D "$srcdir"/buildslave.initd \
"$pkgdir"/etc/init.d/buildslave || return 1
install -m644 -D "$srcdir"/buildslave.confd \
"$pkgdir"/etc/conf.d/buildslave || return 1
}
md5sums="9854d1df35cb09a5320b30b76eefd9ba buildbot-slave-0.8.8.tar.gz
2247778c260d7d14745d1fed9d44e84e buildslave.initd
3baaa33c0bc00e0fb6784f8c41482488 buildslave.confd"
sha256sums="8b7532d4d34527aea41e353d1bc3c35291ec335d3224c27800d2cc0cfc9837cc buildbot-slave-0.8.8.tar.gz
9f4c8d6946ebda59966256856a58dc0eae8581aa072dc0a018fe2f6b50af4170 buildslave.initd
c324eee07561afd8be623b46cd8f50cbbac5f1e42f2c493aa75dbaace6dcfa6f buildslave.confd"
sha512sums="1a5b02298696016a8743bc81e7e899a8bc11a09481f6c911cf4d3e016d111d707ca393d102635c4841d5f2ec5f3a0c9413dc0768170415a59c7523a3bc680fd1 buildbot-slave-0.8.8.tar.gz
b891240feaea7e96f5912f87ad88e45b9a877a1cb48d4dcac701f76ff5df212de52b84e5319df1d5064bce0c8aaf1ceac4af9b81d0fdb57a3840c6aefe0a3d6f buildslave.initd
54fc03a82cebf874c18d1bd739a6640677cfcd540b47a9929e6f5d63a83bd64bee615b033a72b49ab5fa3da69b16ff657805392ab0a68e0d33e48581fc8bb017 buildslave.confd"
|