Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/buildbot-worker/
Date: Fri, 28 Jan 2022 11:16:41
Message-Id: 1643368582.9d3523e2156d65be56e1f1a9e7ad176482722e4f.arthurzam@gentoo
1 commit: 9d3523e2156d65be56e1f1a9e7ad176482722e4f
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 28 11:08:38 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 28 11:16:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d3523e2
7
8 dev-util/buildbot-worker: update live version
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 .../buildbot-worker/buildbot-worker-9999.ebuild | 46 +++++++++-------------
13 1 file changed, 19 insertions(+), 27 deletions(-)
14
15 diff --git a/dev-util/buildbot-worker/buildbot-worker-9999.ebuild b/dev-util/buildbot-worker/buildbot-worker-9999.ebuild
16 index 605f3460526d..18ee776e0e52 100644
17 --- a/dev-util/buildbot-worker/buildbot-worker-9999.ebuild
18 +++ b/dev-util/buildbot-worker/buildbot-worker-9999.ebuild
19 @@ -1,26 +1,20 @@
20 -# Copyright 1999-2021 Gentoo Authors
21 +# Copyright 1999-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI="7"
25 -PYTHON_COMPAT=( python3_{7,8,9} )
26 +EAPI=8
27
28 +PYTHON_COMPAT=( python3_{8..10} )
29 EGIT_REPO_URI="https://github.com/buildbot/buildbot.git"
30 -
31 -DISTUTILS_USE_SETUPTOOLS="rdepend"
32 -
33 -inherit git-r3
34 -inherit readme.gentoo-r1 distutils-r1
35 +inherit readme.gentoo-r1 git-r3 distutils-r1
36
37 DESCRIPTION="BuildBot Worker (slave) Daemon"
38 -HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot-worker/"
39 -
40 -MY_V="${PV/_p/.post}"
41 -MY_P="${PN}-${MY_V}"
42 +HOMEPAGE="https://buildbot.net/
43 + https://github.com/buildbot/buildbot
44 + https://pypi.org/project/buildbot-worker/"
45 +S="${S}/worker"
46
47 LICENSE="GPL-2"
48 SLOT="0"
49 -KEYWORDS=""
50 -
51 IUSE="test"
52 RESTRICT="!test? ( test )"
53
54 @@ -30,27 +24,25 @@ RDEPEND="
55 dev-python/future[${PYTHON_USEDEP}]
56 !<dev-util/buildbot-1.0.0
57 "
58 -DEPEND="${RDEPEND}
59 +BDEPEND="
60 test? (
61 + ${RDEPEND}
62 dev-python/mock[${PYTHON_USEDEP}]
63 - dev-python/setuptools_trial[${PYTHON_USEDEP}]
64 )
65 "
66
67 -S="${S}/worker"
68 +DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added
69 +to support starting buildbot_worker through Gentoo's init system. To use this,
70 +execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
71 +Set up your build worker following the documentation, make sure the
72 +resulting directories are owned by the \"buildbot\" user and point
73 +\"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location.
74 +The scripts can run as a different user if desired."
75
76 -pkg_setup() {
77 - DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added
78 - to support starting buildbot_worker through Gentoo's init system. To use this,
79 - execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
80 - Set up your build worker following the documentation, make sure the
81 - resulting directories are owned by the \"buildbot\" user and point
82 - \"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location.
83 - The scripts can run as a different user if desired."
84 +python_test() {
85 + "${EPYTHON}" -m twisted.trial buildbot_worker || die "Tests failed with ${EPYTHON}"
86 }
87
88 -distutils_enable_tests setup.py
89 -
90 python_install_all() {
91 distutils-r1_python_install_all