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