Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/buildbot-worker/
Date: Thu, 01 Sep 2016 17:14:37
Message-Id: 1472750028.cc95c65089bf028abe9029845e5660f6f4fb646c.dolsen@gentoo
1 commit: cc95c65089bf028abe9029845e5660f6f4fb646c
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 1 17:11:28 2016 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 1 17:13:48 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc95c650
7
8 dev-util/buildbot-worker: Version bump
9
10 Package-Manager: portage-2.3.0
11
12 dev-util/buildbot-worker/Manifest | 1 +
13 .../buildbot-worker-0.9.0_rc2.ebuild | 66 ++++++++++++++++++++++
14 2 files changed, 67 insertions(+)
15
16 diff --git a/dev-util/buildbot-worker/Manifest b/dev-util/buildbot-worker/Manifest
17 index f5d3c01..8bac03b 100644
18 --- a/dev-util/buildbot-worker/Manifest
19 +++ b/dev-util/buildbot-worker/Manifest
20 @@ -1 +1,2 @@
21 DIST buildbot-worker-0.9.0rc1.tar.gz 98041 SHA256 5fc9bc888aee3af5e144c51a6c11d8f5afe57e459644749c66b495e82fba7e7e SHA512 c9201649d8af74bc988032a69c20b220bf70b2fe7bba7eb27638408a34f2d82b90f6421a39f3a2af8cfbe8ea11429dc04faa1de635bff77fd5a9b13c9d78f167 WHIRLPOOL 6205a8bc018a65674e955fa6edeb9f32ec1f0dbc05bf50f649cab7271f506cfad61c8556a05c0d2185f364b9b9a493130bdea2e798cd96238f7b0797f6d12257
22 +DIST buildbot-worker-0.9.0rc2.tar.gz 95743 SHA256 12dd257a309b2af72cfc8e180bbcccf4fcd843786d5d2fb635967eef844682a6 SHA512 77773d06e86b03087215c045887f24f636ee7a3f9aafa59e3905f01fb3b7abee35308e25a7bec20cbf3cd5240db0569648f38413abdd5ca3b61f03c94bfc8801 WHIRLPOOL 8fa33af9e663e7f3b026a463d49707657dbaf8be0d57f5c47c9cdc4ca326aa5bbffb9589d1a0c8dc1c2be6cdc989c69e81ab69d29548c7d05dac08df6a352fff
23
24 diff --git a/dev-util/buildbot-worker/buildbot-worker-0.9.0_rc2.ebuild b/dev-util/buildbot-worker/buildbot-worker-0.9.0_rc2.ebuild
25 new file mode 100644
26 index 00000000..2d9c580
27 --- /dev/null
28 +++ b/dev-util/buildbot-worker/buildbot-worker-0.9.0_rc2.ebuild
29 @@ -0,0 +1,66 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI="5"
35 +PYTHON_COMPAT=( python2_7 )
36 +
37 +EGIT_REPO_URI="https://github.com/buildbot/buildbot.git"
38 +
39 +[[ ${PV} == *9999 ]] && inherit git-r3
40 +inherit readme.gentoo user distutils-r1
41 +
42 +DESCRIPTION="BuildBot Slave Daemon"
43 +HOMEPAGE="http://trac.buildbot.net/ http://code.google.com/p/buildbot/ http://pypi.python.org/pypi/buildbot-slave"
44 +
45 +MY_V="0.9.0rc2"
46 +MY_P="${PN}-${MY_V}"
47 +[[ ${PV} == *9999 ]] || SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +if [[ ${PV} == *9999 ]]; then
52 + KEYWORDS=""
53 +else
54 + KEYWORDS="~amd64"
55 +fi
56 +IUSE="test"
57 +
58 +RDEPEND=">=dev-python/setuptools-21.2.1[${PYTHON_USEDEP}]
59 + || ( >=dev-python/twisted-core-8.0.0[${PYTHON_USEDEP}]
60 + >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
61 + )
62 + dev-python/future[${PYTHON_USEDEP}]
63 + !<dev-util/buildbot-0.9.0_rc1"
64 +DEPEND="${RDEPEND}
65 + test? ( dev-python/mock[${PYTHON_USEDEP}] )"
66 +
67 +S="${WORKDIR}/${MY_P}"
68 +[[ ${PV} == *9999 ]] && S=${S}/slave
69 +
70 +pkg_setup() {
71 + enewuser buildbot
72 +
73 + DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added
74 + to support starting buildbot_worker through Gentoo's init system. To use this,
75 + set up your build worker following the documentation, make sure the
76 + resulting directories are owned by the \"buildbot\" user and point
77 + \"${ROOT}etc/conf.d/buildbot_worker\" at the right location. The scripts can
78 + run as a different user if desired. If you need to run more than one
79 + build worker, just copy the scripts."
80 +}
81 +
82 +python_install_all() {
83 + distutils-r1_python_install_all
84 +
85 + doman docs/buildbot-worker.1
86 +
87 + newconfd "${FILESDIR}/buildbot_worker.confd" buildbot_worker
88 + newinitd "${FILESDIR}/buildbot_worker.initd" buildbot_worker
89 +
90 + readme.gentoo_create_doc
91 +}
92 +
93 +pkg_postinst() {
94 + readme.gentoo_print_elog
95 +}