1 |
commit: 29142fb582cf5658e3ddd01f85e1d3038c6bbd5e |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 10 21:53:09 2017 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 10 22:00:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29142fb5 |
7 |
|
8 |
dev-util/buildbot: Version bump, clean oldest -0.8 release |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
dev-util/buildbot/Manifest | 2 +- |
13 |
dev-util/buildbot/buildbot-0.8.10.ebuild | 97 ---------------------- |
14 |
...buildbot-9999.ebuild => buildbot-0.9.10.ebuild} | 12 ++- |
15 |
dev-util/buildbot/buildbot-9999.ebuild | 1 - |
16 |
4 files changed, 11 insertions(+), 101 deletions(-) |
17 |
|
18 |
diff --git a/dev-util/buildbot/Manifest b/dev-util/buildbot/Manifest |
19 |
index a0e595b72df..21102ff942a 100644 |
20 |
--- a/dev-util/buildbot/Manifest |
21 |
+++ b/dev-util/buildbot/Manifest |
22 |
@@ -1,5 +1,5 @@ |
23 |
-DIST buildbot-0.8.10.tar.gz 4822307 SHA256 c4964d2ebd81cb80a14cb058fb2aab0572a1d8d86672d514e775b42deb08a5f4 SHA512 e148a1670a56837587d858d1697fe117661cbbfedab42bf7be905f9e8e4266e4ff0170b0cd81aed61234d30497a05427061c3084033f09811d0bc306b200661b WHIRLPOOL 26397b6f914266201aba4feb4df7353facad4fd0f51bdf7e35cf25205c45eadcf83f24c265e540b13d327750ce9561362be6a5aa237152cf1298d970c504f76c |
24 |
DIST buildbot-0.8.12.tar.gz 4834352 SHA256 c6b66976dff712268566574d57131ec15e5682f6d4390cd5c8559bab0980c4d6 SHA512 18c5144132fb033f3581d3c494d5e8ff35d3e8b1548764452ce9ae543d710e58a2c6e3e8e46a0ef237804f9a6a45485890ae4616ab655fb00d4ccf328d6f6645 WHIRLPOOL 5754b7c0278fb5e7da8a7dd66253f6f4d12f54c125f6a78aa9018a2b6b22fd88a27e79e6821ab05e4cd9e87bf0dd08c3c73c7914d4c499ac13c48ca232ed21c8 |
25 |
+DIST buildbot-0.9.10.tar.gz 3112750 SHA256 8c5ed75f3f16f4ff0f2c9e3f9b091acb5e6e1c0ef68ffa8f687a55413a833143 SHA512 95b489d5f7d0bc00ae5f71cd056b36fe689c4dc9408a7a0e4b1b45e036c9074832c8e3755981520a8c85a791b50f7f40765962c12a71887198dc0bbd0140d0e0 WHIRLPOOL 8d62d0aecdea4122709693ce48c72d5dbac2e946a6923a7ea41842dc759369a678e21a8abb0b4ff825e1ba559a9d490bcc4ff56fc5568a4f7f2d94b4f6c5f027 |
26 |
DIST buildbot-0.9.4.docs.tar.xz 69224 SHA256 69fc33762a885568b02c42954a64d62d28bcb750b3aed011c3da8a9f84c13371 SHA512 906e551e0db32c8a0b4010b3b8b00c4776e3d1b7d7381e4dc0ccf01d361184e4605c3ab0ecaf4e42207bd73c3e72f8a570a4d4c29db72f4d68241abf48741d7e WHIRLPOOL 95f263e0b9ab22a649118f362d866b08cbdf62511f2a1f9bd6a7265103f174e35d0c8d86ad6a3b7dd5fd0b4277d60dbd25801c5e6f7e414e7fa634c241dae987 |
27 |
DIST buildbot-0.9.4.tar.gz 3020851 SHA256 068161cd9ada10b87f40117c768a37ce796ebf5e7bf08f224f4c7ded88cd7472 SHA512 938a94192560b989a277d9650c50781d7e7c116bc5e2010ccb2e655df757de0ee254369531b2f432c835c0285c724e52d999a393d0ce1b104d4b9dcc5c6687da WHIRLPOOL 0ffe61b82ee93b78cdb3cb74ef96d5a3547e0fcab9ec8093b59a7212c5e2a1ad16eff046306bffcc0ea63b2e0bf2df1e54b5a0874dc78e27744db2088ccac804 |
28 |
DIST buildbot-0.9.7.tar.gz 3092434 SHA256 8fcbf0e6536e5d60407f59d14f96d5f8386cd91846a4fa47b4336d71551a9e33 SHA512 3fd2b488cabac37e297bb1a475cdb115f261324a22ec4d6fbcf8dc5bfb6ee135fab3763998433be8795581d476f69e2adb6f42d248bf2131a42eecfc1667202a WHIRLPOOL 427d4c1c452f767550a3d2731b2e34480c399dcf50e57d4fb69f0a350f381e3e7ecc47d712fc8fbb99afcf8b230c7bd3afe8437ec3b24bf9ddbf7d35b4d1caad |
29 |
|
30 |
diff --git a/dev-util/buildbot/buildbot-0.8.10.ebuild b/dev-util/buildbot/buildbot-0.8.10.ebuild |
31 |
deleted file mode 100644 |
32 |
index 87e8bcf233e..00000000000 |
33 |
--- a/dev-util/buildbot/buildbot-0.8.10.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,97 +0,0 @@ |
36 |
-# Copyright 1999-2017 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI="5" |
40 |
-PYTHON_COMPAT=( python2_7 ) |
41 |
-PYTHON_REQ_USE="sqlite" |
42 |
- |
43 |
-inherit distutils-r1 readme.gentoo systemd user |
44 |
- |
45 |
-MY_PV="${PV/_p/p}" |
46 |
-MY_P="${PN}-${MY_PV}" |
47 |
- |
48 |
-DESCRIPTION="BuildBot build automation system" |
49 |
-HOMEPAGE="http://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.python.org/pypi/buildbot" |
50 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
51 |
- |
52 |
-LICENSE="GPL-2" |
53 |
-SLOT="0" |
54 |
-KEYWORDS="~alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" |
55 |
-IUSE="doc examples irc mail manhole test" |
56 |
- |
57 |
-RDEPEND=">=dev-python/jinja-2.1[${PYTHON_USEDEP}] |
58 |
- dev-python/twisted-core[${PYTHON_USEDEP}] |
59 |
- dev-python/twisted-web[${PYTHON_USEDEP}] |
60 |
- <=dev-python/sqlalchemy-0.7.10-r999[${PYTHON_USEDEP}] |
61 |
- ~dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}] |
62 |
- irc? ( dev-python/twisted-words[${PYTHON_USEDEP}] ) |
63 |
- mail? ( dev-python/twisted-mail[${PYTHON_USEDEP}] ) |
64 |
- manhole? ( dev-python/twisted-conch[${PYTHON_USEDEP}] )" |
65 |
-DEPEND="${DEPEND} |
66 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
67 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
68 |
- test? ( |
69 |
- dev-python/python-dateutil[${PYTHON_USEDEP}] |
70 |
- dev-python/mock[${PYTHON_USEDEP}] |
71 |
- dev-python/twisted-mail[${PYTHON_USEDEP}] |
72 |
- dev-python/twisted-web[${PYTHON_USEDEP}] |
73 |
- dev-python/twisted-words[${PYTHON_USEDEP}] |
74 |
- )" |
75 |
- |
76 |
-S="${WORKDIR}/${MY_P}" |
77 |
- |
78 |
-pkg_setup() { |
79 |
- enewuser buildbot |
80 |
- |
81 |
- DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added |
82 |
- to support starting buildbot through Gentoo's init system. To use this, |
83 |
- set up your build master following the documentation, make sure the |
84 |
- resulting directories are owned by the \"buildbot\" user and point |
85 |
- \"${EROOT}etc/conf.d/buildmaster\" at the right location. The scripts can |
86 |
- run as a different user if desired. If you need to run more than one |
87 |
- build master, just copy the scripts." |
88 |
-} |
89 |
- |
90 |
-src_compile() { |
91 |
- distutils-r1_src_compile |
92 |
- |
93 |
- if use doc; then |
94 |
- einfo "Generation of documentation" |
95 |
- pushd docs > /dev/null |
96 |
- #'man' target is currently broken |
97 |
- emake html |
98 |
- popd > /dev/null |
99 |
- fi |
100 |
-} |
101 |
- |
102 |
-src_install() { |
103 |
- distutils-r1_src_install |
104 |
- |
105 |
- doman docs/buildbot.1 |
106 |
- |
107 |
- if use doc; then |
108 |
- dohtml -r docs/_build/html/ |
109 |
- # TODO: install man pages |
110 |
- fi |
111 |
- |
112 |
- if use examples; then |
113 |
- insinto /usr/share/doc/${PF} |
114 |
- doins -r contrib docs/examples |
115 |
- fi |
116 |
- |
117 |
- newconfd "${FILESDIR}/buildmaster.confd" buildmaster |
118 |
- newinitd "${FILESDIR}/buildmaster.initd" buildmaster |
119 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
120 |
- |
121 |
- readme.gentoo_create_doc |
122 |
-} |
123 |
- |
124 |
-pkg_postinst() { |
125 |
- readme.gentoo_print_elog |
126 |
- elog |
127 |
- elog "Upstream recommends the following when upgrading:" |
128 |
- elog "Each time you install a new version of Buildbot, you should run the" |
129 |
- elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters." |
130 |
- elog "This will add files and fix (or at least detect) incompatibilities between" |
131 |
- elog "your old config and the new code." |
132 |
-} |
133 |
|
134 |
diff --git a/dev-util/buildbot/buildbot-9999.ebuild b/dev-util/buildbot/buildbot-0.9.10.ebuild |
135 |
similarity index 96% |
136 |
copy from dev-util/buildbot/buildbot-9999.ebuild |
137 |
copy to dev-util/buildbot/buildbot-0.9.10.ebuild |
138 |
index ed83f831994..faf2365417b 100644 |
139 |
--- a/dev-util/buildbot/buildbot-9999.ebuild |
140 |
+++ b/dev-util/buildbot/buildbot-0.9.10.ebuild |
141 |
@@ -10,7 +10,7 @@ EGIT_REPO_URI="https://github.com/buildbot/${PN}.git" |
142 |
[[ ${PV} == *9999 ]] && inherit git-r3 |
143 |
inherit readme.gentoo-r1 user systemd distutils-r1 |
144 |
|
145 |
-MY_PV="${PV/_p/p}" |
146 |
+MY_PV="${PV/_p/.post}" |
147 |
MY_P="${PN}-${MY_PV}" |
148 |
|
149 |
DESCRIPTION="BuildBot build automation system" |
150 |
@@ -46,7 +46,6 @@ RDEPEND=" |
151 |
>=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}] |
152 |
>=dev-python/txaio-2.2.2[${PYTHON_USEDEP}] |
153 |
dev-python/pyjwt[${PYTHON_USEDEP}] |
154 |
- dev-python/distro[${PYTHON_USEDEP}] |
155 |
>=dev-python/zope-interface-4.1.1[${PYTHON_USEDEP}] |
156 |
~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}] |
157 |
" |
158 |
@@ -89,6 +88,15 @@ pkg_setup() { |
159 |
The scripts can run as a different user if desired." |
160 |
} |
161 |
|
162 |
+python_prepare_all() { |
163 |
+ # Disable distribution version test. |
164 |
+ sed \ |
165 |
+ -e 's/self.assertNotIn("unknown", distro\[1\])//' \ |
166 |
+ -i buildbot/test/unit/test_buildbot_net_usage_data.py || die |
167 |
+ |
168 |
+ distutils-r1_python_prepare_all |
169 |
+} |
170 |
+ |
171 |
src_compile() { |
172 |
distutils-r1_src_compile |
173 |
|
174 |
|
175 |
diff --git a/dev-util/buildbot/buildbot-9999.ebuild b/dev-util/buildbot/buildbot-9999.ebuild |
176 |
index ed83f831994..d3239e23f64 100644 |
177 |
--- a/dev-util/buildbot/buildbot-9999.ebuild |
178 |
+++ b/dev-util/buildbot/buildbot-9999.ebuild |
179 |
@@ -46,7 +46,6 @@ RDEPEND=" |
180 |
>=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}] |
181 |
>=dev-python/txaio-2.2.2[${PYTHON_USEDEP}] |
182 |
dev-python/pyjwt[${PYTHON_USEDEP}] |
183 |
- dev-python/distro[${PYTHON_USEDEP}] |
184 |
>=dev-python/zope-interface-4.1.1[${PYTHON_USEDEP}] |
185 |
~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}] |
186 |
" |