Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/tortoisehg/
Date: Thu, 02 Jun 2016 07:54:23
Message-Id: 1464854041.104fbf6585326126c475e458febb1c25e9224178.polynomial-c@gentoo
1 commit: 104fbf6585326126c475e458febb1c25e9224178
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 2 07:54:01 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 2 07:54:01 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=104fbf65
7
8 dev-vcs/tortoisehg: Bump to version 3.8.3
9
10 Package-Manager: portage-2.2.28
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 dev-vcs/tortoisehg/Manifest | 1 +
14 dev-vcs/tortoisehg/tortoisehg-3.8.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 50aaa56..d2ce678 100644
19 --- a/dev-vcs/tortoisehg/Manifest
20 +++ b/dev-vcs/tortoisehg/Manifest
21 @@ -1,3 +1,4 @@
22 DIST tortoisehg-3.3.2.tar.gz 8226128 SHA256 779beb06588897d1c42fc463fecc4b61498f7cac76681fe1c1f017ecd811719a SHA512 4b7e1422731507aa8947b0e8e7746a6daa004186833db200122927c4e5a2f2cb1fbbf12f89089e3ee82d1a22fdb3c7745465188cbf3e14d73d831b953f2b2d9f WHIRLPOOL 34fce6c6383ae94eb4d6fbca854068535ac39b50746dbcc3ee9460976231dc68c3c5f824dc31082838505bdaeaf3620306ceea867d8ac5571d00ee1f1192e867
23 DIST tortoisehg-3.7.3.tar.gz 7806350 SHA256 b0055ef6bee59244356179d5af98ffe200388133b17cd4ab5831b979b78a50ed SHA512 5ff57b98b93083cc78e161566f045474e70d474dab98ee99eaa6f453ac2521276a8384563a2e738a786a3c9cbe4c118837a8c534cfd4671c323eab261252e6f9 WHIRLPOOL 9a6e573b22b6dcf328a656dcd9e4f2bd500fc74f03f6d9ee8d350ec35cd7a02f239f6aa290b6ff9414d4b7aedde0b3003296f3520463669ce4f9b75a85a820ba
24 DIST tortoisehg-3.8.1.tar.gz 7807685 SHA256 e64639768ec22e45966b6799257ebad4a98dbb6cfaa39b74ccc08c95be2fb0ec SHA512 1ab9328462035ab78c4ffadba3bf60a58e641947a69be10cc6c7892a71de4f8436f0225806fa898c7de95593dd4e7b7b76aa9ef3dc8115bbd8bbadc20fe82612 WHIRLPOOL e9bce9a316c0f226f2c5a9a5e3a65664c0ae12f1c7628beb6edea229a9bd9924b15b848bd26d20975e852701c1fa3dfca9b3a0db5031b918a2cb12ade4f19bae
25 +DIST tortoisehg-3.8.3.tar.gz 7817490 SHA256 63045857067120b3e5d4bb3ff87985b9caeac27ca2e69df5946ab1a0282d08c8 SHA512 1c1d0e7d3eae0a894b09d13223eae3eb43555ea0136372c881f35c4ff1beeb768a059be2484fed72588cadc90a0f83f4dffc6dd7a75a91433751eb4bb37f115f WHIRLPOOL 9049db76419a8cc658180e4d8d4ce7c416850830d8a71add07ac6cf441cb10229572914bddee1643d618f70d54b6d6cbad5f9356a7b580e090f4137f98aef738
26
27 diff --git a/dev-vcs/tortoisehg/tortoisehg-3.8.3.ebuild b/dev-vcs/tortoisehg/tortoisehg-3.8.3.ebuild
28 new file mode 100644
29 index 0000000..e5c3eef
30 --- /dev/null
31 +++ b/dev-vcs/tortoisehg/tortoisehg-3.8.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=6
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.7 <dev-vcs/mercurial-3.9"
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 +}