Gentoo Archives: gentoo-commits

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