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