Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/buildbot: buildbot-0.8.8.ebuild ChangeLog
Date: Fri, 30 Aug 2013 20:39:20
Message-Id: 20130830203914.3F5EC2004C@flycatcher.gentoo.org
1 hwoarang 13/08/30 20:39:14
2
3 Modified: ChangeLog
4 Added: buildbot-0.8.8.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
9
10 Revision Changes Path
11 1.138 dev-util/buildbot/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/ChangeLog?rev=1.138&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/ChangeLog?rev=1.138&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/ChangeLog?r1=1.137&r2=1.138
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v
20 retrieving revision 1.137
21 retrieving revision 1.138
22 diff -u -r1.137 -r1.138
23 --- ChangeLog 3 Aug 2013 09:45:39 -0000 1.137
24 +++ ChangeLog 30 Aug 2013 20:39:14 -0000 1.138
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/buildbot
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v 1.137 2013/08/03 09:45:39 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v 1.138 2013/08/30 20:39:14 hwoarang Exp $
30 +
31 +*buildbot-0.8.8 (30 Aug 2013)
32 +
33 + 30 Aug 2013; Markos Chandras <hwoarang@g.o> +buildbot-0.8.8.ebuild:
34 + Version bump
35
36 03 Aug 2013; Michał Górny <mgorny@g.o> buildbot-0.8.3_p1.ebuild,
37 buildbot-0.8.6_p1.ebuild, buildbot-0.8.7.ebuild, buildbot-0.8.7_p1.ebuild,
38
39
40
41 1.1 dev-util/buildbot/buildbot-0.8.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/buildbot-0.8.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/buildbot/buildbot-0.8.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: buildbot-0.8.8.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.8.ebuild,v 1.1 2013/08/30 20:39:14 hwoarang Exp $
51
52 EAPI="5"
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 readme.gentoo user
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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
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-core-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 DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added
101 to support starting buildbot through Gentoo's init system. To use this,
102 set up your build master following the documentation, make sure the
103 resulting directories are owned by the \"buildbot\" user and point
104 \"${EROOT}etc/conf.d/buildmaster\" at the right location. The scripts can
105 run as a different user if desired. If you need to run more than one
106 build master, just copy the scripts."
107 }
108
109 src_compile() {
110 distutils_src_compile
111
112 if use doc; then
113 einfo "Generation of documentation"
114 pushd docs > /dev/null
115 emake buildbot.html buildbot.info
116 popd > /dev/null
117 fi
118 }
119
120 src_install() {
121 distutils_src_install
122
123 doman docs/buildbot.1
124
125 if use doc; then
126 dohtml -r docs/buildbot.html docs/images
127 doinfo docs/buildbot.info
128 fi
129
130 if use examples; then
131 insinto /usr/share/doc/${PF}
132 doins -r contrib docs/examples
133 fi
134
135 newconfd "${FILESDIR}/buildmaster.confd" buildmaster
136 newinitd "${FILESDIR}/buildmaster.initd" buildmaster
137
138 # In case of multiple masters, it's possible to edit web files
139 # so all master can share the changes. So protect them!
140 # If something else need to be protected, please open a bug
141 # on http://bugs.gentoo.org
142 local cp
143 add_config_protect() {
144 cp+=" $(python_get_sitedir)/${PN}/status/web"
145 }
146 python_execute_function -q add_config_protect
147 echo "CONFIG_PROTECT=\"${cp}\"" \
148 > 85${PN} || die
149 doenvd 85${PN}
150
151 readme.gentoo_create_doc
152 }
153
154 pkg_postinst() {
155 distutils_pkg_postinst
156 readme.gentoo_print_elog
157 elog
158 elog "Upstream recommends the following when upgrading:"
159 elog "Each time you install a new version of Buildbot, you should run the"
160 elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
161 elog "This will add files and fix (or at least detect) incompatibilities between"
162 elog "your old config and the new code."
163 }