Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/bzr: ChangeLog bzr-1.14.ebuild bzr-1.13.2.ebuild bzr-1.14_rc2.ebuild bzr-1.13.1.ebuild
Date: Fri, 01 May 2009 17:20:26
Message-Id: E1LzwPQ-0000G4-7Q@stork.gentoo.org
1 pva 09/05/01 17:20:24
2
3 Modified: ChangeLog
4 Added: bzr-1.14.ebuild bzr-1.13.2.ebuild
5 Removed: bzr-1.14_rc2.ebuild bzr-1.13.1.ebuild
6 Log:
7 Version bump.
8 (Portage version: 2.1.6.11/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.91 dev-util/bzr/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?rev=1.91&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?rev=1.91&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/ChangeLog?r1=1.90&r2=1.91
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v
20 retrieving revision 1.90
21 retrieving revision 1.91
22 diff -u -r1.90 -r1.91
23 --- ChangeLog 25 Apr 2009 06:50:03 -0000 1.90
24 +++ ChangeLog 1 May 2009 17:20:24 -0000 1.91
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-util/bzr
27 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.90 2009/04/25 06:50:03 pva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.91 2009/05/01 17:20:24 pva Exp $
30 +
31 +*bzr-1.14 (01 May 2009)
32 +*bzr-1.13.2 (01 May 2009)
33 +
34 + 01 May 2009; Peter Volkov <pva@g.o> -bzr-1.13.1.ebuild,
35 + +bzr-1.13.2.ebuild, -bzr-1.14_rc2.ebuild, +bzr-1.14.ebuild:
36 + Version bump.
37
38 *bzr-1.14_rc2 (25 Apr 2009)
39
40
41
42
43 1.1 dev-util/bzr/bzr-1.14.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-1.14.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-1.14.ebuild?rev=1.1&content-type=text/plain
47
48 Index: bzr-1.14.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/bzr-1.14.ebuild,v 1.1 2009/05/01 17:20:24 pva Exp $
53
54 EAPI=1
55
56 NEED_PYTHON=2.4
57
58 inherit distutils bash-completion elisp-common eutils versionator
59
60 MY_PV=${PV/_rc/rc}
61 MY_P=${PN}-${MY_PV}
62 SERIES=$(get_version_component_range 1-2)
63
64 DESCRIPTION="Bazaar is a next generation distributed version control system."
65 HOMEPAGE="http://bazaar-vcs.org/"
66 #SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz"
67 SRC_URI="http://launchpad.net/bzr/${SERIES}/${MY_PV}/+download/${MY_P}.tar.gz"
68
69 LICENSE="GPL-2"
70 SLOT="0"
71 KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
72 IUSE="curl doc emacs +sftp test"
73
74 RDEPEND="|| ( >=dev-lang/python-2.5 dev-python/celementtree )
75 curl? ( dev-python/pycurl )
76 sftp? ( dev-python/paramiko )"
77
78 DEPEND="emacs? ( virtual/emacs )
79 test? (
80 $RDEPEND
81 dev-python/medusa
82 )"
83
84 S="${WORKDIR}/${MY_P}"
85 PYTHON_MODNAME="bzrlib"
86 SITEFILE=71bzr-gentoo.el
87 DOCS="doc/*.txt"
88
89 src_unpack() {
90 distutils_src_unpack
91
92 # Don't regenerate .c files from .pyx when pyrex is found.
93 epatch "${FILESDIR}/${PN}-1.8-no-pyrex.patch"
94 # Don't run lock permission tests when running as root
95 epatch "${FILESDIR}/${PN}-0.90-tests-fix_root.patch"
96 # Fix permission errors when run under directories with setgid set.
97 epatch "${FILESDIR}/${PN}-0.90-tests-sgid.patch"
98 }
99
100 src_compile() {
101 distutils_src_compile
102
103 if use emacs; then
104 elisp-compile contrib/emacs/bzr-mode.el || die "Emacs modules failed!"
105 fi
106 }
107
108 src_install() {
109 distutils_src_install --install-data /usr/share
110
111 if use doc; then
112 docinto developers
113 dodoc doc/developers/* || die "dodoc failed"
114 for doc in mini-tutorial tutorials user-{guide,reference}; do
115 docinto $doc
116 dodoc doc/en/$doc/* || die "dodoc failed"
117 done
118 fi
119
120 if use emacs; then
121 elisp-install ${PN} contrib/emacs/*.el* || die "elisp-install failed"
122 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed"
123
124 # don't add automatically to the load-path, so the sitefile
125 # can do a conditional loading
126 touch "${D}${SITELISP}/${PN}/.nosearch"
127 fi
128
129 insinto /usr/share/zsh/site-functions
130 doins contrib/zsh/_bzr
131 dobashcompletion contrib/bash/bzr
132 }
133
134 pkg_postinst() {
135 distutils_pkg_postinst
136 bash-completion_pkg_postinst
137
138 if use emacs; then
139 elisp-site-regen
140 elog "If you are using a GNU Emacs version greater than 22.1, bzr support"
141 elog "is already included. This ebuild does not automatically activate bzr support"
142 elog "in versions below, but prepares it in a way you can load it from your ~/.emacs"
143 elog "file by adding"
144 elog " (load \"bzr-mode\")"
145 fi
146 }
147
148 pkg_postrm() {
149 distutils_pkg_postrm
150 use emacs && elisp-site-regen
151 }
152
153 src_test() {
154 export LC_ALL=C
155 # Define tests which are known to fail below.
156 local skip_tests="("
157 #skip_tests+="test1|"
158 #https://bugs.launchpad.net/bzr/+bug/341648
159 skip_tests+="test_osutils.TestWalkDirs.test_walkdirs_os_error"
160 skip_tests+=")"
161 # Some tests expect the usual pyc compiling behaviour.
162 python_enable_pyc
163 if [[ -n ${skip_tests} ]]; then
164 einfo "Skipping tests known to fail: ${skip_tests}"
165 "${python}" bzr --no-plugins selftest -x ${skip_tests} || die "bzr selftest failed"
166 else
167 "${python}" bzr --no-plugins selftest || die "bzr selftest failed"
168 fi
169 # Just to make sure we don't hit any errors on later stages.
170 python_disable_pyc
171 }
172
173
174
175 1.1 dev-util/bzr/bzr-1.13.2.ebuild
176
177 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-1.13.2.ebuild?rev=1.1&view=markup
178 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/bzr/bzr-1.13.2.ebuild?rev=1.1&content-type=text/plain
179
180 Index: bzr-1.13.2.ebuild
181 ===================================================================
182 # Copyright 1999-2009 Gentoo Foundation
183 # Distributed under the terms of the GNU General Public License v2
184 # $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/bzr-1.13.2.ebuild,v 1.1 2009/05/01 17:20:24 pva Exp $
185
186 EAPI=1
187
188 NEED_PYTHON=2.4
189
190 inherit distutils bash-completion elisp-common eutils versionator
191
192 MY_PV=${PV/_rc/rc}
193 MY_P=${PN}-${MY_PV}
194 SERIES=$(get_version_component_range 1-2)
195
196 DESCRIPTION="Bazaar is a next generation distributed version control system."
197 HOMEPAGE="http://bazaar-vcs.org/"
198 #SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz"
199 SRC_URI="http://launchpad.net/bzr/${SERIES}/${MY_PV}/+download/${MY_P}.tar.gz"
200
201 LICENSE="GPL-2"
202 SLOT="0"
203 KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
204 IUSE="curl doc emacs +sftp test"
205
206 RDEPEND="|| ( >=dev-lang/python-2.5 dev-python/celementtree )
207 curl? ( dev-python/pycurl )
208 sftp? ( dev-python/paramiko )"
209
210 DEPEND="emacs? ( virtual/emacs )
211 test? (
212 $RDEPEND
213 dev-python/medusa
214 )"
215
216 S="${WORKDIR}/${MY_P}"
217 PYTHON_MODNAME="bzrlib"
218 SITEFILE=71bzr-gentoo.el
219 DOCS="doc/*.txt"
220
221 src_unpack() {
222 distutils_src_unpack
223
224 # Don't regenerate .c files from .pyx when pyrex is found.
225 epatch "${FILESDIR}/${PN}-1.8-no-pyrex.patch"
226 # Don't run lock permission tests when running as root
227 epatch "${FILESDIR}/${PN}-0.90-tests-fix_root.patch"
228 # Fix permission errors when run under directories with setgid set.
229 epatch "${FILESDIR}/${PN}-0.90-tests-sgid.patch"
230 }
231
232 src_compile() {
233 distutils_src_compile
234
235 if use emacs; then
236 elisp-compile contrib/emacs/bzr-mode.el || die "Emacs modules failed!"
237 fi
238 }
239
240 src_install() {
241 distutils_src_install --install-data /usr/share
242
243 if use doc; then
244 docinto developers
245 dodoc doc/developers/* || die "dodoc failed"
246 for doc in mini-tutorial tutorials user-{guide,reference}; do
247 docinto $doc
248 dodoc doc/en/$doc/* || die "dodoc failed"
249 done
250 fi
251
252 if use emacs; then
253 elisp-install ${PN} contrib/emacs/*.el* || die "elisp-install failed"
254 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed"
255
256 # don't add automatically to the load-path, so the sitefile
257 # can do a conditional loading
258 touch "${D}${SITELISP}/${PN}/.nosearch"
259 fi
260
261 insinto /usr/share/zsh/site-functions
262 doins contrib/zsh/_bzr
263 dobashcompletion contrib/bash/bzr
264 }
265
266 pkg_postinst() {
267 distutils_pkg_postinst
268 bash-completion_pkg_postinst
269
270 if use emacs; then
271 elisp-site-regen
272 elog "If you are using a GNU Emacs version greater than 22.1, bzr support"
273 elog "is already included. This ebuild does not automatically activate bzr support"
274 elog "in versions below, but prepares it in a way you can load it from your ~/.emacs"
275 elog "file by adding"
276 elog " (load \"bzr-mode\")"
277 fi
278 }
279
280 pkg_postrm() {
281 distutils_pkg_postrm
282 use emacs && elisp-site-regen
283 }
284
285 src_test() {
286 export LC_ALL=C
287 # Define tests which are known to fail below.
288 local skip_tests="("
289 #https://bugs.launchpad.net/bzr/+bug/306264
290 skip_tests+="test_http.TestWallServer.test_http_*|"
291 skip_tests+="blackbox.test_too_much.SFTPTestsRelative.test_*|"
292 #skip_tests+="blackbox.test_too_much.SFTPTestsRelative.test_check|"
293 #https://bugs.launchpad.net/bzr/+bug/341648
294 skip_tests+="test_osutils.TestWalkDirs.test_walkdirs_os_error"
295 skip_tests+=")"
296 # Some tests expect the usual pyc compiling behaviour.
297 python_enable_pyc
298 if [[ -n ${skip_tests} ]]; then
299 einfo "Skipping tests known to fail: ${skip_tests}"
300 "${python}" bzr --no-plugins selftest -x ${skip_tests} || die "bzr selftest failed"
301 else
302 "${python}" bzr --no-plugins selftest || die "bzr selftest failed"
303 fi
304 # Just to make sure we don't hit any errors on later stages.
305 python_disable_pyc
306 }