Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/bzr-rewrite/, dev-vcs/bzrtools/, dev-vcs/bzr-xmloutput/, dev-vcs/bzr/, ...
Date: Mon, 27 Apr 2020 08:26:43
Message-Id: 1587975882.4d2ed8e7669b174bcf9758f6c81bb1daad9d6c1c.zlogene@gentoo
1 commit: 4d2ed8e7669b174bcf9758f6c81bb1daad9d6c1c
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 27 08:24:42 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 27 08:24:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d2ed8e7
7
8 dev-vcs/bzr: remove last-rited pkg and co.
9
10 Closes: https://bugs.gentoo.org/show_bug.cgi?id=506772
11 Closes: https://bugs.gentoo.org/show_bug.cgi?id=697604
12 Closes: https://bugs.gentoo.org/show_bug.cgi?id=715044
13
14 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
15
16 dev-vcs/bzr-rewrite/Manifest | 1 -
17 dev-vcs/bzr-rewrite/bzr-rewrite-0.6.3.ebuild | 21 --
18 dev-vcs/bzr-rewrite/metadata.xml | 8 -
19 dev-vcs/bzr-xmloutput/Manifest | 1 -
20 .../bzr-xmloutput/bzr-xmloutput-0.8.8-r3.ebuild | 30 ---
21 ...r-xmloutput-0.8.8_remove-relative-imports.patch | 220 ---------------------
22 dev-vcs/bzr-xmloutput/metadata.xml | 8 -
23 dev-vcs/bzr/Manifest | 2 -
24 dev-vcs/bzr/bzr-2.7.0.ebuild | 93 ---------
25 dev-vcs/bzr/bzr-2.7.1_pre.ebuild | 88 ---------
26 dev-vcs/bzr/metadata.xml | 19 --
27 dev-vcs/bzrtools/Manifest | 1 -
28 dev-vcs/bzrtools/bzrtools-2.5.ebuild | 27 ---
29 dev-vcs/bzrtools/metadata.xml | 8 -
30 14 files changed, 527 deletions(-)
31
32 diff --git a/dev-vcs/bzr-rewrite/Manifest b/dev-vcs/bzr-rewrite/Manifest
33 deleted file mode 100644
34 index 3662acd35e2..00000000000
35 --- a/dev-vcs/bzr-rewrite/Manifest
36 +++ /dev/null
37 @@ -1 +0,0 @@
38 -DIST bzr-rewrite-0.6.3.tar.gz 33045 BLAKE2B 93a884ad225bf6953be8b052500a5a98b36b98b434c1afb1f73548e898f60b6716e974bbe0bb2bae54ca57713889169bdad11365759ca34bad96e4b2c97e0891 SHA512 f1a55307e80090dcc3739e4b111e08b02e4c4ec07ed479a5ac28d2d40535a699492eba785c142d8f6396032ed9db143d86dc68dac5280c071b79a9818ac69250
39
40 diff --git a/dev-vcs/bzr-rewrite/bzr-rewrite-0.6.3.ebuild b/dev-vcs/bzr-rewrite/bzr-rewrite-0.6.3.ebuild
41 deleted file mode 100644
42 index 1790ef8f80e..00000000000
43 --- a/dev-vcs/bzr-rewrite/bzr-rewrite-0.6.3.ebuild
44 +++ /dev/null
45 @@ -1,21 +0,0 @@
46 -# Copyright 1999-2020 Gentoo Authors
47 -# Distributed under the terms of the GNU General Public License v2
48 -
49 -EAPI="5"
50 -PYTHON_COMPAT=( python2_7 )
51 -
52 -inherit distutils-r1
53 -
54 -DESCRIPTION="Bazaar plugin that adds support for rebasing, similar to git rebase"
55 -HOMEPAGE="https://launchpad.net/bzr-rewrite"
56 -SRC_URI="https://launchpad.net/bzr-rewrite/trunk/${PV}/+download/${P}.tar.gz"
57 -
58 -LICENSE="GPL-3"
59 -SLOT="0"
60 -KEYWORDS="~alpha amd64 x86"
61 -IUSE=""
62 -
63 -DEPEND=">=dev-vcs/bzr-2.5.0
64 - !dev-vcs/bzr-rebase"
65 -RDEPEND="${DEPEND}
66 - !<dev-vcs/bzr-svn-0.6"
67
68 diff --git a/dev-vcs/bzr-rewrite/metadata.xml b/dev-vcs/bzr-rewrite/metadata.xml
69 deleted file mode 100644
70 index eab9b5225d5..00000000000
71 --- a/dev-vcs/bzr-rewrite/metadata.xml
72 +++ /dev/null
73 @@ -1,8 +0,0 @@
74 -<?xml version="1.0" encoding="UTF-8"?>
75 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
76 -<pkgmetadata>
77 - <!-- maintainer-needed -->
78 - <upstream>
79 - <remote-id type="launchpad">bzr-rewrite</remote-id>
80 - </upstream>
81 -</pkgmetadata>
82
83 diff --git a/dev-vcs/bzr-xmloutput/Manifest b/dev-vcs/bzr-xmloutput/Manifest
84 deleted file mode 100644
85 index b19b458ef16..00000000000
86 --- a/dev-vcs/bzr-xmloutput/Manifest
87 +++ /dev/null
88 @@ -1 +0,0 @@
89 -DIST bzr-xmloutput-0.8.8.tar.gz 49969 BLAKE2B 728783e8d68063c639d153b334116c109f90493d80f7384f4e25deceb97e67843ad27676ac70403124163ebec745adf58fdda38515db3932ff87684e60537377 SHA512 9eb87ba86dd45b7132eca69ef6e52726d7ee2d9211cc3052655e40f5cee2b99e160336c347ddce7ad912c0027e8b6a05ca542f70733d2e3493922cfa311b38ef
90
91 diff --git a/dev-vcs/bzr-xmloutput/bzr-xmloutput-0.8.8-r3.ebuild b/dev-vcs/bzr-xmloutput/bzr-xmloutput-0.8.8-r3.ebuild
92 deleted file mode 100644
93 index 3cafe522488..00000000000
94 --- a/dev-vcs/bzr-xmloutput/bzr-xmloutput-0.8.8-r3.ebuild
95 +++ /dev/null
96 @@ -1,30 +0,0 @@
97 -# Copyright 1999-2020 Gentoo Authors
98 -# Distributed under the terms of the GNU General Public License v2
99 -
100 -EAPI=5
101 -
102 -PYTHON_COMPAT=( python2_7 )
103 -DISTUTILS_SINGLE_IMPL=1
104 -
105 -inherit distutils-r1
106 -
107 -DESCRIPTION="Bazaar plugin providing an option to generate XML output for builtin commands"
108 -HOMEPAGE="http://bazaar-vcs.org/XMLOutput"
109 -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
110 -
111 -LICENSE="GPL-2"
112 -SLOT="0"
113 -KEYWORDS="amd64 x86"
114 -IUSE=""
115 -
116 -DEPEND=""
117 -RDEPEND="
118 - $(python_gen_cond_dep '
119 - dev-vcs/bzr[${PYTHON_MULTI_USEDEP}]
120 - ')"
121 -
122 -PATCHES=( "${FILESDIR}"/${P}_remove-relative-imports.patch )
123 -
124 -pkg_setup() {
125 - python-single-r1_pkg_setup
126 -}
127
128 diff --git a/dev-vcs/bzr-xmloutput/files/bzr-xmloutput-0.8.8_remove-relative-imports.patch b/dev-vcs/bzr-xmloutput/files/bzr-xmloutput-0.8.8_remove-relative-imports.patch
129 deleted file mode 100644
130 index b21eef05d2a..00000000000
131 --- a/dev-vcs/bzr-xmloutput/files/bzr-xmloutput-0.8.8_remove-relative-imports.patch
132 +++ /dev/null
133 @@ -1,220 +0,0 @@
134 -revno: 160 [merge]
135 -author: Jelmer Vernooij <jelmer@×××××.org>
136 -committer: Guillermo Gonzalez <guillo.gonzo@×××××.com>
137 -branch nick: trunk
138 -timestamp: Mon 2011-12-19 18:45:35 -0300
139 -message:
140 - Removes the use of relative imports and avoids using lazy_import in a few places we're it doesn't make a difference.
141 -
142 -Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=418969
143 -Upstream bug: https://bugs.launchpad.net/bzr-xmloutput/+bug/955329
144 -Commit: http://bazaar.launchpad.net/~verterok/bzr-xmloutput/trunk/revision/160
145 -
146 ---- cmds.py 2011-03-09 23:19:41 +0000
147 -+++ cmds.py 2011-12-12 15:11:38 +0000
148 -@@ -22,36 +22,39 @@
149 -
150 - import info
151 - import bzrlib
152 -+from bzrlib.option import Option
153 -+from bzrlib.commands import (
154 -+ Command,
155 -+ display_command,
156 -+ )
157 - from bzrlib.lazy_import import lazy_import
158 - lazy_import(globals(), """
159 - import sys
160 - from bzrlib import (
161 - builtins,
162 - bzrdir,
163 -- commands,
164 -- option,
165 - log,
166 - workingtree,
167 - errors
168 - )
169 -
170 --from bzrlib.option import Option, custom_help
171 --from bzrlib.commands import display_command
172 --import logxml
173 --import service
174 -+from bzrlib.plugins.xmloutput import (
175 -+ logxml,
176 -+ service,
177 -+ )
178 - import socket
179 --from xml_errors import handle_error_xml
180 - """)
181 -
182 -+from bzrlib.plugins.xmloutput.xml_errors import handle_error_xml
183 -
184 - version_info = info.bzr_plugin_version
185 - plugin_name = info.bzr_plugin_name
186 -
187 --null_option = option.Option('null',
188 -- help='Write an ascii NUL (\\0) as the final char.')
189 --
190 --
191 --class cmd_xmlstatus(commands.Command):
192 -+null_option = Option('null',
193 -+ help='Write an ascii NUL (\\0) as the final char.')
194 -+
195 -+
196 -+class cmd_xmlstatus(Command):
197 - """Display status summary.
198 -
199 - This reports on versioned and unknown files, reporting them
200 -@@ -118,7 +121,7 @@
201 - self.outf.write('\n')
202 -
203 -
204 --class cmd_xmlannotate(commands.Command):
205 -+class cmd_xmlannotate(Command):
206 - """Show the origin of each line in a file.
207 -
208 - This prints out the given file with an annotation on the left side
209 -@@ -176,7 +179,7 @@
210 - branch.unlock()
211 -
212 -
213 --class cmd_xmlmissing(commands.Command):
214 -+class cmd_xmlmissing(Command):
215 - """Show unmerged/unpulled revisions between two branches.
216 -
217 - OTHER_BRANCH may be local or remote.
218 -@@ -212,7 +215,7 @@
219 - self.outf.write('\n')
220 -
221 -
222 --class cmd_xmlinfo(commands.Command):
223 -+class cmd_xmlinfo(Command):
224 - """Show information about a working tree, branch or repository.
225 -
226 - This command will show all known locations and formats associated to the
227 -@@ -247,7 +250,7 @@
228 - self.outf.write('\n')
229 -
230 -
231 --class cmd_xmlplugins(commands.Command):
232 -+class cmd_xmlplugins(Command):
233 - """List the installed plugins.
234 -
235 - This command displays the list of installed plugins including
236 -@@ -284,7 +287,7 @@
237 - self.outf.write('\n')
238 -
239 -
240 --class cmd_xmlversion(commands.Command):
241 -+class cmd_xmlversion(Command):
242 - """Show version of bzr."""
243 - hidden = True
244 - encoding_type = 'replace'
245 -@@ -383,7 +386,7 @@
246 - self.outf.write('\0')
247 - self.outf.write('\n')
248 -
249 --class cmd_start_xmlrpc(commands.Command):
250 -+class cmd_start_xmlrpc(Command):
251 - """Start the xmlrpc service."""
252 -
253 - hidden = True
254 -@@ -413,7 +416,7 @@
255 - self.server.shutdown()
256 -
257 -
258 --class cmd_stop_xmlrpc(commands.Command):
259 -+class cmd_stop_xmlrpc(Command):
260 - """Stops a xmlrpc service."""
261 -
262 - hidden = True
263 -
264 ---- infoxml.py 2009-07-28 03:43:56 +0000
265 -+++ infoxml.py 2011-12-12 15:11:38 +0000
266 -@@ -27,6 +27,7 @@
267 -
268 - __all__ = ['show_bzrdir_info_xml']
269 -
270 -+from bzrlib import info
271 - from bzrlib.lazy_import import lazy_import
272 - lazy_import(globals(), """
273 - import os, sys, time
274 -@@ -36,7 +37,6 @@
275 - errors,
276 - osutils,
277 - urlutils,
278 -- info,
279 - missing,
280 - )
281 - """)
282 -
283 ---- logxml.py 2010-12-15 18:27:12 +0000
284 -+++ logxml.py 2011-12-12 15:11:38 +0000
285 -@@ -1,14 +1,12 @@
286 - # -*- encoding: utf-8 -*-
287 -
288 --import os
289 --
290 -+from bzrlib import log
291 - from bzrlib.lazy_import import lazy_import
292 - lazy_import(globals(), """
293 - import bzrlib
294 - from bzrlib import (
295 - debug,
296 - osutils,
297 -- log,
298 - )
299 - """)
300 -
301 -
302 ---- lsxml.py 2011-03-09 23:41:22 +0000
303 -+++ lsxml.py 2011-12-12 15:11:38 +0000
304 -@@ -19,8 +19,6 @@
305 - # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
306 - #
307 -
308 --import os
309 --
310 - from bzrlib.lazy_import import lazy_import
311 - lazy_import(globals(), """
312 - from bzrlib import bzrdir, errors, osutils
313 -
314 ---- service.py 2010-02-23 23:38:02 +0000
315 -+++ service.py 2011-12-12 15:11:38 +0000
316 -@@ -20,6 +20,8 @@
317 - #
318 - """ xmlrpc service module """
319 -
320 -+import os
321 -+
322 - from bzrlib.lazy_import import lazy_import
323 - lazy_import(globals(), """
324 - import bzrlib
325 -@@ -30,14 +32,13 @@
326 - osutils
327 - )
328 - import sys
329 --import os
330 - import codecs
331 - import logging
332 - import traceback
333 - from cStringIO import StringIO
334 - """)
335 -
336 --from xml_errors import XMLError
337 -+from bzrlib.plugins.xmloutput.xml_errors import XMLError
338 - from xmlrpclib import Fault, Binary
339 - from SimpleXMLRPCServer import SimpleXMLRPCServer
340 -
341 -
342 ---- statusxml.py 2010-12-15 18:27:12 +0000
343 -+++ statusxml.py 2011-12-12 15:11:38 +0000
344 -@@ -33,7 +33,7 @@
345 - trace,
346 - )
347 -
348 --import logxml
349 -+from bzrlib.plugins.xmloutput import logxml
350 - """)
351 -
352 - from writer import _escape_cdata
353 -
354
355 diff --git a/dev-vcs/bzr-xmloutput/metadata.xml b/dev-vcs/bzr-xmloutput/metadata.xml
356 deleted file mode 100644
357 index 1cdf0a3530f..00000000000
358 --- a/dev-vcs/bzr-xmloutput/metadata.xml
359 +++ /dev/null
360 @@ -1,8 +0,0 @@
361 -<?xml version="1.0" encoding="UTF-8"?>
362 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
363 -<pkgmetadata>
364 - <!-- maintainer-needed -->
365 - <upstream>
366 - <remote-id type="launchpad">bzr-xmloutput</remote-id>
367 - </upstream>
368 -</pkgmetadata>
369
370 diff --git a/dev-vcs/bzr/Manifest b/dev-vcs/bzr/Manifest
371 deleted file mode 100644
372 index 9358807171e..00000000000
373 --- a/dev-vcs/bzr/Manifest
374 +++ /dev/null
375 @@ -1,2 +0,0 @@
376 -DIST bzr-2.7.0.tar.gz 11586410 BLAKE2B 9d61d5efa1c02667fdb93d66fc4290f279c74bff2fd0174149243563bc5013085438410221fb6565f986ef17e957b680a1bdd3142e23843b4cbc39c7855dbd98 SHA512 c39ad3715d865788da74d8de8b469e1dc93d18b6cbcbc569464cdeb9bb2173bf8d7f4f8ee8f7599fbcbbe322817a4c72e785d544e622753699c425c32597d9aa
377 -DIST bzr-2.7.1_pre.tar.gz 10964137 BLAKE2B d126730d782f232d6c486e31ab465a1a295de456eb59fc1db4d215529ec38e78826da1bedbe6a80af0e874188635c83742c5ae5b07c42dd968f1d0d88596a35e SHA512 b65c63dff33f1646e6db84d9307b870140c2c7b3b16cef69eb4bfb5a5a94cb1721ed74c26e6ad78232fffb4b5055cb4096d9835197db9b97f91c16e8a79658b3
378
379 diff --git a/dev-vcs/bzr/bzr-2.7.0.ebuild b/dev-vcs/bzr/bzr-2.7.0.ebuild
380 deleted file mode 100644
381 index 73026799b43..00000000000
382 --- a/dev-vcs/bzr/bzr-2.7.0.ebuild
383 +++ /dev/null
384 @@ -1,93 +0,0 @@
385 -# Copyright 1999-2020 Gentoo Authors
386 -# Distributed under the terms of the GNU General Public License v2
387 -
388 -EAPI=6
389 -PYTHON_COMPAT=( python2_7 )
390 -PYTHON_REQ_USE="threads,ssl,xml"
391 -
392 -MY_P="${PN}-${PV}"
393 -
394 -DESCRIPTION="Bazaar is a next generation distributed version control system"
395 -HOMEPAGE="http://bazaar-vcs.org/"
396 -
397 -LICENSE="GPL-2"
398 -SLOT="0"
399 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris"
400 -IUSE="curl doc +sftp test"
401 -PLOCALES="ar ast bs ca cs de el en_AU en_GB es fa fo fr gl he id it ja ko ms my nb nl oc pl pt_BR ro ru sco si sk sr sv tr ug uk vi zh_CN"
402 -
403 -inherit bash-completion-r1 distutils-r1 eutils flag-o-matic versionator l10n
404 -SERIES=$(get_version_component_range 1-2)
405 -SRC_URI="https://launchpad.net/bzr/${SERIES}/${PV}/+download/${MY_P}.tar.gz"
406 -
407 -RDEPEND="curl? ( dev-python/pycurl[${PYTHON_USEDEP}] )
408 - sftp? ( dev-python/paramiko[${PYTHON_USEDEP}] )"
409 -
410 -DEPEND="test? (
411 - ${RDEPEND}
412 - >=dev-python/pyftpdlib-0.7.0[${PYTHON_USEDEP}]
413 - dev-python/subunit
414 - >=dev-python/testtools-0.9.5[${PYTHON_USEDEP}]
415 - )"
416 -
417 -S="${WORKDIR}/${MY_P}"
418 -
419 -# Fails tests bug#487216
420 -# Upstream is not exactly keen on fixing it
421 -RESTRICT="test"
422 -
423 -python_configure_all() {
424 - rm_loc() {
425 - rm "${S}"/po/$1.po || die
426 - }
427 - l10n_for_each_disabled_locale_do rm_loc
428 - # Generate the locales first to avoid a race condition.
429 - esetup.py build_mo
430 -}
431 -
432 -python_compile() {
433 - if [[ ${EPYTHON} != python3* ]]; then
434 - local CFLAGS=${CFLAGS}
435 - append-cflags -fno-strict-aliasing
436 - fi
437 - distutils-r1_python_compile
438 -}
439 -
440 -python_test() {
441 - # Some tests expect the usual pyc compiling behaviour.
442 - local -x PYTHONDONTWRITEBYTECODE
443 -
444 - # Define tests which are known to fail below.
445 - local skip_tests="("
446 - # https://bugs.launchpad.net/bzr/+bug/850676
447 - skip_tests+="per_transport.TransportTests.test_unicode_paths.*"
448 - skip_tests+=")"
449 - if [[ -n ${skip_tests} ]]; then
450 - einfo "Skipping tests known to fail: ${skip_tests}"
451 - fi
452 -
453 - LC_ALL="C" "${PYTHON}" bzr --no-plugins selftest -v \
454 - ${skip_tests:+-x} "${skip_tests}" || die "Tests fail with ${EPYTHON}"
455 -}
456 -
457 -python_install_all() {
458 - distutils-r1_python_install_all
459 -
460 - # Fixup manpages manually; passing --install-data causes locales to be
461 - # installed in /usr/share/share/locale
462 - dodir /usr/share
463 - mv "${ED%/}"/usr/{man,share/man} || die
464 -
465 - dodoc doc/*.txt
466 -
467 - if use doc; then
468 - docinto developers
469 - dodoc -r doc/developers/*
470 - for doc in mini-tutorial tutorials user-{guide,reference}; do
471 - docinto ${doc}
472 - dodoc -r doc/en/${doc}/*
473 - done
474 - fi
475 -
476 - dobashcomp contrib/bash/bzr || die
477 -}
478
479 diff --git a/dev-vcs/bzr/bzr-2.7.1_pre.ebuild b/dev-vcs/bzr/bzr-2.7.1_pre.ebuild
480 deleted file mode 100644
481 index c39f0b24d9d..00000000000
482 --- a/dev-vcs/bzr/bzr-2.7.1_pre.ebuild
483 +++ /dev/null
484 @@ -1,88 +0,0 @@
485 -# Copyright 1999-2020 Gentoo Authors
486 -# Distributed under the terms of the GNU General Public License v2
487 -
488 -EAPI=6
489 -PYTHON_COMPAT=( python2_7 )
490 -PYTHON_REQ_USE="threads,ssl,xml"
491 -
492 -DESCRIPTION="Bazaar is a next generation distributed version control system"
493 -HOMEPAGE="http://bazaar-vcs.org/"
494 -
495 -LICENSE="GPL-2"
496 -SLOT="0"
497 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris"
498 -IUSE="curl doc +sftp test"
499 -PLOCALES="ar ast bs ca cs de el en_AU en_GB es fa fo fr gl he id it ja ko ms my nb nl oc pl pt_BR ro ru sco si sk sr sv tr ug uk vi zh_CN"
500 -
501 -inherit bash-completion-r1 distutils-r1 flag-o-matic l10n
502 -#SERIES=$(get_version_component_range 1-2)
503 -SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.gz"
504 -
505 -RDEPEND="curl? ( dev-python/pycurl[${PYTHON_USEDEP}] )
506 - sftp? ( dev-python/paramiko[${PYTHON_USEDEP}] )"
507 -
508 -DEPEND="|| ( dev-python/cython[${PYTHON_USEDEP}] dev-python/pyrex[${PYTHON_USEDEP}] )
509 - test? ( ${RDEPEND}
510 - >=dev-python/pyftpdlib-0.7.0[${PYTHON_USEDEP}]
511 - dev-python/subunit
512 - >=dev-python/testtools-0.9.5[${PYTHON_USEDEP}] )"
513 -
514 -# Fails tests bug#487216
515 -# Upstream is not exactly keen on fixing it
516 -RESTRICT="test"
517 -
518 -python_configure_all() {
519 - rm_loc() {
520 - rm "${S}"/po/$1.po || die
521 - }
522 - l10n_for_each_disabled_locale_do rm_loc
523 - # Generate the locales first to avoid a race condition.
524 - esetup.py build_mo
525 -}
526 -
527 -python_compile() {
528 - if [[ ${EPYTHON} != python3* ]]; then
529 - local CFLAGS=${CFLAGS}
530 - append-cflags -fno-strict-aliasing
531 - fi
532 - distutils-r1_python_compile
533 -}
534 -
535 -python_test() {
536 - # Some tests expect the usual pyc compiling behaviour.
537 - local -x PYTHONDONTWRITEBYTECODE
538 -
539 - # Define tests which are known to fail below.
540 - local skip_tests="("
541 - # https://bugs.launchpad.net/bzr/+bug/850676
542 - skip_tests+="per_transport.TransportTests.test_unicode_paths.*"
543 - skip_tests+=")"
544 - if [[ -n ${skip_tests} ]]; then
545 - einfo "Skipping tests known to fail: ${skip_tests}"
546 - fi
547 -
548 - LC_ALL="C" "${PYTHON}" bzr --no-plugins selftest -v \
549 - ${skip_tests:+-x} "${skip_tests}" || die "Tests fail with ${EPYTHON}"
550 -}
551 -
552 -python_install_all() {
553 - distutils-r1_python_install_all
554 -
555 - # Fixup manpages manually; passing --install-data causes locales to be
556 - # installed in /usr/share/share/locale
557 - dodir /usr/share
558 - mv "${ED%/}"/usr/{man,share/man} || die
559 -
560 - dodoc doc/*.txt
561 -
562 - if use doc; then
563 - docinto developers
564 - dodoc -r doc/developers/*
565 - for doc in mini-tutorial tutorials user-{guide,reference}; do
566 - docinto ${doc}
567 - dodoc -r doc/en/${doc}/*
568 - done
569 - fi
570 -
571 - dobashcomp contrib/bash/bzr || die
572 -}
573
574 diff --git a/dev-vcs/bzr/metadata.xml b/dev-vcs/bzr/metadata.xml
575 deleted file mode 100644
576 index f366de71c75..00000000000
577 --- a/dev-vcs/bzr/metadata.xml
578 +++ /dev/null
579 @@ -1,19 +0,0 @@
580 -<?xml version="1.0" encoding="UTF-8"?>
581 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
582 -<pkgmetadata>
583 - <!-- maintainer-needed -->
584 - <longdescription lang="en">
585 - Bazaar (``bzr``) is a decentralized revision control system, designed to be
586 - easy for developers and end users alike. Bazaar is part of the GNU project
587 - to develop a complete free operating system.
588 - Bazaar was formerly known as Bazaar-NG. It's the successor to ``baz``, a
589 - fork of GNU arch, but shares no code. (To upgrade from Baz, use the
590 - ``baz-import`` command in the bzrtools plugin.)
591 - </longdescription>
592 - <use>
593 - <flag name="sftp">Enable sftp support</flag>
594 - </use>
595 - <upstream>
596 - <remote-id type="launchpad">bzr</remote-id>
597 - </upstream>
598 -</pkgmetadata>
599
600 diff --git a/dev-vcs/bzrtools/Manifest b/dev-vcs/bzrtools/Manifest
601 deleted file mode 100644
602 index 738cb3bbb53..00000000000
603 --- a/dev-vcs/bzrtools/Manifest
604 +++ /dev/null
605 @@ -1 +0,0 @@
606 -DIST bzrtools-2.5.tar.gz 74508 BLAKE2B 8e864cc0bd1fa05325502fe6772d57aba29613d56160cf356a8a38417a4c8516f98d2f32798c2511baf06a5222a1a7ac3b58fb30b5f09088c1ef19356c4e15c4 SHA512 5bc07715a3ed525a9bed5b789ea7a4079c9a56a8ce798b2eff56b27e6eae574fac23b8cc96529a5ea44b8d4ce02c512a7e22d21f046801461ba38a8d2050aa16
607
608 diff --git a/dev-vcs/bzrtools/bzrtools-2.5.ebuild b/dev-vcs/bzrtools/bzrtools-2.5.ebuild
609 deleted file mode 100644
610 index d0c4f09363f..00000000000
611 --- a/dev-vcs/bzrtools/bzrtools-2.5.ebuild
612 +++ /dev/null
613 @@ -1,27 +0,0 @@
614 -# Copyright 1999-2020 Gentoo Authors
615 -# Distributed under the terms of the GNU General Public License v2
616 -
617 -EAPI="5"
618 -PYTHON_COMPAT=( python2_7 )
619 -
620 -inherit distutils-r1 eutils versionator
621 -
622 -DESCRIPTION="bzrtools is a useful collection of utilities for bzr"
623 -HOMEPAGE="http://bazaar-vcs.org/BzrTools"
624 -SRC_URI="https://launchpad.net/${PN}/stable/${PV}/+download/${P}.tar.gz"
625 -
626 -LICENSE="GPL-2"
627 -SLOT="0"
628 -KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
629 -IUSE=""
630 -#IUSE="test"
631 -
632 -RDEPEND=">=dev-vcs/bzr-2.4"
633 -DEPEND="${RDEPEND}"
634 -# test? ( dev-python/testtools )"
635 -
636 -RESTRICT="test"
637 -
638 -S="${WORKDIR}/${PN}"
639 -
640 -DOCS=( AUTHORS CREDITS NEWS NEWS.Shelf README README.Shelf TODO TODO.heads TODO.Shelf )
641
642 diff --git a/dev-vcs/bzrtools/metadata.xml b/dev-vcs/bzrtools/metadata.xml
643 deleted file mode 100644
644 index 1904d7e4606..00000000000
645 --- a/dev-vcs/bzrtools/metadata.xml
646 +++ /dev/null
647 @@ -1,8 +0,0 @@
648 -<?xml version="1.0" encoding="UTF-8"?>
649 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
650 -<pkgmetadata>
651 - <!-- maintainer-needed -->
652 - <upstream>
653 - <remote-id type="launchpad">bzrtools</remote-id>
654 - </upstream>
655 -</pkgmetadata>