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.8.0.ebuild
Date: Thu, 27 May 2010 16:25:02
Message-Id: 20100527162457.293CA2CF38@corvid.gentoo.org
1 arfrever 10/05/27 16:24:56
2
3 Modified: ChangeLog
4 Added: buildbot-0.8.0.ebuild
5 Log:
6 Version bump.
7 (Portage version: HEAD/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.56 dev-util/buildbot/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/ChangeLog?rev=1.56&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/ChangeLog?rev=1.56&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/ChangeLog?r1=1.55&r2=1.56
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v
19 retrieving revision 1.55
20 retrieving revision 1.56
21 diff -u -r1.55 -r1.56
22 --- ChangeLog 20 Feb 2010 18:48:48 -0000 1.55
23 +++ ChangeLog 27 May 2010 16:24:56 -0000 1.56
24 @@ -1,6 +1,12 @@
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.55 2010/02/20 18:48:48 arfrever Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v 1.56 2010/05/27 16:24:56 arfrever Exp $
29 +
30 +*buildbot-0.8.0 (27 May 2010)
31 +
32 + 27 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +buildbot-0.8.0.ebuild:
34 + Version bump.
35
36 20 Feb 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
37 buildbot-0.7.12.ebuild:
38
39
40
41 1.1 dev-util/buildbot/buildbot-0.8.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/buildbot-0.8.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/buildbot-0.8.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: buildbot-0.8.0.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.8.0.ebuild,v 1.1 2010/05/27 16:24:56 arfrever Exp $
51
52 EAPI="3"
53 PYTHON_DEPEND="2"
54 SUPPORT_PYTHON_ABIS="1"
55 DISTUTILS_SRC_TEST="trial"
56 DISTUTILS_DISABLE_TEST_DEPENDENCY="1"
57
58 inherit distutils eutils
59
60 MY_PV="${PV/_p/p}"
61 MY_P="${PN}-${MY_PV}"
62
63 DESCRIPTION="A Python system to automate the compile/test cycle to validate code changes"
64 HOMEPAGE="http://buildbot.net/ http://pypi.python.org/pypi/buildbot"
65 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
70 IUSE="doc irc mail manhole test"
71
72 RDEPEND=">=dev-python/twisted-2.0.1
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="${DEPEND}
79 test? ( dev-python/twisted-mail
80 dev-python/twisted-web
81 dev-python/twisted-words )
82 doc? ( dev-python/epydoc )"
83 RESTRICT_PYTHON_ABIS="3.*"
84
85 S="${WORKDIR}/${MY_P}"
86
87 pkg_setup() {
88 enewuser buildbot
89 python_pkg_setup
90 }
91
92 src_compile() {
93 distutils_src_compile
94
95 if use doc; then
96 einfo "Generation of documentation"
97 PYTHONPATH="." "$(PYTHON -f)" docs/epyrun -o docs/reference || die "Generation of documentation failed"
98 fi
99 }
100
101 src_install() {
102 distutils_src_install
103 doinfo docs/buildbot.info
104 dohtml -r docs/images
105
106 insinto /usr/share/doc/${PF}
107 doins -r contrib
108 doins -r docs/examples
109
110 if use doc; then
111 doins -r docs/reference || die "doins failed"
112 fi
113
114 newconfd "${FILESDIR}/buildslave.confd" buildslave || die "newconfd failed"
115 newinitd "${FILESDIR}/buildbot.initd-r1" buildslave || die "newinitd failed"
116 newconfd "${FILESDIR}/buildmaster.confd" buildmaster || die "newconfd failed"
117 newinitd "${FILESDIR}/buildbot.initd-r1" buildmaster || die "newinitd failed"
118
119 # Make it print the right names when you start/stop the script.
120 sed -e "s/@buildbot@/buildslave/" -i "${ED}etc/init.d/buildslave" || die "sed buildslave failed"
121 sed -e "s/@buildbot@/buildmaster/" -i "${ED}etc/init.d/buildmaster" || die "sed buildmaster failed"
122 }
123
124 pkg_postinst() {
125 distutils_pkg_postinst
126
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 recommends 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 }