Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@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: Sun, 20 Sep 2015 10:24:11
Message-Id: 1442744641.af409959195138b7a3efba40c9aa8019851ca30d.jlec@gentoo
1 commit: af409959195138b7a3efba40c9aa8019851ca30d
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 20 10:18:32 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 20 10:24:01 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af409959
7
8 dev-vcs/git-cola: Clean old
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-vcs/git-cola/Manifest | 1 -
14 .../files/git-cola-1.9.1-system-ssh-askpass.patch | 16 ---
15 .../files/git-cola-1.9.3-disable-tests.patch | 21 ----
16 dev-vcs/git-cola/git-cola-2.1.2.ebuild | 111 ---------------------
17 4 files changed, 149 deletions(-)
18
19 diff --git a/dev-vcs/git-cola/Manifest b/dev-vcs/git-cola/Manifest
20 index a0fa8dc..00611fa 100644
21 --- a/dev-vcs/git-cola/Manifest
22 +++ b/dev-vcs/git-cola/Manifest
23 @@ -1,3 +1,2 @@
24 -DIST git-cola-2.1.2.tar.gz 960514 SHA256 f0465f74858fc78b1b30e06856cdd6b5fa5f0cb9587b5c7e9b489f4d0e4d8f8d SHA512 79eae7937db148cde22b3d5dc1564180c3919965c35c11853270525be4eb19c7f223ddc215ba8122ed8bcb70e0e6ec57948f1e02aeeae1a9c3e7c98efef1e42d WHIRLPOOL 8797f0f0d02eaea1c7e1ef5544fc7e5e2bf6ca738cff721ce56db194de8cd94a3e825bf557f478237d75c5cf782ed43cdafc7a7afdaf1417fa4f3d8b65bcb756
25 DIST git-cola-2.2.1.tar.gz 996484 SHA256 df0a3e1d3c49629926f2e30f55d635eca3c8da12e96232196b307613fa4b3aec SHA512 a91fe706ea150d9bd9a05a9d494c63d373cae0154deca8e40e30fc20e70be32d4fd1f021a971c067d46ab24f472965a12c115eeb4bd94e4f62c21e546d89c109 WHIRLPOOL ac68a558775bc5fdf3a168416132dedbeffe554f6f60f50b7e33f0d17d67aa829318b7a0df2607b47e41b8823d60e206e0544e03382eae7651b9ca1c3b9dfc09
26 DIST git-cola-2.3.tar.gz 1005858 SHA256 3319810c16f6864deb5f94f533c7cfd17f30961595454da7c3c75879f56511b3 SHA512 2be0e971cd23aa0a1f8ec92ffd05f64cdd0ee34fb1e3c9bd3a98df0556968e9613d6494002e973db8de8ab389c48205ab1db42823d46e523c24a029cf25e3023 WHIRLPOOL 177996e40cc83dd2d2fe9db1ac97ba318d9d311779415e8e4327f3824a7c19f36f592ed1d6118e5a2d46a594a8dd681d0a2e2e54f2846c3636d9f4f3d8f196f5
27
28 diff --git a/dev-vcs/git-cola/files/git-cola-1.9.1-system-ssh-askpass.patch b/dev-vcs/git-cola/files/git-cola-1.9.1-system-ssh-askpass.patch
29 deleted file mode 100644
30 index 0aa476f..0000000
31 --- a/dev-vcs/git-cola/files/git-cola-1.9.1-system-ssh-askpass.patch
32 +++ /dev/null
33 @@ -1,16 +0,0 @@
34 -diff --git a/cola/app.py b/cola/app.py
35 -index f9236de..4636c81 100644
36 ---- a/cola/app.py
37 -+++ b/cola/app.py
38 -@@ -66,9 +66,9 @@ def setup_environment():
39 - elif ssh_askpass:
40 - askpass = ssh_askpass
41 - elif sys.platform == 'darwin':
42 -- askpass = resources.share('bin', 'ssh-askpass-darwin')
43 -+ askpass = resources.prefix('bin', 'ssh-askpass-darwin')
44 - else:
45 -- askpass = resources.share('bin', 'ssh-askpass')
46 -+ askpass = resources.prefix('bin', 'ssh-askpass')
47 -
48 - compat.setenv('GIT_ASKPASS', askpass)
49 - compat.setenv('SSH_ASKPASS', askpass)
50
51 diff --git a/dev-vcs/git-cola/files/git-cola-1.9.3-disable-tests.patch b/dev-vcs/git-cola/files/git-cola-1.9.3-disable-tests.patch
52 deleted file mode 100644
53 index 79f1ec2..0000000
54 --- a/dev-vcs/git-cola/files/git-cola-1.9.3-disable-tests.patch
55 +++ /dev/null
56 @@ -1,21 +0,0 @@
57 -diff -Naur cola-1.3.7.21.orig/test/git_test.py cola-1.3.7.21/test/git_test.py
58 ---- cola-1.3.7.21.orig/test/git_test.py 2009-04-30 13:56:22.352319047 +0200
59 -+++ cola-1.3.7.21/test/git_test.py 2009-04-30 13:56:53.123149963 +0200
60 -@@ -24,17 +24,6 @@
61 - version = self.git.version()[STDOUT]
62 - self.failUnless(version.startswith('git version'))
63 -
64 -- def test_tag(self):
65 -- """Test running 'git tag'"""
66 -- tags = self.git.tag()[STDOUT].splitlines()
67 -- self.failUnless( 'v1.0.0' in tags )
68 --
69 -- def test_show(self):
70 -- """Test running 'git show'"""
71 -- sha = '1b9742bda5d26a4f250fa64657f66ed20624a084'
72 -- contents = self.git.show(sha)[STDOUT].splitlines()
73 -- self.failUnless(contents[0] == '/build')
74 --
75 - def test_stdout(self):
76 - """Test overflowing the stdout buffer"""
77 - # Write to stdout only
78
79 diff --git a/dev-vcs/git-cola/git-cola-2.1.2.ebuild b/dev-vcs/git-cola/git-cola-2.1.2.ebuild
80 deleted file mode 100644
81 index d7412c3..0000000
82 --- a/dev-vcs/git-cola/git-cola-2.1.2.ebuild
83 +++ /dev/null
84 @@ -1,111 +0,0 @@
85 -# Copyright 1999-2015 Gentoo Foundation
86 -# Distributed under the terms of the GNU General Public License v2
87 -# $Id$
88 -
89 -EAPI=5
90 -
91 -PYTHON_COMPAT=( python2_7 python3_{3,4} )
92 -DISTUTILS_SINGLE_IMPL=true
93 -
94 -inherit distutils-r1 readme.gentoo virtualx
95 -
96 -DESCRIPTION="The highly caffeinated git GUI"
97 -HOMEPAGE="https://git-cola.github.com/"
98 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
99 -
100 -LICENSE="GPL-2"
101 -SLOT="0"
102 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
103 -IUSE="doc test"
104 -
105 -REQUIRED_USE="doc? ( python_targets_python2_7 )"
106 -
107 -RDEPEND="
108 - dev-python/jsonpickle[${PYTHON_USEDEP}]
109 - dev-python/pyinotify[${PYTHON_USEDEP}]
110 - dev-python/PyQt4[${PYTHON_USEDEP}]
111 - dev-vcs/git"
112 -DEPEND="${RDEPEND}
113 - app-text/asciidoc
114 - app-text/xmlto
115 - sys-devel/gettext
116 - doc? (
117 - dev-python/sphinx[${PYTHON_USEDEP}]
118 - dev-python/sphinxtogithub[$(python_gen_usedep 'python2*')]
119 - )
120 - test? (
121 - dev-python/nose[${PYTHON_USEDEP}]
122 - sys-apps/net-tools
123 - )"
124 -
125 -PATCHES=(
126 - "${FILESDIR}"/${PN}-1.9.3-disable-tests.patch
127 - "${FILESDIR}"/${PN}-1.9.1-system-ssh-askpass.patch
128 - )
129 -
130 -pkg_pretend() {
131 - if use test && [[ -z "$(hostname -d)" ]] ; then
132 - die "Test will fail if no domain is set"
133 - fi
134 -}
135 -
136 -python_prepare_all() {
137 - rm share/git-cola/bin/*askpass* || die
138 -
139 - # unfinished translate framework
140 - rm test/i18n_test.py || die
141 -
142 - # don't install docs into wrong location
143 - sed -i \
144 - -e '/doc/d' \
145 - setup.py || die "sed failed"
146 -
147 - sed -i \
148 - -e "s|'doc', 'git-cola'|'doc', '${PF}'|" \
149 - cola/resources.py || die "sed failed"
150 -
151 - distutils-r1_python_prepare_all
152 -}
153 -
154 -python_compile_all() {
155 - cd share/doc/${PN}/
156 - if use doc ; then
157 - emake all
158 - else
159 - sed \
160 - -e '/^install:/s:install-html::g' \
161 - -e '/^install:/s:install-man::g' \
162 - -i Makefile || die
163 - fi
164 -}
165 -
166 -python_test() {
167 - PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C" \
168 - VIRTUALX_COMMAND="nosetests --verbose \
169 - --with-id --with-doctest --exclude=sphinxtogithub" \
170 - virtualmake
171 -}
172 -
173 -src_install() {
174 - distutils-r1_src_install
175 -}
176 -
177 -python_install_all() {
178 - cd share/doc/${PN}/ || die
179 - emake \
180 - DESTDIR="${D}" \
181 - docdir="${EPREFIX}/usr/share/doc/${PF}" \
182 - prefix="${EPREFIX}/usr" \
183 - install
184 -
185 - python_fix_shebang "${ED}/usr/share/git-cola/bin/git-xbase"
186 - python_optimize "${ED}/usr/share/git-cola/lib/cola"
187 -
188 - if ! use doc ; then
189 - HTML_DOCS=( "${FILESDIR}"/index.html )
190 - fi
191 -
192 - distutils-r1_python_install_all
193 - readme.gentoo_create_doc
194 - docompress /usr/share/doc/${PF}/git-cola.txt
195 -}