1 |
commit: 42469a8a95a49814f2b4d712e14e0ba4afb5b095 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Aug 25 23:22:43 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 16 17:43:41 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42469a8a |
7 |
|
8 |
dev-vcs/tortoisehg: new version 5.5.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
dev-vcs/tortoisehg/Manifest | 1 + |
15 |
dev-vcs/tortoisehg/tortoisehg-5.5.1.ebuild | 59 ++++++++++++++++++++++++++++++ |
16 |
2 files changed, 60 insertions(+) |
17 |
|
18 |
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest |
19 |
index 9d19f8ef68d..12fd6402fa0 100644 |
20 |
--- a/dev-vcs/tortoisehg/Manifest |
21 |
+++ b/dev-vcs/tortoisehg/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST tortoisehg-5.3.2.tar.gz 8910859 BLAKE2B 4cc2253f0adbd79fe84507043491198ddd9fa559c3e9296c831b8e0fccd6cb2806a31ffd6d417591f5fcb3afce78e696f7052d70b760a566bf72c6602ca31ea8 SHA512 b15894158a0d5e628015d07b4f8c77c96f3e1d7543fe2984693b99b2acfa411922b06683e62de437cb50dd5817155d4e59045d7fb47c9be8ee27b9bccf77da7e |
24 |
DIST tortoisehg-5.4.1.tar.gz 8580608 BLAKE2B db66e114d046fdf2228779a2e224c6244afe4e6463d8f00b7f3b291f0dc9fd043ca3e938a6769e3c6a54ec4d2252dca44fedf790ca9683fa42a55d0cdfce0cb9 SHA512 f8d4bda4ac23b49f304e3561930b75f899ac09937b4da446ee3f38236fa0095e19228dc2e388d5608077096209ded161d194f6edef5d2d4a257b5bf57c0634cc |
25 |
+DIST tortoisehg-5.5.1.tar.gz 8918085 BLAKE2B 33aef61d97a34f45b10b291eb3a71bc46b70a1f24006fda0e651e88c61b0351701a3abdf6c1b0277fd81a0c5c9ff225b742215103c280eb11976a86e6bf2a47c SHA512 ca2d3833e379620b1a467b5a6016c8dbd54837d6ac5267063eb6768675dcb0c020a9b4ca2b2b8924a57c9e7d117668347e23762e8ff46c87825290071783aaa8 |
26 |
|
27 |
diff --git a/dev-vcs/tortoisehg/tortoisehg-5.5.1.ebuild b/dev-vcs/tortoisehg/tortoisehg-5.5.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..fd6e1dce5cd |
30 |
--- /dev/null |
31 |
+++ b/dev-vcs/tortoisehg/tortoisehg-5.5.1.ebuild |
32 |
@@ -0,0 +1,59 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
38 |
+ |
39 |
+inherit desktop distutils-r1 xdg-utils |
40 |
+ |
41 |
+if [[ ${PV} != *9999* ]]; then |
42 |
+ KEYWORDS="~amd64 ~arm64 ~x86" |
43 |
+ SRC_URI="https://www.mercurial-scm.org/release/tortoisehg/targz/${P}.tar.gz" |
44 |
+ HG_DEPEND=">=dev-vcs/mercurial-5.4 |
45 |
+ <dev-vcs/mercurial-5.6" |
46 |
+else |
47 |
+ inherit mercurial |
48 |
+ EHG_REPO_URI="https://foss.heptapod.net/mercurial/tortoisehg/thg" |
49 |
+ EHG_REVISION="stable" |
50 |
+ HG_DEPEND=">=dev-vcs/mercurial-5.4" |
51 |
+fi |
52 |
+ |
53 |
+DESCRIPTION="Set of graphical tools for Mercurial" |
54 |
+HOMEPAGE="https://tortoisehg.bitbucket.io/" |
55 |
+ |
56 |
+LICENSE="GPL-2" |
57 |
+SLOT="0" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ ${HG_DEPEND} |
61 |
+ dev-python/iniparse[${PYTHON_USEDEP}] |
62 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
63 |
+ dev-python/PyQt5:=[network,svg,${PYTHON_USEDEP}] |
64 |
+ >=dev-python/qscintilla-python-2.9.4:=[qt5(+),${PYTHON_USEDEP}]" |
65 |
+DEPEND="${RDEPEND}" |
66 |
+ |
67 |
+distutils_enable_sphinx doc/source |
68 |
+ |
69 |
+python_prepare_all() { |
70 |
+ # Remove file that collides with >=mercurial-4.0 (bug #599266). |
71 |
+ rm "${S}"/hgext3rd/__init__.py || die "can't remove /hgext3rd/__init__.py" |
72 |
+ distutils-r1_python_prepare_all |
73 |
+} |
74 |
+ |
75 |
+python_install_all() { |
76 |
+ distutils-r1_python_install_all |
77 |
+ dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc |
78 |
+ newicon -s scalable icons/scalable/apps/thg.svg thg_logo.svg |
79 |
+ domenu contrib/thg.desktop |
80 |
+} |
81 |
+ |
82 |
+pkg_postinst() { |
83 |
+ xdg_icon_cache_update |
84 |
+ elog "When startup of ${PN} fails with an API version mismatch error" |
85 |
+ elog "between dev-python/sip and dev-python/PyQt5 please rebuild" |
86 |
+ elog "dev-python/qscintilla-python." |
87 |
+} |
88 |
+ |
89 |
+pkg_postrm() { |
90 |
+ xdg_icon_cache_update |
91 |
+} |