Gentoo Archives: gentoo-commits

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