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, 02 Feb 2017 00:23:20
Message-Id: 1485994974.6b6c68dcf42f70b3128b74bf5d96af081e73f93f.dolsen@gentoo
1 commit: 6b6c68dcf42f70b3128b74bf5d96af081e73f93f
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 2 00:14:56 2017 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 2 00:22:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b6c68dc
7
8 dev-util/buildbot-worker: Re-add the 0.9.0_p1 release due to a regression in newer versions
9
10 Package-Manager: Portage-2.3.3_p38, Repoman-2.3.1_p31
11
12 dev-util/buildbot-worker/Manifest | 1 +
13 .../buildbot-worker-0.9.0_p1.ebuild | 67 ++++++++++++++++++++++
14 2 files changed, 68 insertions(+)
15
16 diff --git a/dev-util/buildbot-worker/Manifest b/dev-util/buildbot-worker/Manifest
17 index 6bed4df..428234f 100644
18 --- a/dev-util/buildbot-worker/Manifest
19 +++ b/dev-util/buildbot-worker/Manifest
20 @@ -1,3 +1,4 @@
21 +DIST buildbot-worker-0.9.0.post1.tar.gz 95780 SHA256 9da22fdf23462680a37d3995cde75410f204d3cb417491363e3f6561fc9011b9 SHA512 50eb98ad4f870f15b1cc34113db139b3b290bef377b4f66ac7c023590f277c102b8776e3a009f296209cf524377c10f60435b18f47cc39d6c27af04778d3296e WHIRLPOOL 1dd5d4274281fe4f582b5e7b83a99693c41282cb2a5262b8899319d3a1e95888417174b8db4ed9f8dcd52ee66785adac98f0d2ecc8abc158a661dfdfa6cd33da
22 DIST buildbot-worker-0.9.1.tar.gz 65852 SHA256 1d8ec4fd51e7a3a7dd4de7c512b282c221951cbacc6b2eaf15a157f371a0e902 SHA512 cf5749c6fd67fb72cd7043392efb502608cd2d11374cd43af351904a1b4e82d790338e5f745b47465b5cbf9501d2454d983648a70246c6ae55603ba51261a0d0 WHIRLPOOL e576879f141688e3f79e3cf746491bcc106cb4851f14d4960b10be45b7b01c33c6850fb856d6f083d8510ff78f73016e11250e9ef8864e33bace1834c315dafc
23 DIST buildbot-worker-0.9.2.tar.gz 66043 SHA256 3d05791ac0c556e3e4fe0ef78911ce47eab4fcbb0b5a51a436234ba49b9c236e SHA512 146c2f2b0c44f5c349459edbe61b448e88f9e42eb1c3b7769a0a07260533e4ad40d2d7bc3df2ebecd355d636834108debe8c2d165a9cdc6d849a537cf5743cc4 WHIRLPOOL f786c3a7ac486a2421877082da08a73079b7655ec0941a9509663983c03874bc8b5c12cb990628d0684db757d493528fab9ea3d99d09c22f2d2bbf606c69d0b5
24 DIST buildbot-worker-0.9.3.tar.gz 98622 SHA256 57b319a34d0118933e7b2488ee29732bc78c55be978fe34a90ef30f208b8d39c SHA512 a0b6b441eeb71e322a5009d6aa0049cbddc4bd4fc78c14cfd362f80d35385b3ffcf5546614b5920c7cdd574df195f5c510b4acdb925c37ad7e6823f7ab62df33 WHIRLPOOL c349bf7ed402fb90318f89135005976b0dbb8c8fc57679b1d5958ce0fdc52fc7f006aeccc9a3119cdd8c66912a8e6fd7e079471461181effd17d75ce9b16ddba
25
26 diff --git a/dev-util/buildbot-worker/buildbot-worker-0.9.0_p1.ebuild b/dev-util/buildbot-worker/buildbot-worker-0.9.0_p1.ebuild
27 new file mode 100644
28 index 00000000..7d8e88b
29 --- /dev/null
30 +++ b/dev-util/buildbot-worker/buildbot-worker-0.9.0_p1.ebuild
31 @@ -0,0 +1,67 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI="5"
37 +PYTHON_COMPAT=( python2_7 )
38 +
39 +EGIT_REPO_URI="https://github.com/buildbot/buildbot.git"
40 +
41 +[[ ${PV} == *9999 ]] && inherit git-r3
42 +inherit readme.gentoo user distutils-r1
43 +
44 +DESCRIPTION="BuildBot Slave Daemon"
45 +HOMEPAGE="http://trac.buildbot.net/ http://code.google.com/p/buildbot/ http://pypi.python.org/pypi/buildbot-slave"
46 +
47 +MY_V="0.9.0.post1"
48 +MY_P="${PN}-${MY_V}"
49 +[[ ${PV} == *9999 ]] || SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
50 +
51 +LICENSE="GPL-2"
52 +SLOT="0"
53 +if [[ ${PV} == *9999 ]]; then
54 + KEYWORDS=""
55 +else
56 + KEYWORDS="~amd64"
57 +fi
58 +IUSE="test"
59 +
60 +RDEPEND=">=dev-python/setuptools-21.2.1[${PYTHON_USEDEP}]
61 + || ( >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
62 + >=dev-python/twisted-core-8.0.0[${PYTHON_USEDEP}]
63 + )
64 + dev-python/future[${PYTHON_USEDEP}]
65 + !<dev-util/buildbot-0.9.0_rc1"
66 +DEPEND="${RDEPEND}
67 + test? ( dev-python/mock[${PYTHON_USEDEP}] )"
68 +
69 +S="${WORKDIR}/${MY_P}"
70 +[[ ${PV} == *9999 ]] && S=${S}/slave
71 +
72 +pkg_setup() {
73 + enewuser buildbot
74 +
75 + DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added
76 + to support starting buildbot_worker through Gentoo's init system. To use this,
77 + set up your build worker following the documentation, make sure the
78 + resulting directories are owned by the \"buildbot\" user and point
79 + \"${ROOT}etc/conf.d/buildbot_worker\" at the right location. The scripts can
80 + run as a different user if desired. If you need to run more than one
81 + build worker, just copy the scripts."
82 +}
83 +
84 +python_install_all() {
85 + distutils-r1_python_install_all
86 +
87 + doman docs/buildbot-worker.1
88 +
89 + newconfd "${FILESDIR}/buildbot_worker.confd" buildbot_worker
90 + newinitd "${FILESDIR}/buildbot_worker.initd" buildbot_worker
91 + systemd_dounit "${FILESDIR}/buildbot_worker.service"
92 +
93 + readme.gentoo_create_doc
94 +}
95 +
96 +pkg_postinst() {
97 + readme.gentoo_print_elog
98 +}