Gentoo Archives: gentoo-commits

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