Gentoo Archives: gentoo-commits

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