blob: 76f10f2296f7ed6fe8de889ccf6683caa88c8736 (
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
53
54
55
56
57
58
59
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=buildbot-slave
pkgver=0.8.9
pkgrel=3
pkgdesc="Buildbot slave daemon"
url="https://buildbot.net/"
arch="noarch"
license="GPL-2.0"
depends="python2 py-twisted"
depends_dev=""
makedepends="python2-dev py-setuptools"
install="buildbot-slave.pre-install"
BUILDBOT_USER=buildbot
BUILDBOT_GROUP=buildbot
pkgusers="$BUILDBOT_USER"
pkggroups="$BUILDBOT_GROUP"
subpackages=""
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz
buildslave.initd
buildslave.confd"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
default_prepare || return 1
}
build() {
cd "$builddir"
python2 setup.py build || return 1
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" \
|| return 1
install -D -m 755 \
"$srcdir"/buildslave.initd \
"$pkgdir"/etc/init.d/buildslave \
|| return 1
install -D -m 644 \
"$srcdir"/buildslave.confd \
"$pkgdir"/etc/conf.d/buildslave \
|| return 1
install -d -o $BUILDBOT_USER -g $BUILDBOT_GROUP \
"$pkgdir"/var/lib/buildslave \
|| return 1
}
md5sums="b4c085dcad558b61af5233d1ea1ed750 buildbot-slave-0.8.9.tar.gz
6a07c39a20fd2de62eeac38332fc5ec4 buildslave.initd
3baaa33c0bc00e0fb6784f8c41482488 buildslave.confd"
sha256sums="864ca4a975bdbe3e973812a7d4ac7ffaf6f9ea5b6364e9ddb2fc92bccacf93af buildbot-slave-0.8.9.tar.gz
5c3247e53ae214b4c1913e8eccbf7c43f8707ec217deb1f4ec6bec4f351fbf09 buildslave.initd
c324eee07561afd8be623b46cd8f50cbbac5f1e42f2c493aa75dbaace6dcfa6f buildslave.confd"
sha512sums="3cc6b0cafe752fcfe5b91b70faff249cffb2dbfc03274cccffccd739ec448b66986db171924d14ba4de85e843b2f67a36650bcb965f600ec1dd8278f6198a283 buildbot-slave-0.8.9.tar.gz
217a9e3f774bcc7e7773d6e3047dbbabe196d168f814485ae54d1a94b330616fd80ad82bfa67c9b6185c39b780eae7a71776e727810ff4df337baca44d5fdbda buildslave.initd
54fc03a82cebf874c18d1bd739a6640677cfcd540b47a9929e6f5d63a83bd64bee615b033a72b49ab5fa3da69b16ff657805392ab0a68e0d33e48581fc8bb017 buildslave.confd"
|