1 |
hwoarang 14/06/30 18:10:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: buildbot-0.8.9.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.153 dev-util/buildbot/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/ChangeLog?rev=1.153&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/ChangeLog?rev=1.153&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/ChangeLog?r1=1.152&r2=1.153 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v |
20 |
retrieving revision 1.152 |
21 |
retrieving revision 1.153 |
22 |
diff -u -r1.152 -r1.153 |
23 |
--- ChangeLog 10 Apr 2014 17:19:54 -0000 1.152 |
24 |
+++ ChangeLog 30 Jun 2014 18:10:33 -0000 1.153 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-util/buildbot |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v 1.152 2014/04/10 17:19:54 hwoarang Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v 1.153 2014/06/30 18:10:33 hwoarang Exp $ |
30 |
+ |
31 |
+*buildbot-0.8.9 (30 Jun 2014) |
32 |
+ |
33 |
+ 30 Jun 2014; Markos Chandras <hwoarang@g.o> +buildbot-0.8.9.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
10 Apr 2014; Markos Chandras <hwoarang@g.o> files/buildbot.service: |
37 |
Fix arguments for systemd's unit start/stop options. This will be removed in |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-util/buildbot/buildbot-0.8.9.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/buildbot-0.8.9.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/buildbot-0.8.9.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: buildbot-0.8.9.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/buildbot-0.8.9.ebuild,v 1.1 2014/06/30 18:10:33 hwoarang Exp $ |
51 |
|
52 |
EAPI="5" |
53 |
PYTHON_DEPEND="2" |
54 |
SUPPORT_PYTHON_ABIS="1" |
55 |
RESTRICT_PYTHON_ABIS="3.* *-jython" |
56 |
DISTUTILS_SRC_TEST="trial" |
57 |
DISTUTILS_DISABLE_TEST_DEPENDENCY="1" |
58 |
|
59 |
inherit distutils readme.gentoo systemd user |
60 |
|
61 |
MY_PV="${PV/_p/p}" |
62 |
MY_P="${PN}-${MY_PV}" |
63 |
|
64 |
DESCRIPTION="BuildBot build automation system" |
65 |
HOMEPAGE="http://trac.buildbot.net/ http://code.google.com/p/buildbot/ http://pypi.python.org/pypi/buildbot" |
66 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
67 |
|
68 |
LICENSE="GPL-2" |
69 |
SLOT="0" |
70 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" |
71 |
IUSE="doc examples irc mail manhole test" |
72 |
|
73 |
# sqlite3 module of Python 2.5 is not supported. |
74 |
RDEPEND=">=dev-python/jinja-2.1 |
75 |
|| ( dev-lang/python:2.7 dev-lang/python:2.6 dev-python/simplejson ) |
76 |
|| ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-python/pysqlite:2 ) |
77 |
>=dev-python/twisted-core-8.0.0 |
78 |
dev-python/twisted-web |
79 |
<dev-python/sqlalchemy-migrate-0.8 |
80 |
irc? ( dev-python/twisted-words ) |
81 |
mail? ( dev-python/twisted-mail ) |
82 |
manhole? ( dev-python/twisted-conch )" |
83 |
DEPEND="${DEPEND} |
84 |
dev-python/setuptools |
85 |
doc? ( dev-python/sphinx ) |
86 |
test? ( |
87 |
dev-python/python-dateutil |
88 |
dev-python/mock |
89 |
dev-python/twisted-mail |
90 |
dev-python/twisted-web |
91 |
dev-python/twisted-words |
92 |
)" |
93 |
|
94 |
S="${WORKDIR}/${MY_P}" |
95 |
|
96 |
pkg_setup() { |
97 |
python_pkg_setup |
98 |
enewuser buildbot |
99 |
|
100 |
DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added |
101 |
to support starting buildbot through Gentoo's init system. To use this, |
102 |
set up your build master following the documentation, make sure the |
103 |
resulting directories are owned by the \"buildbot\" user and point |
104 |
\"${EROOT}etc/conf.d/buildmaster\" at the right location. The scripts can |
105 |
run as a different user if desired. If you need to run more than one |
106 |
build master, just copy the scripts." |
107 |
} |
108 |
|
109 |
src_compile() { |
110 |
distutils_src_compile |
111 |
|
112 |
if use doc; then |
113 |
einfo "Generation of documentation" |
114 |
pushd docs > /dev/null |
115 |
#'man' target is currently broken |
116 |
emake html |
117 |
popd > /dev/null |
118 |
fi |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
distutils_src_install |
123 |
|
124 |
doman docs/buildbot.1 |
125 |
|
126 |
if use doc; then |
127 |
dohtml -r docs/_build/html/ |
128 |
# TODO: install man pages |
129 |
fi |
130 |
|
131 |
if use examples; then |
132 |
insinto /usr/share/doc/${PF} |
133 |
doins -r contrib docs/examples |
134 |
fi |
135 |
|
136 |
newconfd "${FILESDIR}/buildmaster.confd" buildmaster |
137 |
newinitd "${FILESDIR}/buildmaster.initd" buildmaster |
138 |
systemd_dounit "${FILESDIR}"/${PN}.service |
139 |
|
140 |
# In case of multiple masters, it's possible to edit web files |
141 |
# so all master can share the changes. So protect them! |
142 |
# If something else need to be protected, please open a bug |
143 |
# on http://bugs.gentoo.org |
144 |
local cp |
145 |
add_config_protect() { |
146 |
cp+=" $(python_get_sitedir)/${PN}/status/web" |
147 |
} |
148 |
python_execute_function -q add_config_protect |
149 |
echo "CONFIG_PROTECT=\"${cp}\"" \ |
150 |
> 85${PN} || die |
151 |
doenvd 85${PN} |
152 |
|
153 |
readme.gentoo_create_doc |
154 |
} |
155 |
|
156 |
pkg_postinst() { |
157 |
distutils_pkg_postinst |
158 |
readme.gentoo_print_elog |
159 |
elog |
160 |
elog "Upstream recommends the following when upgrading:" |
161 |
elog "Each time you install a new version of Buildbot, you should run the" |
162 |
elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters." |
163 |
elog "This will add files and fix (or at least detect) incompatibilities between" |
164 |
elog "your old config and the new code." |
165 |
} |