Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/tortoisehg/
Date: Mon, 22 Nov 2021 10:11:26
Message-Id: 1637575691.ea17e46c6f37897204d39c75ee25501b27dc006a.sam@gentoo
1 commit: ea17e46c6f37897204d39c75ee25501b27dc006a
2 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
3 AuthorDate: Sun Nov 14 22:08:15 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 22 10:08:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea17e46c
7
8 dev-vcs/tortoisehg: drop old non-stabilized 5.8, 5.9
9
10 Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
11 Closes: https://github.com/gentoo/gentoo/pull/22951
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 dev-vcs/tortoisehg/Manifest | 2 -
15 dev-vcs/tortoisehg/tortoisehg-5.8.ebuild | 80 --------------------------------
16 dev-vcs/tortoisehg/tortoisehg-5.9.ebuild | 80 --------------------------------
17 3 files changed, 162 deletions(-)
18
19 diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest
20 index e017606067de..cdda41fa58eb 100644
21 --- a/dev-vcs/tortoisehg/Manifest
22 +++ b/dev-vcs/tortoisehg/Manifest
23 @@ -1,5 +1,3 @@
24 -DIST tortoisehg-5.8.tar.gz 8636455 BLAKE2B 1f4171ca4eb465aabacaf53b97785c5f05fc501a11329af008695f706d8d2cb9c5eee5e64bb5a60fdf7234f33ed6a937dfacce49cb36ac9e9b8505be271b4f35 SHA512 b9fe80a98cfafe0dbc90be5fe6f83b466fe596b4ec135d0eacc5618e39c0249a3a352bed640a7cecb99d53eaf60908d60d7748009492cbd8202fc191ef428278
25 DIST tortoisehg-5.8.1.tar.gz 8636858 BLAKE2B 66473695e1364ff676ab314ce8b5a5e59cbe6ece68795d92278e450f70386a9e047dfd8975e7312bda10c183879d9634767f64a9c916f889f3edcf4847bf2468 SHA512 29903240c5522841e0ddc0f78741d20d589b6b48e82bf38023b87184e987721111a6a9675ccb85a31d9781cf1b8fa3d28801fef5bae187ae467d7da8f1ef982f
26 -DIST tortoisehg-5.9.tar.gz 8637690 BLAKE2B 818b866314a04857838ea971d9a26df6604fc97a7968ee1419337fccc413d228e5597bef80256b35a2084956f356e9015c2c9c00181ab600ee75b5a86f8ec358 SHA512 14b91a2193f0eaeb39d49b131ec9214732b6898e7ee2a57091cf5be61a37ec5a0b71d8eea5d67b30ea8796565c25aa1bd1fd23ff178ae1a7dcdbfd5b333e525f
27 DIST tortoisehg-5.9.1.tar.gz 8637928 BLAKE2B 57687359eb00018a811e28449dccce260569f7a26c91bf25a6473427f9942fd536c4458cae593baa371c65713f626208e6627e952e78001947b8f952988c3103 SHA512 8df24a66e24ddb95af353a363149dcee37bc678ebd741f578a8bc09d6844b52537f287b908bce2dab4e4603310867095821b52332bd5bdc55b0f114bad647eff
28 DIST tortoisehg-5.9.3.tar.gz 8637453 BLAKE2B 9fa90c108f32b1e15c233e7ccbadbda08e434f23aa5c5fe7c235c743c98f54f4222a1804c06b0ca300cc3d0b049c117007a53452ff20ae4411bca30d8ed9013b SHA512 870b3b717962b8450d07fca5300f971d187236edce5a9d2926144b832c0771b8f5a324bdfd05a1fed3d2b4de4bad913c0c8f4435908e602e268c561ed64abbb2
29
30 diff --git a/dev-vcs/tortoisehg/tortoisehg-5.8.ebuild b/dev-vcs/tortoisehg/tortoisehg-5.8.ebuild
31 deleted file mode 100644
32 index 31b4b602f288..000000000000
33 --- a/dev-vcs/tortoisehg/tortoisehg-5.8.ebuild
34 +++ /dev/null
35 @@ -1,80 +0,0 @@
36 -# Copyright 1999-2021 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -PYTHON_COMPAT=( python3_{8..9} )
41 -
42 -DISTUTILS_USE_SETUPTOOLS=no
43 -
44 -inherit desktop distutils-r1 optfeature xdg-utils
45 -
46 -if [[ ${PV} != *9999* ]]; then
47 - KEYWORDS="~amd64 ~arm64 ~x86"
48 - SRC_URI="https://foss.heptapod.net/mercurial/${PN}/thg/-/archive/${PV}/thg-${PV}.tar.gz -> ${P}.tar.gz"
49 - HG_DEPEND=">=dev-vcs/mercurial-5.7[${PYTHON_USEDEP}]
50 - <dev-vcs/mercurial-5.9[${PYTHON_USEDEP}]"
51 - S="${WORKDIR}/thg-${PV}"
52 -else
53 - inherit mercurial
54 - EHG_REPO_URI="https://foss.heptapod.net/mercurial/${PN}/thg"
55 - EHG_REVISION="stable"
56 - HG_DEPEND=">=dev-vcs/mercurial-5.7[${PYTHON_USEDEP}]"
57 -fi
58 -
59 -DESCRIPTION="Set of graphical tools for Mercurial"
60 -HOMEPAGE="https://tortoisehg.bitbucket.io/"
61 -
62 -LICENSE="GPL-2"
63 -SLOT="0"
64 -IUSE="test"
65 -RESTRICT="!test? ( test )"
66 -
67 -RDEPEND="
68 - ${HG_DEPEND}
69 - dev-python/iniparse[${PYTHON_USEDEP}]
70 - dev-python/pygments[${PYTHON_USEDEP}]
71 - dev-python/PyQt5[network,svg,${PYTHON_USEDEP}]
72 - >=dev-python/qscintilla-python-2.9.4[qt5(+),${PYTHON_USEDEP}]
73 -"
74 -DEPEND="
75 - ${RDEPEND}
76 - test? (
77 - dev-python/mock[${PYTHON_USEDEP}]
78 - dev-python/pytest[${PYTHON_USEDEP}]
79 - )
80 -"
81 -
82 -distutils_enable_sphinx doc/source
83 -
84 -python_prepare_all() {
85 - # Remove file that collides with >=mercurial-4.0 (bug #599266).
86 - rm "${S}"/hgext3rd/__init__.py || die "can't remove /hgext3rd/__init__.py"
87 -
88 - sed -i -e 's:share/doc/tortoisehg:share/doc/'"${PF}"':' setup.py || die
89 - distutils-r1_python_prepare_all
90 -}
91 -
92 -python_test() {
93 - ${EPYTHON} tests/run-tests.py -m 'not largefiles' --doctest-modules tests || die
94 - ${EPYTHON} tests/run-tests.py -m largefiles tests || die
95 -}
96 -
97 -python_install_all() {
98 - distutils-r1_python_install_all
99 - dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc
100 - newicon -s scalable icons/scalable/apps/thg.svg thg_logo.svg
101 - domenu contrib/thg.desktop
102 -}
103 -
104 -pkg_postinst() {
105 - xdg_icon_cache_update
106 - elog "When startup of ${PN} fails with an API version mismatch error"
107 - elog "between dev-python/sip and dev-python/PyQt5 please rebuild"
108 - elog "dev-python/qscintilla-python."
109 -
110 - optfeature "the core git extension support" dev-python/pygit2
111 -}
112 -
113 -pkg_postrm() {
114 - xdg_icon_cache_update
115 -}
116
117 diff --git a/dev-vcs/tortoisehg/tortoisehg-5.9.ebuild b/dev-vcs/tortoisehg/tortoisehg-5.9.ebuild
118 deleted file mode 100644
119 index 97e0009c544a..000000000000
120 --- a/dev-vcs/tortoisehg/tortoisehg-5.9.ebuild
121 +++ /dev/null
122 @@ -1,80 +0,0 @@
123 -# Copyright 1999-2021 Gentoo Authors
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI=7
127 -PYTHON_COMPAT=( python3_{8..9} )
128 -
129 -DISTUTILS_USE_SETUPTOOLS=no
130 -
131 -inherit desktop distutils-r1 optfeature xdg-utils
132 -
133 -if [[ ${PV} != *9999* ]]; then
134 - KEYWORDS="~amd64 ~arm64 ~x86"
135 - SRC_URI="https://foss.heptapod.net/mercurial/${PN}/thg/-/archive/${PV}/thg-${PV}.tar.gz -> ${P}.tar.gz"
136 - HG_DEPEND=">=dev-vcs/mercurial-5.8[${PYTHON_USEDEP}]
137 - <dev-vcs/mercurial-5.10[${PYTHON_USEDEP}]"
138 - S="${WORKDIR}/thg-${PV}"
139 -else
140 - inherit mercurial
141 - EHG_REPO_URI="https://foss.heptapod.net/mercurial/${PN}/thg"
142 - EHG_REVISION="stable"
143 - HG_DEPEND=">=dev-vcs/mercurial-5.8[${PYTHON_USEDEP}]"
144 -fi
145 -
146 -DESCRIPTION="Set of graphical tools for Mercurial"
147 -HOMEPAGE="https://tortoisehg.bitbucket.io/"
148 -
149 -LICENSE="GPL-2"
150 -SLOT="0"
151 -IUSE="test"
152 -RESTRICT="!test? ( test )"
153 -
154 -RDEPEND="
155 - ${HG_DEPEND}
156 - dev-python/iniparse[${PYTHON_USEDEP}]
157 - dev-python/pygments[${PYTHON_USEDEP}]
158 - dev-python/PyQt5[network,svg,${PYTHON_USEDEP}]
159 - >=dev-python/qscintilla-python-2.9.4[qt5(+),${PYTHON_USEDEP}]
160 -"
161 -DEPEND="
162 - ${RDEPEND}
163 - test? (
164 - dev-python/mock[${PYTHON_USEDEP}]
165 - dev-python/pytest[${PYTHON_USEDEP}]
166 - )
167 -"
168 -
169 -distutils_enable_sphinx doc/source
170 -
171 -python_prepare_all() {
172 - # Remove file that collides with >=mercurial-4.0 (bug #599266).
173 - rm "${S}"/hgext3rd/__init__.py || die "can't remove /hgext3rd/__init__.py"
174 -
175 - sed -i -e 's:share/doc/tortoisehg:share/doc/'"${PF}"':' setup.py || die
176 - distutils-r1_python_prepare_all
177 -}
178 -
179 -python_test() {
180 - ${EPYTHON} tests/run-tests.py -m 'not largefiles' --doctest-modules tests || die
181 - ${EPYTHON} tests/run-tests.py -m largefiles tests || die
182 -}
183 -
184 -python_install_all() {
185 - distutils-r1_python_install_all
186 - dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc
187 - newicon -s scalable icons/scalable/apps/thg.svg thg_logo.svg
188 - domenu contrib/thg.desktop
189 -}
190 -
191 -pkg_postinst() {
192 - xdg_icon_cache_update
193 - elog "When startup of ${PN} fails with an API version mismatch error"
194 - elog "between dev-python/sip and dev-python/PyQt5 please rebuild"
195 - elog "dev-python/qscintilla-python."
196 -
197 - optfeature "the core git extension support" dev-python/pygit2
198 -}
199 -
200 -pkg_postrm() {
201 - xdg_icon_cache_update
202 -}