Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/bzr/, dev-vcs/bzr/files/
Date: Sun, 27 Jan 2019 16:53:18
Message-Id: 1548607981.314bc7a27a1b78a8309246f2fb1f6488d6834659.pacho@gentoo
1 commit: 314bc7a27a1b78a8309246f2fb1f6488d6834659
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 27 15:16:27 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 27 16:53:01 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=314bc7a2
7
8 dev-vcs/bzr: Drop old
9
10 Package-Manager: Portage-2.3.58, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 dev-vcs/bzr/Manifest | 2 -
14 dev-vcs/bzr/bzr-2.5.1-r1.ebuild | 90 ---------------------
15 dev-vcs/bzr/bzr-2.6.0.ebuild | 93 ----------------------
16 dev-vcs/bzr/files/bzr-2.4.2-no-pyrex-citon.patch | 33 --------
17 .../bzr/files/bzr-2.5.1-sphinx-test-failures.patch | 24 ------
18 5 files changed, 242 deletions(-)
19
20 diff --git a/dev-vcs/bzr/Manifest b/dev-vcs/bzr/Manifest
21 index 4a7e92147d7..9358807171e 100644
22 --- a/dev-vcs/bzr/Manifest
23 +++ b/dev-vcs/bzr/Manifest
24 @@ -1,4 +1,2 @@
25 -DIST bzr-2.5.1.tar.gz 10451513 BLAKE2B 00025c5db2d9ad94b39fb450c83c917b532c4804897a064b4fedb02ba7e9243027f105b8b5613e5f62e17e2209c6eef7b92fe3e7c24186edd35fab257ffa334d SHA512 40700d0f4f61bb1609d85772812249114c9e7af619143aafec97163617cb58828e63bda22abf576704848b479463bb85c0b2dc7e5bb49108f48fa397c7bfe85c
26 -DIST bzr-2.6.0.tar.gz 11301124 BLAKE2B 63a45634e3da53b06208c96726a399edd08c5a4c43ae3e431501aa15dc8060096fb13a390d5f1a6c7cc5cf5a9dbd5245760c21ba29a060a53f74c886fd69424c SHA512 f40d4380a837321c2ed168d15b0b5d31e9de6df93c0f8f2fd9b16c9351524b0afac5b8744740f587e9704efeb4cc004cae7f35aed47f73b5c796cbe2526af980
27 DIST bzr-2.7.0.tar.gz 11586410 BLAKE2B 9d61d5efa1c02667fdb93d66fc4290f279c74bff2fd0174149243563bc5013085438410221fb6565f986ef17e957b680a1bdd3142e23843b4cbc39c7855dbd98 SHA512 c39ad3715d865788da74d8de8b469e1dc93d18b6cbcbc569464cdeb9bb2173bf8d7f4f8ee8f7599fbcbbe322817a4c72e785d544e622753699c425c32597d9aa
28 DIST bzr-2.7.1_pre.tar.gz 10964137 BLAKE2B d126730d782f232d6c486e31ab465a1a295de456eb59fc1db4d215529ec38e78826da1bedbe6a80af0e874188635c83742c5ae5b07c42dd968f1d0d88596a35e SHA512 b65c63dff33f1646e6db84d9307b870140c2c7b3b16cef69eb4bfb5a5a94cb1721ed74c26e6ad78232fffb4b5055cb4096d9835197db9b97f91c16e8a79658b3
29
30 diff --git a/dev-vcs/bzr/bzr-2.5.1-r1.ebuild b/dev-vcs/bzr/bzr-2.5.1-r1.ebuild
31 deleted file mode 100644
32 index 7aaa0aa2222..00000000000
33 --- a/dev-vcs/bzr/bzr-2.5.1-r1.ebuild
34 +++ /dev/null
35 @@ -1,90 +0,0 @@
36 -# Copyright 1999-2017 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI="5"
40 -PYTHON_COMPAT=( python2_7 )
41 -PYTHON_REQ_USE="threads,ssl,xml"
42 -
43 -inherit bash-completion-r1 distutils-r1 eutils flag-o-matic versionator
44 -
45 -MY_P=${PN}-${PV}
46 -SERIES=$(get_version_component_range 1-2)
47 -
48 -DESCRIPTION="Bazaar is a next generation distributed version control system"
49 -HOMEPAGE="http://bazaar-vcs.org/"
50 -#SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz"
51 -SRC_URI="https://launchpad.net/bzr/${SERIES}/${PV}/+download/${MY_P}.tar.gz"
52 -
53 -LICENSE="GPL-2"
54 -SLOT="0"
55 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris"
56 -IUSE="curl doc +sftp test"
57 -
58 -RDEPEND="curl? ( dev-python/pycurl[${PYTHON_USEDEP}] )
59 - sftp? ( dev-python/paramiko[${PYTHON_USEDEP}] )"
60 -
61 -DEPEND="test? (
62 - ${RDEPEND}
63 - >=dev-python/pyftpdlib-0.7.0[${PYTHON_USEDEP}]
64 - dev-python/subunit
65 - >=dev-python/testtools-0.9.5[${PYTHON_USEDEP}]
66 - )"
67 -
68 -S="${WORKDIR}/${MY_P}"
69 -
70 -PATCHES=(
71 - "${FILESDIR}/${PN}-2.4.2-no-pyrex-citon.patch"
72 - "${FILESDIR}/${P}-sphinx-test-failures.patch"
73 -)
74 -
75 -python_configure_all() {
76 - # Generate the locales first to avoid a race condition.
77 - esetup.py build_mo
78 -}
79 -
80 -python_compile() {
81 - if [[ ${EPYTHON} != python3* ]]; then
82 - local CFLAGS=${CFLAGS}
83 - append-cflags -fno-strict-aliasing
84 - fi
85 - distutils-r1_python_compile
86 -}
87 -
88 -python_test() {
89 - # Some tests expect the usual pyc compiling behaviour.
90 - local -x PYTHONDONTWRITEBYTECODE
91 -
92 - # Define tests which are known to fail below.
93 - local skip_tests="("
94 - # https://bugs.launchpad.net/bzr/+bug/850676
95 - skip_tests+="per_transport.TransportTests.test_unicode_paths.*"
96 - skip_tests+=")"
97 - if [[ -n ${skip_tests} ]]; then
98 - einfo "Skipping tests known to fail: ${skip_tests}"
99 - fi
100 -
101 - LC_ALL="C" "${PYTHON}" bzr --no-plugins selftest -v \
102 - ${skip_tests:+-x} "${skip_tests}" || die "Tests fail with ${EPYTHON}"
103 -}
104 -
105 -python_install_all() {
106 - distutils-r1_python_install_all
107 -
108 - # Fixup manpages manually; passing --install-data causes locales to be
109 - # installed in /usr/share/share/locale
110 - dodir /usr/share
111 - mv "${ED%/}"/usr/{man,share/man} || die
112 -
113 - dodoc doc/*.txt
114 -
115 - if use doc; then
116 - docinto developers
117 - dodoc -r doc/developers/* || die
118 - for doc in mini-tutorial tutorials user-{guide,reference}; do
119 - docinto ${doc}
120 - dodoc -r doc/en/${doc}/* || die
121 - done
122 - fi
123 -
124 - dobashcomp contrib/bash/bzr || die
125 -}
126
127 diff --git a/dev-vcs/bzr/bzr-2.6.0.ebuild b/dev-vcs/bzr/bzr-2.6.0.ebuild
128 deleted file mode 100644
129 index 9ddf9d73ddf..00000000000
130 --- a/dev-vcs/bzr/bzr-2.6.0.ebuild
131 +++ /dev/null
132 @@ -1,93 +0,0 @@
133 -# Copyright 1999-2017 Gentoo Foundation
134 -# Distributed under the terms of the GNU General Public License v2
135 -
136 -EAPI="5"
137 -PYTHON_COMPAT=( python2_7 )
138 -PYTHON_REQ_USE="threads,ssl,xml"
139 -
140 -MY_P=${PN}-${PV}
141 -
142 -DESCRIPTION="Bazaar is a next generation distributed version control system"
143 -HOMEPAGE="http://bazaar-vcs.org/"
144 -
145 -LICENSE="GPL-2"
146 -SLOT="0"
147 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris"
148 -IUSE="curl doc +sftp test"
149 -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"
150 -
151 -inherit bash-completion-r1 distutils-r1 eutils flag-o-matic versionator l10n
152 -SERIES=$(get_version_component_range 1-2)
153 -SRC_URI="https://launchpad.net/bzr/${SERIES}/${PV}/+download/${MY_P}.tar.gz"
154 -
155 -RDEPEND="curl? ( dev-python/pycurl[${PYTHON_USEDEP}] )
156 - sftp? ( dev-python/paramiko[${PYTHON_USEDEP}] )"
157 -
158 -DEPEND="test? (
159 - ${RDEPEND}
160 - >=dev-python/pyftpdlib-0.7.0[${PYTHON_USEDEP}]
161 - dev-python/subunit
162 - >=dev-python/testtools-0.9.5[${PYTHON_USEDEP}]
163 - )"
164 -
165 -S="${WORKDIR}/${MY_P}"
166 -
167 -# Fails tests bug#487216
168 -# Upstream is not exactly keen on fixing it
169 -RESTRICT="test"
170 -
171 -python_configure_all() {
172 - rm_loc() {
173 - rm "${S}"/po/$1.po || die
174 - }
175 - l10n_for_each_disabled_locale_do rm_loc
176 - # Generate the locales first to avoid a race condition.
177 - esetup.py build_mo
178 -}
179 -
180 -python_compile() {
181 - if [[ ${EPYTHON} != python3* ]]; then
182 - local CFLAGS=${CFLAGS}
183 - append-cflags -fno-strict-aliasing
184 - fi
185 - distutils-r1_python_compile
186 -}
187 -
188 -python_test() {
189 - # Some tests expect the usual pyc compiling behaviour.
190 - local -x PYTHONDONTWRITEBYTECODE
191 -
192 - # Define tests which are known to fail below.
193 - local skip_tests="("
194 - # https://bugs.launchpad.net/bzr/+bug/850676
195 - skip_tests+="per_transport.TransportTests.test_unicode_paths.*"
196 - skip_tests+=")"
197 - if [[ -n ${skip_tests} ]]; then
198 - einfo "Skipping tests known to fail: ${skip_tests}"
199 - fi
200 -
201 - LC_ALL="C" "${PYTHON}" bzr --no-plugins selftest -v \
202 - ${skip_tests:+-x} "${skip_tests}" || die "Tests fail with ${EPYTHON}"
203 -}
204 -
205 -python_install_all() {
206 - distutils-r1_python_install_all
207 -
208 - # Fixup manpages manually; passing --install-data causes locales to be
209 - # installed in /usr/share/share/locale
210 - dodir /usr/share
211 - mv "${ED%/}"/usr/{man,share/man} || die
212 -
213 - dodoc doc/*.txt
214 -
215 - if use doc; then
216 - docinto developers
217 - dodoc -r doc/developers/* || die
218 - for doc in mini-tutorial tutorials user-{guide,reference}; do
219 - docinto ${doc}
220 - dodoc -r doc/en/${doc}/* || die
221 - done
222 - fi
223 -
224 - dobashcomp contrib/bash/bzr || die
225 -}
226
227 diff --git a/dev-vcs/bzr/files/bzr-2.4.2-no-pyrex-citon.patch b/dev-vcs/bzr/files/bzr-2.4.2-no-pyrex-citon.patch
228 deleted file mode 100644
229 index a5128a03d62..00000000000
230 --- a/dev-vcs/bzr/files/bzr-2.4.2-no-pyrex-citon.patch
231 +++ /dev/null
232 @@ -1,33 +0,0 @@
233 ---- setup.py.orig 2011-12-26 12:42:40.308882969 +0100
234 -+++ setup.py 2011-12-26 12:43:38.861854988 +0100
235 -@@ -178,28 +178,8 @@
236 - from distutils.errors import CCompilerError, DistutilsPlatformError
237 - from distutils.extension import Extension
238 - ext_modules = []
239 --try:
240 -- try:
241 -- from Cython.Distutils import build_ext
242 -- from Cython.Compiler.Version import version as pyrex_version
243 -- except ImportError:
244 -- print("No Cython, trying Pyrex...")
245 -- from Pyrex.Distutils import build_ext
246 -- from Pyrex.Compiler.Version import version as pyrex_version
247 --except ImportError:
248 -- have_pyrex = False
249 -- # try to build the extension from the prior generated source.
250 -- print("")
251 -- print("The python package 'Pyrex' is not available."
252 -- " If the .c files are available,")
253 -- print("they will be built,"
254 -- " but modifying the .pyx files will not rebuild them.")
255 -- print("")
256 -- from distutils.command.build_ext import build_ext
257 --else:
258 -- have_pyrex = True
259 -- pyrex_version_info = tuple(map(int, pyrex_version.rstrip("+").split('.')))
260 --
261 -+have_pyrex = False
262 -+from distutils.command.build_ext import build_ext
263 -
264 - class build_ext_if_possible(build_ext):
265 -
266
267 diff --git a/dev-vcs/bzr/files/bzr-2.5.1-sphinx-test-failures.patch b/dev-vcs/bzr/files/bzr-2.5.1-sphinx-test-failures.patch
268 deleted file mode 100644
269 index ac1fd0212d6..00000000000
270 --- a/dev-vcs/bzr/files/bzr-2.5.1-sphinx-test-failures.patch
271 +++ /dev/null
272 @@ -1,24 +0,0 @@
273 -Upstream revno 6523 ((vila) Avoid test sphinx-related failures now
274 -that we don't have direct sphinx anymore. (Vincent Ladeuil))
275 -
276 -=== modified file 'bzrlib/tests/test_utextwrap.py'
277 ---- bzrlib/tests/test_utextwrap.py 2011-05-28 06:44:01 +0000
278 -+++ bzrlib/tests/test_utextwrap.py 2012-04-17 12:18:27 +0000
279 -@@ -171,16 +171,6 @@
280 -
281 -
282 - def setup_both(testcase, base_class, reused_class):
283 --
284 -- if (features.sphinx.available()):
285 -- # Until https://bitbucket.org/birkenfeld/sphinx/issue/706 is fixed,
286 -- # we can't run these tests when sphinx <= 1.0.1 as it breaks
287 -- # textwrap.TextWrapper.wordsep_re
288 -- version = tuple(map(int,
289 -- features.sphinx.module.__version__.split('.')))
290 -- if version <= (1, 0, 7):
291 -- raise tests.TestSkipped(
292 -- 'sphinx textwrap monkeypatch breaks utextwrap')
293 - super(base_class, testcase).setUp()
294 - override_textwrap_symbols(testcase)
295 - reused_class.setUp(testcase)
296 -