1 |
commit: 76ae2163e484fc413a786a1bb58d0ffa425e78c8 |
2 |
Author: Martin Gysel <me <AT> bearsh <DOT> org> |
3 |
AuthorDate: Wed Sep 15 19:16:45 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 21 07:03:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76ae2163 |
7 |
|
8 |
dev-vcs/git-cola: remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.23, Repoman-3.0.3 |
11 |
Signed-off-by: Martin Gysel <me <AT> bearsh.org> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/22302 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
dev-vcs/git-cola/Manifest | 1 - |
16 |
dev-vcs/git-cola/git-cola-3.5-r1.ebuild | 116 -------------------------------- |
17 |
2 files changed, 117 deletions(-) |
18 |
|
19 |
diff --git a/dev-vcs/git-cola/Manifest b/dev-vcs/git-cola/Manifest |
20 |
index c2b90a62781..ccbe0eb1552 100644 |
21 |
--- a/dev-vcs/git-cola/Manifest |
22 |
+++ b/dev-vcs/git-cola/Manifest |
23 |
@@ -1,4 +1,3 @@ |
24 |
DIST git-cola-3.10.1.tar.gz 996036 BLAKE2B 2d705b853cf67a0f437d8dc77d46d5804124af600f872717c832843586d3c739e67a79ebe50ba2a8db38afd4217a7bb94db9cb8e27d51a00087ced340f4877d6 SHA512 79496023bfaa05049079eec2cdaf8449a6598faebedb4a13acf178209edc63e725eb1b003700a1dcfee09072d34e5a49d7053f070e45b498562cc124cd0582d4 |
25 |
-DIST git-cola-3.5.tar.gz 970155 BLAKE2B ae602d4de0e6fac9d2817100bee8923d8f550d0bb83ddafd806ccdfbd0a77c65bfb60ff03a9399c6b60d5d4683eb6d46ee41eaa43faf2e2ac092b34c9151c999 SHA512 532e24092a72486171345aeb0e7610eb49c4062b64395988c6c4965cac6e9ffaed1268c30a0a525d4d99404f626d9e505a4be148d376994d4326e3ca873e2793 |
26 |
DIST git-cola-3.8.tar.gz 980190 BLAKE2B 0502701c63f370b304a83094b2154757d1810216e82882472c7eac9633ac26eaa75974af05c32c18203d03b67a027655ea85c0e335915f204f668fcc86ed9c3f SHA512 9ae04dfef3b5bc64452a8df43e7afa93091f282097447208dadbd17522b62e5c43f7afce3eecc59fc4e38863496cdb41ac8b0453bbf327121629fbde20e45bb0 |
27 |
DIST git-cola-3.9.tar.gz 992335 BLAKE2B ab591d953173aa69773a82eb91ebcc6fa5bc5e31efa78ad27f3e1e57e22c4222d70914f059dffb0b05b2b366d3208e127ad123ccfeb1b4c1b648daae0bf53352 SHA512 91f4bb40c166669e05136985920113d7482a396a46adf45fcf05e8ee56677fee7ebfb6a793face79737a17be42aa5e32b216a30847e8e4a5b8dc5b3b4eba5395 |
28 |
|
29 |
diff --git a/dev-vcs/git-cola/git-cola-3.5-r1.ebuild b/dev-vcs/git-cola/git-cola-3.5-r1.ebuild |
30 |
deleted file mode 100644 |
31 |
index 4dae0de9e54..00000000000 |
32 |
--- a/dev-vcs/git-cola/git-cola-3.5-r1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,116 +0,0 @@ |
35 |
-# Copyright 1999-2021 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
- |
40 |
-PYTHON_COMPAT=( python3_8 ) |
41 |
-DISTUTILS_SINGLE_IMPL=true |
42 |
-DISTUTILS_USE_SETUPTOOLS=no |
43 |
-inherit distutils-r1 readme.gentoo-r1 virtualx xdg-utils |
44 |
- |
45 |
-DESCRIPTION="The highly caffeinated git GUI" |
46 |
-HOMEPAGE="https://git-cola.github.io/" |
47 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
- |
49 |
-LICENSE="GPL-2" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="amd64 x86" |
52 |
-IUSE="doc test" |
53 |
- |
54 |
-RESTRICT="!test? ( test )" |
55 |
- |
56 |
-RDEPEND=" |
57 |
- $(python_gen_cond_dep ' |
58 |
- dev-python/numpy[${PYTHON_USEDEP}] |
59 |
- dev-python/pygments[${PYTHON_USEDEP}] |
60 |
- dev-python/PyQt5[network,${PYTHON_USEDEP}] |
61 |
- dev-python/QtPy[gui,${PYTHON_USEDEP}] |
62 |
- dev-python/send2trash[${PYTHON_USEDEP}] |
63 |
- ') |
64 |
- dev-vcs/git" |
65 |
-BDEPEND="sys-devel/gettext |
66 |
- $(python_gen_cond_dep " |
67 |
- doc? ( dev-python/sphinx[\${PYTHON_USEDEP}] ) |
68 |
- test? ( |
69 |
- ${VIRTUALX_DEPEND} |
70 |
- dev-python/mock[\${PYTHON_USEDEP}] |
71 |
- dev-python/nose[\${PYTHON_USEDEP}] |
72 |
- ) |
73 |
- ")" |
74 |
- |
75 |
-PATCHES=( "${FILESDIR}/${P}-py3.8-line-buffering.patch" ) |
76 |
- |
77 |
-python_prepare_all() { |
78 |
- # make sure that tests also use the system provided QtPy |
79 |
- rm -r qtpy || die |
80 |
- |
81 |
- rm share/git-cola/bin/*askpass* || die |
82 |
- |
83 |
- # don't install docs into wrong location |
84 |
- sed -i -e '/doc/d' setup.py || die |
85 |
- |
86 |
- # fix doc directory reference |
87 |
- sed -i \ |
88 |
- -e "s/'doc', 'git-cola'/'doc', '${PF}'/" \ |
89 |
- cola/resources.py || die |
90 |
- |
91 |
- # fix ssh-askpass directory reference |
92 |
- sed -i -e 's/resources\.share/resources\.prefix/' cola/app.py || die |
93 |
- |
94 |
- distutils-r1_python_prepare_all |
95 |
-} |
96 |
- |
97 |
-python_configure_all() { |
98 |
- mydistutilsargs=( --no-vendor-libs ) |
99 |
-} |
100 |
- |
101 |
-python_compile_all() { |
102 |
- cd share/doc/${PN}/ || die |
103 |
- if use doc ; then |
104 |
- emake all |
105 |
- else |
106 |
- sed \ |
107 |
- -e '/^install:/s:install-html::g' \ |
108 |
- -e '/^install:/s:install-man::g' \ |
109 |
- -i Makefile || die |
110 |
- fi |
111 |
-} |
112 |
- |
113 |
-python_test() { |
114 |
- GIT_CONFIG_NOSYSTEM=true \ |
115 |
- PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="en_US.utf8" \ |
116 |
- virtx nosetests --verbose --with-id --with-doctest \ |
117 |
- --exclude=sphinxtogithub |
118 |
-} |
119 |
- |
120 |
-src_install() { |
121 |
- distutils-r1_src_install |
122 |
-} |
123 |
- |
124 |
-python_install_all() { |
125 |
- cd share/doc/${PN}/ || die |
126 |
- emake \ |
127 |
- DESTDIR="${D}" \ |
128 |
- docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
129 |
- prefix="${EPREFIX}/usr" \ |
130 |
- install |
131 |
- |
132 |
- python_fix_shebang "${ED}/usr/share/git-cola/bin/git-xbase" "${ED}"/usr/bin/git-cola |
133 |
- python_optimize "${ED}/usr/share/git-cola/lib/cola" |
134 |
- |
135 |
- # fix appdata installation |
136 |
- mv "${D}"/usr/share/appdata "${D}"/usr/share/metainfo || die "moving appdata failed" |
137 |
- |
138 |
- use doc || HTML_DOCS=( "${FILESDIR}"/index.html ) |
139 |
- |
140 |
- distutils-r1_python_install_all |
141 |
- readme.gentoo_create_doc |
142 |
-} |
143 |
- |
144 |
-pkg_postinst() { |
145 |
- xdg_desktop_database_update |
146 |
-} |
147 |
- |
148 |
-pkg_postrm() { |
149 |
- xdg_desktop_database_update |
150 |
-} |