Gentoo Archives: gentoo-commits

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