Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-cola/, dev-vcs/git-cola/files/
Date: Wed, 28 Feb 2018 22:27:11
Message-Id: 1519856808.f8a2ab3e9c5d11afbda52516167b7e8772a3dcd8.asturm@gentoo
1 commit: f8a2ab3e9c5d11afbda52516167b7e8772a3dcd8
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 28 22:26:15 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 28 22:26:48 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8a2ab3e
7
8 dev-vcs/git-cola: Drop old
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-vcs/git-cola/Manifest | 3 -
13 .../files/git-cola-2.2.1-disable-live-tests.patch | 22 -----
14 ...git-cola-2.2.1-update-git-config-in-tests.patch | 13 ---
15 dev-vcs/git-cola/git-cola-2.2.1.ebuild | 97 ----------------------
16 dev-vcs/git-cola/git-cola-2.3.ebuild | 96 ---------------------
17 dev-vcs/git-cola/git-cola-2.4.ebuild | 96 ---------------------
18 6 files changed, 327 deletions(-)
19
20 diff --git a/dev-vcs/git-cola/Manifest b/dev-vcs/git-cola/Manifest
21 index 020e6f48381..64328eade56 100644
22 --- a/dev-vcs/git-cola/Manifest
23 +++ b/dev-vcs/git-cola/Manifest
24 @@ -1,4 +1 @@
25 DIST git-cola-2.11.tar.gz 1179769 BLAKE2B db2926b8137b2bb11cc9698b37156d8b0c8f72068061d7d1598b2e3237e44764c2914923103aaaa704babe26cf7a7c16bbe28a61770d98954f776b8ce955658a SHA512 99b865d7a49dcb041e54811141d242386642b5ed6fc12fa7a03431eb9b905cb88d88c4892dc432dd59e8ae3c85f20cc40f4bfb9b6ff002f4e5a4cfc0bdc4c72c
26 -DIST git-cola-2.2.1.tar.gz 996484 BLAKE2B 2c2c2bc085eec36c4ef6809a93458d8faa5ca6a880310877aa0dc56e4ad0ffb6a7d7c86785d8f5354d613d4b8c5fa5bce057be60bd97220f64d66aa905ae78f4 SHA512 a91fe706ea150d9bd9a05a9d494c63d373cae0154deca8e40e30fc20e70be32d4fd1f021a971c067d46ab24f472965a12c115eeb4bd94e4f62c21e546d89c109
27 -DIST git-cola-2.3.tar.gz 1005858 BLAKE2B 18265a959ff4662ac2ba5a1ba0c304a5b79a485d96ac744a9525c2dfb84d898c314742857665728bae8c85366b00f348bc043133ef842f140a49a8e0c1af1246 SHA512 2be0e971cd23aa0a1f8ec92ffd05f64cdd0ee34fb1e3c9bd3a98df0556968e9613d6494002e973db8de8ab389c48205ab1db42823d46e523c24a029cf25e3023
28 -DIST git-cola-2.4.tar.gz 987829 BLAKE2B 38ab959c19642349c6910d1131aa5e20d3577d39816a93759b9c2f18e4a3ccc65a972317910dde872f870237bf55c62dd63e83d04ae80b0ecf8afd2adcb5d56b SHA512 702d5c7322a21e5807354d3b3b7b31fd5cef3c12c3294e2ad57add99f586277d4805e85122682acde40e6243529588e62762f9483d807ed12340057c6a37a0cc
29
30 diff --git a/dev-vcs/git-cola/files/git-cola-2.2.1-disable-live-tests.patch b/dev-vcs/git-cola/files/git-cola-2.2.1-disable-live-tests.patch
31 deleted file mode 100644
32 index 2ebdc9880d1..00000000000
33 --- a/dev-vcs/git-cola/files/git-cola-2.2.1-disable-live-tests.patch
34 +++ /dev/null
35 @@ -1,22 +0,0 @@
36 -diff --git a/test/git_test.py b/test/git_test.py
37 -index 9f812b2..ff7da24 100644
38 ---- a/test/git_test.py
39 -+++ b/test/git_test.py
40 -@@ -53,17 +53,6 @@ class GitCommandTest(unittest.TestCase):
41 - version = self.git.version()[STDOUT]
42 - self.failUnless(version.startswith('git version'))
43 -
44 -- def test_tag(self):
45 -- """Test running 'git tag'"""
46 -- tags = self.git.tag()[STDOUT].splitlines()
47 -- self.failUnless( 'v1.0.0' in tags )
48 --
49 -- def test_show(self):
50 -- """Test running 'git show'"""
51 -- sha = '1b9742bda5d26a4f250fa64657f66ed20624a084'
52 -- contents = self.git.show(sha)[STDOUT].splitlines()
53 -- self.failUnless(contents[0] == '/build')
54 --
55 - def test_stdout(self):
56 - """Test overflowing the stdout buffer"""
57 - # Write to stdout only
58
59 diff --git a/dev-vcs/git-cola/files/git-cola-2.2.1-update-git-config-in-tests.patch b/dev-vcs/git-cola/files/git-cola-2.2.1-update-git-config-in-tests.patch
60 deleted file mode 100644
61 index 96271d05548..00000000000
62 --- a/dev-vcs/git-cola/files/git-cola-2.2.1-update-git-config-in-tests.patch
63 +++ /dev/null
64 @@ -1,13 +0,0 @@
65 -diff --git a/test/helper.py b/test/helper.py
66 -index 006a5b1..64d0dfc 100644
67 ---- a/test/helper.py
68 -+++ b/test/helper.py
69 -@@ -87,6 +87,8 @@ class GitRepositoryTestCase(TmpPathTestCase):
70 -
71 - def initialize_repo(self):
72 - self.git('init')
73 -+ self.git('config', '--local', 'user.name', 'Your Name')
74 -+ self.git('config', '--local', 'user.email', 'you@×××××××.com')
75 - self.touch('A', 'B')
76 - self.git('add', 'A', 'B')
77 -
78
79 diff --git a/dev-vcs/git-cola/git-cola-2.2.1.ebuild b/dev-vcs/git-cola/git-cola-2.2.1.ebuild
80 deleted file mode 100644
81 index cad0264b76b..00000000000
82 --- a/dev-vcs/git-cola/git-cola-2.2.1.ebuild
83 +++ /dev/null
84 @@ -1,97 +0,0 @@
85 -# Copyright 1999-2015 Gentoo Foundation
86 -# Distributed under the terms of the GNU General Public License v2
87 -
88 -EAPI=5
89 -
90 -PYTHON_COMPAT=( python2_7 python3_4 )
91 -DISTUTILS_SINGLE_IMPL=true
92 -
93 -inherit distutils-r1 readme.gentoo virtualx
94 -
95 -DESCRIPTION="The highly caffeinated git GUI"
96 -HOMEPAGE="https://git-cola.github.io/"
97 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
98 -
99 -LICENSE="GPL-2"
100 -SLOT="0"
101 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
102 -IUSE="doc test"
103 -
104 -RDEPEND="
105 - dev-python/pyinotify[${PYTHON_USEDEP}]
106 - dev-python/send2trash[${PYTHON_USEDEP}]
107 - dev-python/PyQt4[${PYTHON_USEDEP}]
108 - dev-vcs/git"
109 -DEPEND="${RDEPEND}
110 - sys-devel/gettext
111 - doc? (
112 - dev-python/sphinx[${PYTHON_USEDEP}]
113 - python_targets_python2_7? ( dev-python/sphinxtogithub[$(python_gen_usedep 'python2*')] )
114 - )
115 - test? ( dev-python/nose[${PYTHON_USEDEP}] )
116 -"
117 -
118 -PATCHES=(
119 - "${FILESDIR}"/${P}-disable-live-tests.patch
120 - "${FILESDIR}"/${P}-update-git-config-in-tests.patch
121 -)
122 -
123 -python_prepare_all() {
124 - rm share/git-cola/bin/*askpass* || die
125 -
126 - # remove broken tests
127 - rm test/i18n_test.py || die
128 -
129 - # don't install docs into wrong location
130 - sed -i -e '/doc/d' setup.py || die
131 -
132 - # fix doc directory reference
133 - sed -i \
134 - -e "s/'doc', 'git-cola'/'doc', '${PF}'/" \
135 - cola/resources.py || die
136 -
137 - # fix ssh-askpass directory reference
138 - sed -i -e 's/resources\.share/resources\.prefix/' cola/app.py || die
139 -
140 - distutils-r1_python_prepare_all
141 -}
142 -
143 -python_compile_all() {
144 - cd share/doc/${PN}/ || die
145 - if use doc; then
146 - emake all
147 - else
148 - sed \
149 - -e '/^install:/s:install-html::g' \
150 - -e '/^install:/s:install-man::g' \
151 - -i Makefile || die
152 - fi
153 -}
154 -
155 -python_test() {
156 - PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C" \
157 - VIRTUALX_COMMAND="nosetests --verbose --with-id --with-doctest \
158 - --exclude=sphinxtogithub" \
159 - virtualmake
160 -}
161 -
162 -src_install() {
163 - distutils-r1_src_install
164 -}
165 -
166 -python_install_all() {
167 - cd share/doc/${PN}/ || die
168 - emake \
169 - DESTDIR="${D}" \
170 - docdir="${EPREFIX}/usr/share/doc/${PF}" \
171 - prefix="${EPREFIX}/usr" \
172 - install
173 -
174 - python_fix_shebang "${ED}/usr/share/git-cola/bin/git-xbase"
175 - python_optimize "${ED}/usr/share/git-cola/lib/cola"
176 -
177 - use doc || HTML_DOCS=( "${FILESDIR}"/index.html )
178 -
179 - distutils-r1_python_install_all
180 - readme.gentoo_create_doc
181 -}
182
183 diff --git a/dev-vcs/git-cola/git-cola-2.3.ebuild b/dev-vcs/git-cola/git-cola-2.3.ebuild
184 deleted file mode 100644
185 index 878eef70db2..00000000000
186 --- a/dev-vcs/git-cola/git-cola-2.3.ebuild
187 +++ /dev/null
188 @@ -1,96 +0,0 @@
189 -# Copyright 1999-2015 Gentoo Foundation
190 -# Distributed under the terms of the GNU General Public License v2
191 -
192 -EAPI=5
193 -
194 -PYTHON_COMPAT=( python2_7 python3_4 )
195 -DISTUTILS_SINGLE_IMPL=true
196 -
197 -inherit distutils-r1 readme.gentoo virtualx
198 -
199 -DESCRIPTION="The highly caffeinated git GUI"
200 -HOMEPAGE="https://git-cola.github.io/"
201 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
202 -
203 -LICENSE="GPL-2"
204 -SLOT="0"
205 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
206 -IUSE="doc test"
207 -
208 -RDEPEND="
209 - dev-python/pyinotify[${PYTHON_USEDEP}]
210 - dev-python/send2trash[${PYTHON_USEDEP}]
211 - dev-python/PyQt4[${PYTHON_USEDEP}]
212 - dev-vcs/git"
213 -DEPEND="${RDEPEND}
214 - sys-devel/gettext
215 - doc? (
216 - dev-python/sphinx[${PYTHON_USEDEP}]
217 - python_targets_python2_7? ( dev-python/sphinxtogithub[$(python_gen_usedep 'python2*')] )
218 - )
219 - test? ( dev-python/nose[${PYTHON_USEDEP}] )
220 -"
221 -
222 -PATCHES=(
223 - "${FILESDIR}"/${PN}-2.2.1-disable-live-tests.patch
224 -)
225 -
226 -python_prepare_all() {
227 - rm share/git-cola/bin/*askpass* || die
228 -
229 - # remove broken tests
230 - rm test/i18n_test.py || die
231 -
232 - # don't install docs into wrong location
233 - sed -i -e '/doc/d' setup.py || die
234 -
235 - # fix doc directory reference
236 - sed -i \
237 - -e "s/'doc', 'git-cola'/'doc', '${PF}'/" \
238 - cola/resources.py || die
239 -
240 - # fix ssh-askpass directory reference
241 - sed -i -e 's/resources\.share/resources\.prefix/' cola/app.py || die
242 -
243 - distutils-r1_python_prepare_all
244 -}
245 -
246 -python_compile_all() {
247 - cd share/doc/${PN}/ || die
248 - if use doc; then
249 - emake all
250 - else
251 - sed \
252 - -e '/^install:/s:install-html::g' \
253 - -e '/^install:/s:install-man::g' \
254 - -i Makefile || die
255 - fi
256 -}
257 -
258 -python_test() {
259 - PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C" \
260 - VIRTUALX_COMMAND="nosetests --verbose --with-id --with-doctest \
261 - --exclude=sphinxtogithub" \
262 - virtualmake
263 -}
264 -
265 -src_install() {
266 - distutils-r1_src_install
267 -}
268 -
269 -python_install_all() {
270 - cd share/doc/${PN}/ || die
271 - emake \
272 - DESTDIR="${D}" \
273 - docdir="${EPREFIX}/usr/share/doc/${PF}" \
274 - prefix="${EPREFIX}/usr" \
275 - install
276 -
277 - python_fix_shebang "${ED}/usr/share/git-cola/bin/git-xbase"
278 - python_optimize "${ED}/usr/share/git-cola/lib/cola"
279 -
280 - use doc || HTML_DOCS=( "${FILESDIR}"/index.html )
281 -
282 - distutils-r1_python_install_all
283 - readme.gentoo_create_doc
284 -}
285
286 diff --git a/dev-vcs/git-cola/git-cola-2.4.ebuild b/dev-vcs/git-cola/git-cola-2.4.ebuild
287 deleted file mode 100644
288 index 3b2f509edd4..00000000000
289 --- a/dev-vcs/git-cola/git-cola-2.4.ebuild
290 +++ /dev/null
291 @@ -1,96 +0,0 @@
292 -# Copyright 1999-2015 Gentoo Foundation
293 -# Distributed under the terms of the GNU General Public License v2
294 -
295 -EAPI=5
296 -
297 -PYTHON_COMPAT=( python2_7 python3_4 )
298 -DISTUTILS_SINGLE_IMPL=true
299 -
300 -inherit distutils-r1 readme.gentoo virtualx
301 -
302 -DESCRIPTION="The highly caffeinated git GUI"
303 -HOMEPAGE="https://git-cola.github.io/"
304 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
305 -
306 -LICENSE="GPL-2"
307 -SLOT="0"
308 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
309 -IUSE="doc test"
310 -
311 -RDEPEND="
312 - dev-python/pyinotify[${PYTHON_USEDEP}]
313 - dev-python/send2trash[${PYTHON_USEDEP}]
314 - dev-python/PyQt4[${PYTHON_USEDEP}]
315 - dev-vcs/git"
316 -DEPEND="${RDEPEND}
317 - sys-devel/gettext
318 - doc? (
319 - dev-python/sphinx[${PYTHON_USEDEP}]
320 - python_targets_python2_7? ( dev-python/sphinxtogithub[$(python_gen_usedep 'python2*')] )
321 - )
322 - test? ( dev-python/nose[${PYTHON_USEDEP}] )
323 -"
324 -
325 -PATCHES=(
326 - "${FILESDIR}"/${PN}-2.2.1-disable-live-tests.patch
327 -)
328 -
329 -python_prepare_all() {
330 - rm share/git-cola/bin/*askpass* || die
331 -
332 - # remove broken tests
333 - rm test/i18n_test.py || die
334 -
335 - # don't install docs into wrong location
336 - sed -i -e '/doc/d' setup.py || die
337 -
338 - # fix doc directory reference
339 - sed -i \
340 - -e "s/'doc', 'git-cola'/'doc', '${PF}'/" \
341 - cola/resources.py || die
342 -
343 - # fix ssh-askpass directory reference
344 - sed -i -e 's/resources\.share/resources\.prefix/' cola/app.py || die
345 -
346 - distutils-r1_python_prepare_all
347 -}
348 -
349 -python_compile_all() {
350 - cd share/doc/${PN}/ || die
351 - if use doc; then
352 - emake all
353 - else
354 - sed \
355 - -e '/^install:/s:install-html::g' \
356 - -e '/^install:/s:install-man::g' \
357 - -i Makefile || die
358 - fi
359 -}
360 -
361 -python_test() {
362 - PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C" \
363 - VIRTUALX_COMMAND="nosetests --verbose --with-id --with-doctest \
364 - --exclude=sphinxtogithub" \
365 - virtualmake
366 -}
367 -
368 -src_install() {
369 - distutils-r1_src_install
370 -}
371 -
372 -python_install_all() {
373 - cd share/doc/${PN}/ || die
374 - emake \
375 - DESTDIR="${D}" \
376 - docdir="${EPREFIX}/usr/share/doc/${PF}" \
377 - prefix="${EPREFIX}/usr" \
378 - install
379 -
380 - python_fix_shebang "${ED}/usr/share/git-cola/bin/git-xbase" "${ED}"/usr/bin/git-cola
381 - python_optimize "${ED}/usr/share/git-cola/lib/cola"
382 -
383 - use doc || HTML_DOCS=( "${FILESDIR}"/index.html )
384 -
385 - distutils-r1_python_install_all
386 - readme.gentoo_create_doc
387 -}