1 |
commit: 6810badb48c1e376b7e67644ae4610100168d5c3 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 30 22:54:28 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 30 22:54:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6810badb |
7 |
|
8 |
dev-vcs/tortoisehg: Bump to version 4.4.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
dev-vcs/tortoisehg/Manifest | 1 + |
13 |
dev-vcs/tortoisehg/tortoisehg-4.4.2.ebuild | 79 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 80 insertions(+) |
15 |
|
16 |
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest |
17 |
index 527b5bf1c45..23e9511e6a9 100644 |
18 |
--- a/dev-vcs/tortoisehg/Manifest |
19 |
+++ b/dev-vcs/tortoisehg/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST tortoisehg-4.3.1.tar.gz 7930491 BLAKE2B 9f47504961fb97e2acbec272cea959fef00f5aa120d1ef902af3839beb11813ea93ad8f6e497ba610b65c73596dcf80eb1728a24727cd029d2774187824ae7ca SHA512 dc43f2acd780a7868b642d6ce8a8dbf8f32be94134ddbb72178d7f1eab1e9f58c8e9bcfc75ad589ec9404cabefd9ccfc697af9ccd037c20bd933ee862e812f99 |
22 |
DIST tortoisehg-4.4.1.tar.gz 7923557 BLAKE2B b2574bb87693a3fb824c3c02424b8f5828c1e3673b111ae82ff0692588083eec639a67b200ce6e3def58e5a0e021898c3df62a053fa61d477f92d4226d3a1b69 SHA512 b364e6d16845c03aacaf691e8528e0bd87151026f9f55bcaf61ba67d1eebfc3f9935457e5ca3391e29417682367b9b33803a9870817c22db31f1dd26850e9d53 |
23 |
+DIST tortoisehg-4.4.2.tar.gz 8939270 BLAKE2B 858ef57f6e80244ebb99b43608b1d939896f60d2154e461a128efdb0d5ebffbf1b8d5a9a40596316b0bed8edd74e292b5e562e3119f75177d430c081ba07511c SHA512 6b0335d8022d015846d456d351b168f826afa5223b77ee45f2124fbd1099904cca4e2a3ca6cb7a48324491211a149bd431d29fab6932e8f8240542e13d814381 |
24 |
|
25 |
diff --git a/dev-vcs/tortoisehg/tortoisehg-4.4.2.ebuild b/dev-vcs/tortoisehg/tortoisehg-4.4.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..441fed1aec6 |
28 |
--- /dev/null |
29 |
+++ b/dev-vcs/tortoisehg/tortoisehg-4.4.2.ebuild |
30 |
@@ -0,0 +1,79 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+PYTHON_COMPAT=( python2_7 ) |
36 |
+ |
37 |
+inherit distutils-r1 eutils |
38 |
+ |
39 |
+if [[ ${PV} != *9999* ]]; then |
40 |
+ KEYWORDS="~amd64 ~x86" |
41 |
+ SRC_URI="https://www.bitbucket.org/${PN}/targz/downloads/${P}.tar.gz" |
42 |
+ HG_DEPEND=">=dev-vcs/mercurial-4.3 <dev-vcs/mercurial-4.5" |
43 |
+else |
44 |
+ inherit mercurial |
45 |
+ EHG_REPO_URI="https://bitbucket.org/tortoisehg/thg" |
46 |
+ EHG_REVISION="stable" |
47 |
+ HG_DEPEND="dev-vcs/mercurial" |
48 |
+fi |
49 |
+ |
50 |
+DESCRIPTION="Set of graphical tools for Mercurial" |
51 |
+HOMEPAGE="https://tortoisehg.bitbucket.io/" |
52 |
+ |
53 |
+LICENSE="GPL-2" |
54 |
+SLOT="0" |
55 |
+IUSE="doc" |
56 |
+ |
57 |
+RDEPEND="${HG_DEPEND} |
58 |
+ dev-python/iniparse[${PYTHON_USEDEP}] |
59 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
60 |
+ dev-python/PyQt5[network,svg,${PYTHON_USEDEP}] |
61 |
+ >=dev-python/qscintilla-python-2.9.4:=[qt5(+),${PYTHON_USEDEP}]" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ doc? ( >=dev-python/sphinx-1.0.3 )" |
64 |
+ |
65 |
+# Workaround race condition in build_qt |
66 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
67 |
+ |
68 |
+python_prepare_all() { |
69 |
+ if [[ ${LINGUAS+set} ]]; then |
70 |
+ cd i18n/tortoisehg || die |
71 |
+ local x y keep |
72 |
+ for x in *.po; do |
73 |
+ keep=false |
74 |
+ for y in ${LINGUAS}; do |
75 |
+ if [[ ${y} == ${x%.po}* ]]; then |
76 |
+ keep=true |
77 |
+ break |
78 |
+ fi |
79 |
+ done |
80 |
+ ${keep} || rm "${x}" || die |
81 |
+ done |
82 |
+ cd "${S}" || die |
83 |
+ fi |
84 |
+ distutils-r1_python_prepare_all |
85 |
+} |
86 |
+ |
87 |
+python_compile_all() { |
88 |
+ use doc && emake -C doc html |
89 |
+} |
90 |
+ |
91 |
+python_install_all() { |
92 |
+ distutils-r1_python_install_all |
93 |
+ dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc |
94 |
+ if use doc ; then |
95 |
+ dohtml -r doc/build/html/ |
96 |
+ fi |
97 |
+ newicon -s scalable icons/scalable/apps/thg.svg thg_logo.svg |
98 |
+ domenu contrib/thg.desktop |
99 |
+ |
100 |
+ # Remove file that collides with >=mercurial-4.0 (bug #599266). |
101 |
+ rm "${ED}"/usr/$(get_libdir)/${EPYTHON}/site-packages/hgext3rd/__init__.py \ |
102 |
+ || die |
103 |
+} |
104 |
+ |
105 |
+pkg_postinst() { |
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 |
+} |