1 |
commit: 324a8d53a06fd585035fc0ce7ed19873a47d4c51 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 23 15:17:28 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 24 22:09:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=324a8d53 |
7 |
|
8 |
dev-vcs/git-cola: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-vcs/git-cola/Manifest | 2 - |
13 |
dev-vcs/git-cola/git-cola-3.8.ebuild | 114 ----------------------------------- |
14 |
dev-vcs/git-cola/git-cola-3.9.ebuild | 110 --------------------------------- |
15 |
3 files changed, 226 deletions(-) |
16 |
|
17 |
diff --git a/dev-vcs/git-cola/Manifest b/dev-vcs/git-cola/Manifest |
18 |
index 7008ac23a0cc..f160122dd063 100644 |
19 |
--- a/dev-vcs/git-cola/Manifest |
20 |
+++ b/dev-vcs/git-cola/Manifest |
21 |
@@ -1,4 +1,2 @@ |
22 |
DIST git-cola-3.10.1.tar.gz 996036 BLAKE2B 2d705b853cf67a0f437d8dc77d46d5804124af600f872717c832843586d3c739e67a79ebe50ba2a8db38afd4217a7bb94db9cb8e27d51a00087ced340f4877d6 SHA512 79496023bfaa05049079eec2cdaf8449a6598faebedb4a13acf178209edc63e725eb1b003700a1dcfee09072d34e5a49d7053f070e45b498562cc124cd0582d4 |
23 |
DIST git-cola-3.11.0.tar.gz 997046 BLAKE2B 7a8270c30e0cbd919dcd6f8e38ca420257630717e535ef11ed337fde2461b544453b20363906a5b769cd23d96ca77ce72d71729f46ae6abada83ae4d33628cbc SHA512 f05862b9b27ff5dfe9b220bbee4f3f455a7ce98acaa0bb0a8cdbb44f8cb97ce265df036ba48d5abb0bf46a91fd782cd73a67ca544b4662d36e8023e92c80b541 |
24 |
-DIST git-cola-3.8.tar.gz 980190 BLAKE2B 0502701c63f370b304a83094b2154757d1810216e82882472c7eac9633ac26eaa75974af05c32c18203d03b67a027655ea85c0e335915f204f668fcc86ed9c3f SHA512 9ae04dfef3b5bc64452a8df43e7afa93091f282097447208dadbd17522b62e5c43f7afce3eecc59fc4e38863496cdb41ac8b0453bbf327121629fbde20e45bb0 |
25 |
-DIST git-cola-3.9.tar.gz 992335 BLAKE2B ab591d953173aa69773a82eb91ebcc6fa5bc5e31efa78ad27f3e1e57e22c4222d70914f059dffb0b05b2b366d3208e127ad123ccfeb1b4c1b648daae0bf53352 SHA512 91f4bb40c166669e05136985920113d7482a396a46adf45fcf05e8ee56677fee7ebfb6a793face79737a17be42aa5e32b216a30847e8e4a5b8dc5b3b4eba5395 |
26 |
|
27 |
diff --git a/dev-vcs/git-cola/git-cola-3.8.ebuild b/dev-vcs/git-cola/git-cola-3.8.ebuild |
28 |
deleted file mode 100644 |
29 |
index d467fc38d90b..000000000000 |
30 |
--- a/dev-vcs/git-cola/git-cola-3.8.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,114 +0,0 @@ |
33 |
-# Copyright 1999-2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-PYTHON_COMPAT=( python3_{8..9} ) |
39 |
-DISTUTILS_SINGLE_IMPL=true |
40 |
-DISTUTILS_USE_SETUPTOOLS=no |
41 |
-inherit distutils-r1 readme.gentoo-r1 virtualx xdg-utils |
42 |
- |
43 |
-DESCRIPTION="The highly caffeinated git GUI" |
44 |
-HOMEPAGE="https://git-cola.github.io/" |
45 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="GPL-2" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="amd64 x86" |
50 |
-IUSE="doc test" |
51 |
- |
52 |
-RESTRICT="!test? ( test )" |
53 |
- |
54 |
-RDEPEND=" |
55 |
- $(python_gen_cond_dep ' |
56 |
- dev-python/numpy[${PYTHON_USEDEP}] |
57 |
- dev-python/pygments[${PYTHON_USEDEP}] |
58 |
- dev-python/PyQt5[network,${PYTHON_USEDEP}] |
59 |
- dev-python/QtPy[gui,${PYTHON_USEDEP}] |
60 |
- dev-python/send2trash[${PYTHON_USEDEP}] |
61 |
- ') |
62 |
- dev-vcs/git |
63 |
-" |
64 |
-BDEPEND="sys-devel/gettext |
65 |
- $(python_gen_cond_dep " |
66 |
- doc? ( dev-python/sphinx[\${PYTHON_USEDEP}] ) |
67 |
- test? ( |
68 |
- ${VIRTUALX_DEPEND} |
69 |
- dev-python/mock[\${PYTHON_USEDEP}] |
70 |
- dev-python/nose[\${PYTHON_USEDEP}] |
71 |
- dev-python/pytest[\${PYTHON_USEDEP}] |
72 |
- ) |
73 |
- ") |
74 |
-" |
75 |
- |
76 |
-python_prepare_all() { |
77 |
- # make sure that tests also use the system provided QtPy |
78 |
- rm -r qtpy || die |
79 |
- |
80 |
- rm share/git-cola/bin/*askpass* || die |
81 |
- |
82 |
- # don't install docs into wrong location |
83 |
- sed -i -e '/doc/d' setup.py || die |
84 |
- |
85 |
- # fix doc directory reference |
86 |
- sed -i \ |
87 |
- -e "s/'doc', 'git-cola'/'doc', '${PF}'/" \ |
88 |
- cola/resources.py || die |
89 |
- |
90 |
- # fix ssh-askpass directory reference |
91 |
- sed -i -e 's/resources\.share/resources\.prefix/' cola/app.py || die |
92 |
- |
93 |
- distutils-r1_python_prepare_all |
94 |
-} |
95 |
- |
96 |
-python_configure_all() { |
97 |
- mydistutilsargs=( --no-vendor-libs --no-private-libs ) |
98 |
-} |
99 |
- |
100 |
-python_compile_all() { |
101 |
- cd share/doc/${PN}/ || die |
102 |
- if use doc ; then |
103 |
- emake all |
104 |
- else |
105 |
- sed \ |
106 |
- -e '/^install:/s:install-html::g' \ |
107 |
- -e '/^install:/s:install-man::g' \ |
108 |
- -i Makefile || die |
109 |
- fi |
110 |
-} |
111 |
- |
112 |
-python_test() { |
113 |
- GIT_CONFIG_NOSYSTEM=true \ |
114 |
- PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="en_US.utf8" \ |
115 |
- virtx nosetests --verbose --with-id --with-doctest \ |
116 |
- --exclude=sphinxtogithub |
117 |
-} |
118 |
- |
119 |
-src_install() { |
120 |
- distutils-r1_src_install |
121 |
-} |
122 |
- |
123 |
-python_install_all() { |
124 |
- cd share/doc/${PN}/ || die |
125 |
- emake \ |
126 |
- DESTDIR="${D}" \ |
127 |
- docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
128 |
- prefix="${EPREFIX}/usr" \ |
129 |
- install |
130 |
- |
131 |
- # remove empty bin folder |
132 |
- rm -R "${ED}"/usr/share/git-cola/bin |
133 |
- |
134 |
- use doc || HTML_DOCS=( "${FILESDIR}"/index.html ) |
135 |
- |
136 |
- distutils-r1_python_install_all |
137 |
- readme.gentoo_create_doc |
138 |
-} |
139 |
- |
140 |
-pkg_postinst() { |
141 |
- xdg_desktop_database_update |
142 |
-} |
143 |
- |
144 |
-pkg_postrm() { |
145 |
- xdg_desktop_database_update |
146 |
-} |
147 |
|
148 |
diff --git a/dev-vcs/git-cola/git-cola-3.9.ebuild b/dev-vcs/git-cola/git-cola-3.9.ebuild |
149 |
deleted file mode 100644 |
150 |
index ef74afe09e0a..000000000000 |
151 |
--- a/dev-vcs/git-cola/git-cola-3.9.ebuild |
152 |
+++ /dev/null |
153 |
@@ -1,110 +0,0 @@ |
154 |
-# Copyright 1999-2021 Gentoo Authors |
155 |
-# Distributed under the terms of the GNU General Public License v2 |
156 |
- |
157 |
-EAPI=7 |
158 |
- |
159 |
-PYTHON_COMPAT=( python3_{8..9} ) |
160 |
-DISTUTILS_SINGLE_IMPL=true |
161 |
-DISTUTILS_USE_SETUPTOOLS=no |
162 |
-inherit distutils-r1 readme.gentoo-r1 virtualx xdg-utils |
163 |
- |
164 |
-DESCRIPTION="The highly caffeinated git GUI" |
165 |
-HOMEPAGE="https://git-cola.github.io/" |
166 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
167 |
- |
168 |
-LICENSE="GPL-2" |
169 |
-SLOT="0" |
170 |
-KEYWORDS="~amd64 ~x86" |
171 |
-IUSE="doc test" |
172 |
- |
173 |
-RESTRICT="!test? ( test )" |
174 |
- |
175 |
-RDEPEND=" |
176 |
- $(python_gen_cond_dep ' |
177 |
- dev-python/numpy[${PYTHON_USEDEP}] |
178 |
- dev-python/pygments[${PYTHON_USEDEP}] |
179 |
- dev-python/PyQt5[network,${PYTHON_USEDEP}] |
180 |
- dev-python/QtPy[gui,${PYTHON_USEDEP}] |
181 |
- dev-python/send2trash[${PYTHON_USEDEP}] |
182 |
- ') |
183 |
- dev-vcs/git |
184 |
-" |
185 |
-BDEPEND="sys-devel/gettext |
186 |
- $(python_gen_cond_dep " |
187 |
- doc? ( dev-python/sphinx[\${PYTHON_USEDEP}] ) |
188 |
- test? ( |
189 |
- ${VIRTUALX_DEPEND} |
190 |
- dev-python/mock[\${PYTHON_USEDEP}] |
191 |
- dev-python/nose[\${PYTHON_USEDEP}] |
192 |
- dev-python/pytest[\${PYTHON_USEDEP}] |
193 |
- ) |
194 |
- ") |
195 |
-" |
196 |
- |
197 |
-python_prepare_all() { |
198 |
- # make sure that tests also use the system provided QtPy |
199 |
- rm -r qtpy || die |
200 |
- |
201 |
- rm share/git-cola/bin/*askpass* || die |
202 |
- |
203 |
- # don't install docs into wrong location |
204 |
- sed -i -e '/doc/d' setup.py || die |
205 |
- |
206 |
- # fix doc directory reference |
207 |
- sed -i \ |
208 |
- -e "s/'doc', 'git-cola'/'doc', '${PF}'/" \ |
209 |
- cola/resources.py || die |
210 |
- |
211 |
- # fix ssh-askpass directory reference |
212 |
- sed -i -e 's/resources\.share/resources\.prefix/' cola/app.py || die |
213 |
- |
214 |
- distutils-r1_python_prepare_all |
215 |
-} |
216 |
- |
217 |
-python_configure_all() { |
218 |
- mydistutilsargs=( --no-vendor-libs --no-private-libs ) |
219 |
-} |
220 |
- |
221 |
-python_compile_all() { |
222 |
- cd share/doc/${PN}/ || die |
223 |
- if use doc ; then |
224 |
- emake all |
225 |
- else |
226 |
- sed \ |
227 |
- -e '/^install:/s:install-html::g' \ |
228 |
- -e '/^install:/s:install-man::g' \ |
229 |
- -i Makefile || die |
230 |
- fi |
231 |
-} |
232 |
- |
233 |
-python_test() { |
234 |
- GIT_CONFIG_NOSYSTEM=true \ |
235 |
- PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C.utf8" \ |
236 |
- virtx nosetests --verbose --with-id --with-doctest \ |
237 |
- --exclude=sphinxtogithub |
238 |
-} |
239 |
- |
240 |
-python_install_all() { |
241 |
- cd share/doc/${PN}/ || die |
242 |
- emake \ |
243 |
- DESTDIR="${D}" \ |
244 |
- docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
245 |
- prefix="${EPREFIX}/usr" \ |
246 |
- install |
247 |
- |
248 |
- # remove empty bin folder |
249 |
- rm -R "${ED}"/usr/share/git-cola/bin || die |
250 |
- |
251 |
- use doc || HTML_DOCS=( "${FILESDIR}"/index.html ) |
252 |
- |
253 |
- distutils-r1_python_install_all |
254 |
- readme.gentoo_create_doc |
255 |
-} |
256 |
- |
257 |
-pkg_postinst() { |
258 |
- xdg_desktop_database_update |
259 |
-} |
260 |
- |
261 |
-pkg_postrm() { |
262 |
- xdg_desktop_database_update |
263 |
-} |