1 |
commit: 3c48a315fee9f72353f004718d306a06f75723b0 |
2 |
Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
3 |
AuthorDate: Fri Sep 17 17:37:37 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=3c48a315 |
7 |
|
8 |
dev-vcs/tortoisehg: 5.9.1 version bump |
9 |
|
10 |
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/22319 |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
dev-vcs/tortoisehg/Manifest | 1 + |
15 |
dev-vcs/tortoisehg/tortoisehg-5.9.1.ebuild | 80 ++++++++++++++++++++++++++++++ |
16 |
2 files changed, 81 insertions(+) |
17 |
|
18 |
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest |
19 |
index 80c63b66f40..1835dfb67d0 100644 |
20 |
--- a/dev-vcs/tortoisehg/Manifest |
21 |
+++ b/dev-vcs/tortoisehg/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST tortoisehg-5.8.tar.gz 8636455 BLAKE2B 1f4171ca4eb465aabacaf53b97785c5f05fc501a11329af008695f706d8d2cb9c5eee5e64bb5a60fdf7234f33ed6a937dfacce49cb36ac9e9b8505be271b4f35 SHA512 b9fe80a98cfafe0dbc90be5fe6f83b466fe596b4ec135d0eacc5618e39c0249a3a352bed640a7cecb99d53eaf60908d60d7748009492cbd8202fc191ef428278 |
24 |
DIST tortoisehg-5.8.1.tar.gz 8636858 BLAKE2B 66473695e1364ff676ab314ce8b5a5e59cbe6ece68795d92278e450f70386a9e047dfd8975e7312bda10c183879d9634767f64a9c916f889f3edcf4847bf2468 SHA512 29903240c5522841e0ddc0f78741d20d589b6b48e82bf38023b87184e987721111a6a9675ccb85a31d9781cf1b8fa3d28801fef5bae187ae467d7da8f1ef982f |
25 |
DIST tortoisehg-5.9.tar.gz 8637690 BLAKE2B 818b866314a04857838ea971d9a26df6604fc97a7968ee1419337fccc413d228e5597bef80256b35a2084956f356e9015c2c9c00181ab600ee75b5a86f8ec358 SHA512 14b91a2193f0eaeb39d49b131ec9214732b6898e7ee2a57091cf5be61a37ec5a0b71d8eea5d67b30ea8796565c25aa1bd1fd23ff178ae1a7dcdbfd5b333e525f |
26 |
+DIST tortoisehg-5.9.1.tar.gz 8637928 BLAKE2B 57687359eb00018a811e28449dccce260569f7a26c91bf25a6473427f9942fd536c4458cae593baa371c65713f626208e6627e952e78001947b8f952988c3103 SHA512 8df24a66e24ddb95af353a363149dcee37bc678ebd741f578a8bc09d6844b52537f287b908bce2dab4e4603310867095821b52332bd5bdc55b0f114bad647eff |
27 |
|
28 |
diff --git a/dev-vcs/tortoisehg/tortoisehg-5.9.1.ebuild b/dev-vcs/tortoisehg/tortoisehg-5.9.1.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..97e0009c544 |
31 |
--- /dev/null |
32 |
+++ b/dev-vcs/tortoisehg/tortoisehg-5.9.1.ebuild |
33 |
@@ -0,0 +1,80 @@ |
34 |
+# Copyright 1999-2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+PYTHON_COMPAT=( python3_{8..9} ) |
39 |
+ |
40 |
+DISTUTILS_USE_SETUPTOOLS=no |
41 |
+ |
42 |
+inherit desktop distutils-r1 optfeature xdg-utils |
43 |
+ |
44 |
+if [[ ${PV} != *9999* ]]; then |
45 |
+ KEYWORDS="~amd64 ~arm64 ~x86" |
46 |
+ SRC_URI="https://foss.heptapod.net/mercurial/${PN}/thg/-/archive/${PV}/thg-${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ HG_DEPEND=">=dev-vcs/mercurial-5.8[${PYTHON_USEDEP}] |
48 |
+ <dev-vcs/mercurial-5.10[${PYTHON_USEDEP}]" |
49 |
+ S="${WORKDIR}/thg-${PV}" |
50 |
+else |
51 |
+ inherit mercurial |
52 |
+ EHG_REPO_URI="https://foss.heptapod.net/mercurial/${PN}/thg" |
53 |
+ EHG_REVISION="stable" |
54 |
+ HG_DEPEND=">=dev-vcs/mercurial-5.8[${PYTHON_USEDEP}]" |
55 |
+fi |
56 |
+ |
57 |
+DESCRIPTION="Set of graphical tools for Mercurial" |
58 |
+HOMEPAGE="https://tortoisehg.bitbucket.io/" |
59 |
+ |
60 |
+LICENSE="GPL-2" |
61 |
+SLOT="0" |
62 |
+IUSE="test" |
63 |
+RESTRICT="!test? ( test )" |
64 |
+ |
65 |
+RDEPEND=" |
66 |
+ ${HG_DEPEND} |
67 |
+ dev-python/iniparse[${PYTHON_USEDEP}] |
68 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
69 |
+ dev-python/PyQt5[network,svg,${PYTHON_USEDEP}] |
70 |
+ >=dev-python/qscintilla-python-2.9.4[qt5(+),${PYTHON_USEDEP}] |
71 |
+" |
72 |
+DEPEND=" |
73 |
+ ${RDEPEND} |
74 |
+ test? ( |
75 |
+ dev-python/mock[${PYTHON_USEDEP}] |
76 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
77 |
+ ) |
78 |
+" |
79 |
+ |
80 |
+distutils_enable_sphinx doc/source |
81 |
+ |
82 |
+python_prepare_all() { |
83 |
+ # Remove file that collides with >=mercurial-4.0 (bug #599266). |
84 |
+ rm "${S}"/hgext3rd/__init__.py || die "can't remove /hgext3rd/__init__.py" |
85 |
+ |
86 |
+ sed -i -e 's:share/doc/tortoisehg:share/doc/'"${PF}"':' setup.py || die |
87 |
+ distutils-r1_python_prepare_all |
88 |
+} |
89 |
+ |
90 |
+python_test() { |
91 |
+ ${EPYTHON} tests/run-tests.py -m 'not largefiles' --doctest-modules tests || die |
92 |
+ ${EPYTHON} tests/run-tests.py -m largefiles tests || die |
93 |
+} |
94 |
+ |
95 |
+python_install_all() { |
96 |
+ distutils-r1_python_install_all |
97 |
+ dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc |
98 |
+ newicon -s scalable icons/scalable/apps/thg.svg thg_logo.svg |
99 |
+ domenu contrib/thg.desktop |
100 |
+} |
101 |
+ |
102 |
+pkg_postinst() { |
103 |
+ xdg_icon_cache_update |
104 |
+ elog "When startup of ${PN} fails with an API version mismatch error" |
105 |
+ elog "between dev-python/sip and dev-python/PyQt5 please rebuild" |
106 |
+ elog "dev-python/qscintilla-python." |
107 |
+ |
108 |
+ optfeature "the core git extension support" dev-python/pygit2 |
109 |
+} |
110 |
+ |
111 |
+pkg_postrm() { |
112 |
+ xdg_icon_cache_update |
113 |
+} |