1 |
commit: f47c6d44c5df8579901d37fdcae2d60f661f99d8 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 25 12:25:40 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 25 12:25:40 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f47c6d44 |
7 |
|
8 |
dev-vcs/tortoisehg: Bump to version 3.6.3 |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-vcs/tortoisehg/Manifest | 1 + |
14 |
dev-vcs/tortoisehg/tortoisehg-3.6.3.ebuild | 78 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 79 insertions(+) |
16 |
|
17 |
diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest |
18 |
index fbc8e00..6993e0b 100644 |
19 |
--- a/dev-vcs/tortoisehg/Manifest |
20 |
+++ b/dev-vcs/tortoisehg/Manifest |
21 |
@@ -4,3 +4,4 @@ DIST tortoisehg-3.4.2.tar.gz 8205349 SHA256 d22692166dc6ff61c9d12bfe5ceb77fbf87e |
22 |
DIST tortoisehg-3.5.2.tar.gz 7399407 SHA256 f5d36d8f19b508dd00a7ac720af3889defd40e99fcb60d907a0fefb9c867dd63 SHA512 43ab341b4b01b2b28a9ac4290c9902720a10094390d323ab0c4e0962276cd333def7bec818e59a8bbacac9390cb22fd310875eb58f7092573c1254c517ada310 WHIRLPOOL c49707205e06fe269be3c69330d78ca8194a54d709b9056bea502403b4e047a1da46f1cd73ca5d7b052aab6f0d4b3ae4aa93f0544b78f12a6a9ffd8459edfb37 |
23 |
DIST tortoisehg-3.6.1.tar.gz 7440140 SHA256 28e2ce770731616570b7c8be726cc7b2045887d66c166b8e514a144ca8650b37 SHA512 53717171ae627c59043f1dd6796e3f81459b2a88a28a557caad659ecba6353df0f21e4a6a1b21658c2a16ef9e508feb3c500ece28c78d151fa661f7447684b06 WHIRLPOOL de22061bf1f1a110691fd4991085d29d989f22b1df468d107d3239c4c25978f819a671a7b677e49e66d2e9a6df71ce4fdfb01da8c459076962c657dd52c658cf |
24 |
DIST tortoisehg-3.6.2.tar.gz 7748075 SHA256 3ed668010e7f850ed3932aab83f87f0d0cc8726969283b190e002e9a1d2a3cac SHA512 901962b7f09a4823401ef50407b0767c280089fd00ebbd9c06dd4e88c66fa3814364a82fb7726a53d53837948c623f09d3fdb3c6f432cc9107be3c1a8a826d5f WHIRLPOOL e378aa9a162538196ec127d30788b34aa76e2e786f06d3bb69b0b2e66c96a1c3c3f4a98e8e2f6b3d6a30887a76646473708710596aa77e7c2e6f7d292f55a787 |
25 |
+DIST tortoisehg-3.6.3.tar.gz 7748149 SHA256 99f4ed22082e8c9d7e52f6b0c94d0835cf40aa5a1624f07bb7839d7891ca843b SHA512 5b6fdf8b4233d6802aa0e501e9f9c22ee44391461c0552d73f65a6c26e041ac11efe0ad703558e1f589e421d8759ea0052c634960e51738cc2534d9a73030c1b WHIRLPOOL 9ab2d97658d8e82eb9d12a7be6349fff37e2b8642ff471ac2e30c9f65465f4d9dca86582968bf889e075574c300247583c60152220cd5024ad51f1109abd9431 |
26 |
|
27 |
diff --git a/dev-vcs/tortoisehg/tortoisehg-3.6.3.ebuild b/dev-vcs/tortoisehg/tortoisehg-3.6.3.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000..1802ac2 |
30 |
--- /dev/null |
31 |
+++ b/dev-vcs/tortoisehg/tortoisehg-3.6.3.ebuild |
32 |
@@ -0,0 +1,78 @@ |
33 |
+# Copyright 1999-2016 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI=5 |
38 |
+PYTHON_COMPAT=( python2_7 ) |
39 |
+ |
40 |
+inherit distutils-r1 eutils |
41 |
+ |
42 |
+if [[ ${PV} != *9999* ]]; then |
43 |
+ KEYWORDS="~amd64 ~x86" |
44 |
+ SRC_URI="https://www.bitbucket.org/${PN}/targz/downloads/${P}.tar.gz" |
45 |
+ HG_DEPEND=">=dev-vcs/mercurial-3.5 <dev-vcs/mercurial-3.7" |
46 |
+else |
47 |
+ inherit mercurial |
48 |
+ EHG_REPO_URI="https://bitbucket.org/tortoisehg/thg" |
49 |
+ EHG_REVISION="stable" |
50 |
+ KEYWORDS="" |
51 |
+ SRC_URI="" |
52 |
+ HG_DEPEND="dev-vcs/mercurial" |
53 |
+fi |
54 |
+ |
55 |
+DESCRIPTION="Set of graphical tools for Mercurial" |
56 |
+HOMEPAGE="https://tortoisehg.bitbucket.org" |
57 |
+ |
58 |
+LICENSE="GPL-2" |
59 |
+SLOT="0" |
60 |
+IUSE="doc" |
61 |
+ |
62 |
+RDEPEND="${HG_DEPEND} |
63 |
+ dev-python/iniparse[${PYTHON_USEDEP}] |
64 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
65 |
+ dev-python/PyQt4[svg,${PYTHON_USEDEP}] |
66 |
+ dev-python/qscintilla-python[${PYTHON_USEDEP}]" |
67 |
+DEPEND="${RDEPEND} |
68 |
+ doc? ( >=dev-python/sphinx-1.0.3 )" |
69 |
+ |
70 |
+# Workaround race condition in build_qt |
71 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
72 |
+ |
73 |
+python_prepare_all() { |
74 |
+ if [[ ${LINGUAS+set} ]]; then |
75 |
+ cd i18n/tortoisehg || die |
76 |
+ local x y keep |
77 |
+ for x in *.po; do |
78 |
+ keep=false |
79 |
+ for y in ${LINGUAS}; do |
80 |
+ if [[ ${y} == ${x%.po}* ]]; then |
81 |
+ keep=true |
82 |
+ break |
83 |
+ fi |
84 |
+ done |
85 |
+ ${keep} || rm "${x}" || die |
86 |
+ done |
87 |
+ cd "${S}" || die |
88 |
+ fi |
89 |
+ distutils-r1_python_prepare_all |
90 |
+} |
91 |
+ |
92 |
+python_compile_all() { |
93 |
+ use doc && emake -C doc html |
94 |
+} |
95 |
+ |
96 |
+python_install_all() { |
97 |
+ distutils-r1_python_install_all |
98 |
+ dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc |
99 |
+ if use doc ; then |
100 |
+ dohtml -r doc/build/html/ |
101 |
+ fi |
102 |
+ newicon -s scalable icons/scalable/apps/thg.svg thg_logo.svg |
103 |
+ domenu contrib/thg.desktop |
104 |
+} |
105 |
+ |
106 |
+pkg_postinst() { |
107 |
+ elog "When startup of ${PN} fails with an API version mismatch error" |
108 |
+ elog "between dev-python/sip and dev-python/PyQt4 please rebuild" |
109 |
+ elog "dev-python/qscintilla-python." |
110 |
+} |