# Contributor: Carlo Landmeter # Maintainer: setglobal pkgname = 'buildbot-slave' setglobal pkgver = '0.8.9' setglobal pkgrel = '2' setglobal pkgdesc = '"Buildbot slave daemon'" setglobal url = '"http://buildbot.net/'" setglobal arch = '"noarch'" setglobal license = '"GPL2'" setglobal depends = '"python2 py-twisted'" setglobal depends_dev = ''"" setglobal makedepends = '"python2-dev py-setuptools'" setglobal install = '"buildbot-slave.pre-install'" setglobal BUILDBOT_USER = 'buildbot' setglobal BUILDBOT_GROUP = 'buildbot' setglobal pkgusers = $BUILDBOT_USER setglobal pkggroups = $BUILDBOT_GROUP setglobal subpackages = ''"" setglobal source = ""https://files.pythonhosted.org/packages/source/$(pkgname:0:1)/$pkgname/$pkgname-$pkgver.tar.gz buildslave.initd buildslave.confd"" setglobal builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { default_prepare || return 1 } proc build { cd $builddir python2 setup.py build || return 1 } proc 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 } setglobal md5sums = '"b4c085dcad558b61af5233d1ea1ed750 buildbot-slave-0.8.9.tar.gz 6a07c39a20fd2de62eeac38332fc5ec4 buildslave.initd 3baaa33c0bc00e0fb6784f8c41482488 buildslave.confd'" setglobal sha256sums = '"864ca4a975bdbe3e973812a7d4ac7ffaf6f9ea5b6364e9ddb2fc92bccacf93af buildbot-slave-0.8.9.tar.gz 5c3247e53ae214b4c1913e8eccbf7c43f8707ec217deb1f4ec6bec4f351fbf09 buildslave.initd c324eee07561afd8be623b46cd8f50cbbac5f1e42f2c493aa75dbaace6dcfa6f buildslave.confd'" setglobal sha512sums = '"3cc6b0cafe752fcfe5b91b70faff249cffb2dbfc03274cccffccd739ec448b66986db171924d14ba4de85e843b2f67a36650bcb965f600ec1dd8278f6198a283 buildbot-slave-0.8.9.tar.gz 217a9e3f774bcc7e7773d6e3047dbbabe196d168f814485ae54d1a94b330616fd80ad82bfa67c9b6185c39b780eae7a71776e727810ff4df337baca44d5fdbda buildslave.initd 54fc03a82cebf874c18d1bd739a6640677cfcd540b47a9929e6f5d63a83bd64bee615b033a72b49ab5fa3da69b16ff657805392ab0a68e0d33e48581fc8bb017 buildslave.confd'"