Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-vcs/tortoisehg: tortoisehg-2.10.1.ebuild ChangeLog
Date: Fri, 06 Dec 2013 07:27:26
Message-Id: 20131206072717.F081E2004B@flycatcher.gentoo.org
1 polynomial-c 13/12/06 07:27:17
2
3 Modified: ChangeLog
4 Added: tortoisehg-2.10.1.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
9
10 Revision Changes Path
11 1.49 dev-vcs/tortoisehg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/ChangeLog?rev=1.49&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/ChangeLog?rev=1.49&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/ChangeLog?r1=1.48&r2=1.49
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-vcs/tortoisehg/ChangeLog,v
20 retrieving revision 1.48
21 retrieving revision 1.49
22 diff -u -r1.48 -r1.49
23 --- ChangeLog 4 Nov 2013 16:18:37 -0000 1.48
24 +++ ChangeLog 6 Dec 2013 07:27:17 -0000 1.49
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-vcs/tortoisehg
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/tortoisehg/ChangeLog,v 1.48 2013/11/04 16:18:37 polynomial-c Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/tortoisehg/ChangeLog,v 1.49 2013/12/06 07:27:17 polynomial-c Exp $
30 +
31 +*tortoisehg-2.10.1 (06 Dec 2013)
32 +
33 + 06 Dec 2013; Lars Wendler <polynomial-c@g.o>
34 + +tortoisehg-2.10.1.ebuild:
35 + Version bump.
36
37 *tortoisehg-2.10 (04 Nov 2013)
38
39
40
41
42 1.1 dev-vcs/tortoisehg/tortoisehg-2.10.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/tortoisehg-2.10.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/tortoisehg-2.10.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: tortoisehg-2.10.1.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/tortoisehg/tortoisehg-2.10.1.ebuild,v 1.1 2013/12/06 07:27:17 polynomial-c Exp $
52
53 EAPI=5
54 PYTHON_COMPAT=( python{2_6,2_7} )
55
56 inherit distutils-r1 eutils
57
58 if [[ ${PV} != *9999* ]]; then
59 KEYWORDS="~amd64 ~x86"
60 SRC_URI="mirror://bitbucket/${PN}/targz/downloads/${P}.tar.gz"
61 HG_DEPEND=">=dev-vcs/mercurial-2.5 <dev-vcs/mercurial-2.9"
62 else
63 inherit mercurial
64 EHG_REPO_URI="https://bitbucket.org/tortoisehg/thg"
65 EHG_REVISION="stable"
66 KEYWORDS=""
67 SRC_URI=""
68 HG_DEPEND="dev-vcs/mercurial"
69 fi
70
71 DESCRIPTION="Set of graphical tools for Mercurial"
72 HOMEPAGE="http://tortoisehg.bitbucket.org"
73
74 LICENSE="GPL-2"
75 SLOT="0"
76 IUSE="doc"
77
78 RDEPEND="${HG_DEPEND}
79 dev-python/iniparse[${PYTHON_USEDEP}]
80 dev-python/pygments[${PYTHON_USEDEP}]
81 dev-python/PyQt4[svg,${PYTHON_USEDEP}]
82 dev-python/qscintilla-python[${PYTHON_USEDEP}]"
83 DEPEND="${RDEPEND}
84 doc? ( >=dev-python/sphinx-1.0.3 )"
85
86 # Workaround race condition in build_qt
87 DISTUTILS_IN_SOURCE_BUILD=1
88
89 python_prepare_all() {
90 if [[ ${LINGUAS+set} ]]; then
91 cd i18n/tortoisehg || die
92 local x y keep
93 for x in *.po; do
94 keep=false
95 for y in ${LINGUAS}; do
96 if [[ ${y} == ${x%.po}* ]]; then
97 keep=true
98 break
99 fi
100 done
101 ${keep} || rm "${x}" || die
102 done
103 cd "${S}" || die
104 fi
105 distutils-r1_python_prepare_all
106 }
107
108 python_compile_all() {
109 use doc && emake -C doc html
110 }
111
112 python_install_all() {
113 distutils-r1_python_install_all
114 dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc
115 if use doc ; then
116 dohtml -r doc/build/html/
117 fi
118 newicon -s scalable icons/scalable/apps/thg-logo.svg thg_logo.svg
119 domenu contrib/thg.desktop
120 }
121
122 pkg_postinst() {
123 elog "When startup of ${PN} fails with an API version mismatch error"
124 elog "between dev-python/sip and dev-python/PyQt4 please rebuild"
125 elog "dev-python/qscintilla-python."
126 }