Gentoo Archives: gentoo-commits

From: "Ali Polatel (hawking)" <hawking@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/buildbot: ChangeLog buildbot-0.7.7-r1.ebuild
Date: Tue, 27 May 2008 18:02:50
Message-Id: E1K13VX-0007Za-OW@stork.gentoo.org
1 hawking 08/05/27 18:02:47
2
3 Modified: ChangeLog
4 Added: buildbot-0.7.7-r1.ebuild
5 Log:
6 Revision bump. Fixed initscript #223853.
7 (Portage version: 2.1.5.2)
8
9 Revision Changes Path
10 1.21 dev-util/buildbot/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/buildbot/ChangeLog?rev=1.21&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/buildbot/ChangeLog?rev=1.21&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/buildbot/ChangeLog?r1=1.20&r2=1.21
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v
19 retrieving revision 1.20
20 retrieving revision 1.21
21 diff -u -r1.20 -r1.21
22 --- ChangeLog 27 May 2008 16:45:29 -0000 1.20
23 +++ ChangeLog 27 May 2008 18:02:47 -0000 1.21
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-util/buildbot
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v 1.20 2008/05/27 16:45:29 corsair Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v 1.21 2008/05/27 18:02:47 hawking Exp $
29 +
30 +*buildbot-0.7.7-r1 (27 May 2008)
31 +
32 + 27 May 2008; Ali Polatel <hawking@g.o> +files/buildbot.initd-r1,
33 + +buildbot-0.7.7-r1.ebuild:
34 + Revision bump. Fixed initscript #223853.
35
36 27 May 2008; Markus Rothe <corsair@g.o> buildbot-0.7.6.ebuild:
37 Stable on ppc64; bug #223437
38
39
40
41 1.1 dev-util/buildbot/buildbot-0.7.7-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/buildbot/buildbot-0.7.7-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/buildbot/buildbot-0.7.7-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: buildbot-0.7.7-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 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.7.7-r1.ebuild,v 1.1 2008/05/27 18:02:47 hawking Exp $
51
52 NEED_PYTHON="2.3"
53
54 inherit distutils eutils
55
56 DESCRIPTION="A Python system to automate the compile/test cycle to validate code changes"
57 HOMEPAGE="http://buildbot.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
62 IUSE="doc irc mail test web"
63
64 CDEPEND=">=dev-python/twisted-2.0.1"
65 RDEPEND="${CDEPEND}
66 mail? ( dev-python/twisted-mail )
67 irc? ( dev-python/twisted-words )
68 web? ( dev-python/twisted-web )"
69 DEPEND="${CDEPEND}
70 test? ( dev-python/twisted-web
71 dev-python/twisted-mail )
72 doc? ( =dev-python/epydoc-2* )"
73
74 pkg_setup() {
75 enewuser buildbot
76 }
77
78 src_unpack() {
79 unpack ${A}
80 cd "${S}"
81
82 epatch "${FILESDIR}/${PN}-0.7.5-root-skip-tests.patch"
83 }
84
85 src_compile() {
86 distutils_src_compile
87 if use doc; then
88 PYTHONPATH=. "${python}" docs/epyrun -o docs/reference || \
89 die "epyrun failed"
90 fi
91 }
92
93 src_test() {
94 local trialopts
95 if ! has_version ">=dev-python/twisted-2.2"; then
96 trialopts=-R
97 fi
98 PYTHONPATH=. trial ${trialopts} buildbot || die "tests failed!"
99 }
100
101 src_install() {
102 distutils_src_install
103 doinfo docs/buildbot.info
104 dohtml -r docs/buildbot.html docs/images
105
106 insinto /usr/share/doc/${PF}
107 doins -r docs/examples
108
109 use doc && doins -r docs/reference
110
111 newconfd "${FILESDIR}/buildslave.confd" buildslave
112 newinitd "${FILESDIR}/buildbot.initd-r1" buildslave
113 newconfd "${FILESDIR}/buildmaster.confd" buildmaster
114 newinitd "${FILESDIR}/buildbot.initd-r1" buildmaster
115
116 # Make it print the right names when you start/stop the script.
117 sed -i -e 's/@buildbot@/buildslave/' \
118 "${D}/etc/init.d/buildslave" || die "buildslave sed failed"
119 sed -i -e 's/@buildbot@/buildmaster/' \
120 "${D}/etc/init.d/buildmaster" || die "buildmaster sed failed"
121 }
122
123 pkg_postinst() {
124 elog 'The "buildbot" user and the "buildmaster" and "buildslave" init'
125 elog "scripts were added to support starting buildbot through gentoo's"
126 elog "init system. To use this set up your build master or build slave"
127 elog "following the buildbot documentation, make sure the resulting"
128 elog 'directories are owned by the "buildbot" user and point'
129 elog "${ROOT}etc/conf.d/buildmaster or ${ROOT}etc/conf.d/buildslave"
130 elog "at the right location. The scripts can run as a different user"
131 elog "if desired. If you need to run more than one master or slave"
132 elog "just copy the scripts."
133 elog ""
134 elog "Upstream recommends the following when upgrading:"
135 elog "Each time you install a new version of Buildbot, you should run the new"
136 elog "'buildbot upgrade-master' command on each of your pre-existing buildmasters."
137 elog "This will add files and fix (or at least detect) incompatibilities between"
138 elog "your old config and the new code."
139 }
140
141
142
143 --
144 gentoo-commits@l.g.o mailing list