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.5.ebuild
Date: Mon, 26 Dec 2011 10:07:12
Message-Id: 20111226100702.ABCB72004B@flycatcher.gentoo.org
1 djc 11/12/26 10:07:02
2
3 Modified: ChangeLog
4 Added: buildbot-0.8.5.ebuild
5 Log:
6 Version bump buildbot to 0.8.5.
7
8 (Portage version: 2.1.10.43/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.96 dev-util/buildbot/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/ChangeLog?rev=1.96&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/ChangeLog?rev=1.96&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/ChangeLog?r1=1.95&r2=1.96
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v
20 retrieving revision 1.95
21 retrieving revision 1.96
22 diff -u -r1.95 -r1.96
23 --- ChangeLog 11 Sep 2011 20:12:57 -0000 1.95
24 +++ ChangeLog 26 Dec 2011 10:07:02 -0000 1.96
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/buildbot
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v 1.95 2011/09/11 20:12:57 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v 1.96 2011/12/26 10:07:02 djc Exp $
30 +
31 +*buildbot-0.8.5 (26 Dec 2011)
32 +
33 + 26 Dec 2011; Dirkjan Ochtman <djc@g.o> +buildbot-0.8.5.ebuild:
34 + Version bump to 0.8.5.
35
36 11 Sep 2011; Markus Meier <maekke@g.o> buildbot-0.8.4_p2.ebuild:
37 add ~arm, bug #381709
38
39
40
41 1.1 dev-util/buildbot/buildbot-0.8.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/buildbot-0.8.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/buildbot-0.8.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: buildbot-0.8.5.ebuild
47 ===================================================================
48 # Copyright 1999-2011 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.5.ebuild,v 1.1 2011/12/26 10:07:02 djc Exp $
51
52 EAPI="3"
53 PYTHON_DEPEND="2"
54 SUPPORT_PYTHON_ABIS="1"
55 RESTRICT_PYTHON_ABIS="3.* *-jython"
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="BuildBot build automation system"
65 HOMEPAGE="http://trac.buildbot.net/ http://code.google.com/p/buildbot/ http://pypi.python.org/pypi/buildbot"
66 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
67
68 LICENSE="GPL-2"
69 SLOT="0"
70 KEYWORDS="~amd64 ~arm ~hppa ~x86"
71 IUSE="doc examples irc mail manhole test"
72
73 # sqlite3 module of Python 2.5 is not supported.
74 RDEPEND=">=dev-python/jinja-2.1
75 || ( dev-lang/python:2.7 dev-lang/python:2.6 dev-python/simplejson )
76 || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-python/pysqlite:2 )
77 >=dev-python/twisted-8.0.0
78 dev-python/twisted-web
79 dev-python/sqlalchemy
80 dev-python/sqlalchemy-migrate
81 irc? ( dev-python/twisted-words )
82 mail? ( dev-python/twisted-mail )
83 manhole? ( dev-python/twisted-conch )"
84 DEPEND="${DEPEND}
85 dev-python/setuptools
86 doc? ( sys-apps/texinfo )
87 test? (
88 dev-python/mock
89 dev-python/twisted-mail
90 dev-python/twisted-web
91 dev-python/twisted-words
92 )"
93
94 S="${WORKDIR}/${MY_P}"
95
96 pkg_setup() {
97 python_pkg_setup
98 enewuser buildbot
99 }
100
101 src_prepare() {
102 distutils_src_prepare
103 # https://github.com/buildbot/buildbot/commit/a3abed70546b3742964994517bb27556e06f6e20
104 sed -e "s/sqlalchemy-migrate == 0.6/sqlalchemy-migrate ==0.6, ==0.7/" -i setup.py || die "sed failed"
105 }
106
107 src_compile() {
108 distutils_src_compile
109
110 if use doc; then
111 einfo "Generation of documentation"
112 pushd docs > /dev/null
113 emake buildbot.html buildbot.info
114 popd > /dev/null
115 fi
116 }
117
118 src_install() {
119 distutils_src_install
120
121 doman docs/buildbot.1
122
123 if use doc; then
124 dohtml -r docs/buildbot.html docs/images
125 doinfo docs/buildbot.info
126 fi
127
128 if use examples; then
129 insinto /usr/share/doc/${PF}
130 doins -r contrib docs/examples
131 fi
132
133 newconfd "${FILESDIR}/buildmaster.confd" buildmaster
134 newinitd "${FILESDIR}/buildmaster.initd" buildmaster
135 }
136
137 pkg_postinst() {
138 distutils_pkg_postinst
139
140 elog "The \"buildbot\" user and the \"buildmaster\" init script has been added"
141 elog "to support starting buildbot through Gentoo's init system. To use this,"
142 elog "set up your build master following the documentation, make sure the"
143 elog "resulting directories are owned by the \"buildbot\" user and point"
144 elog "\"${ROOT}etc/conf.d/buildmaster\" at the right location. The scripts can"
145 elog "run as a different user if desired. If you need to run more than one"
146 elog "build master, just copy the scripts."
147 elog
148 elog "Upstream recommends the following when upgrading:"
149 elog "Each time you install a new version of Buildbot, you should run the"
150 elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
151 elog "This will add files and fix (or at least detect) incompatibilities between"
152 elog "your old config and the new code."
153 }