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.ebuild ChangeLog tortoisehg-2.9.1-r1.ebuild
Date: Mon, 04 Nov 2013 16:18:46
Message-Id: 20131104161837.807662004B@flycatcher.gentoo.org
1 polynomial-c 13/11/04 16:18:37
2
3 Modified: ChangeLog
4 Added: tortoisehg-2.10.ebuild
5 Removed: tortoisehg-2.9.1-r1.ebuild
6 Log:
7 Version bump. Removed old
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
10
11 Revision Changes Path
12 1.48 dev-vcs/tortoisehg/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/ChangeLog?rev=1.48&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/ChangeLog?rev=1.48&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/ChangeLog?r1=1.47&r2=1.48
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-vcs/tortoisehg/ChangeLog,v
21 retrieving revision 1.47
22 retrieving revision 1.48
23 diff -u -r1.47 -r1.48
24 --- ChangeLog 8 Oct 2013 08:08:21 -0000 1.47
25 +++ ChangeLog 4 Nov 2013 16:18:37 -0000 1.48
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-vcs/tortoisehg
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/tortoisehg/ChangeLog,v 1.47 2013/10/08 08:08:21 polynomial-c Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/tortoisehg/ChangeLog,v 1.48 2013/11/04 16:18:37 polynomial-c Exp $
31 +
32 +*tortoisehg-2.10 (04 Nov 2013)
33 +
34 + 04 Nov 2013; Lars Wendler <polynomial-c@g.o>
35 + -tortoisehg-2.9.1-r1.ebuild, +tortoisehg-2.10.ebuild:
36 + Version bump. Removed old.
37
38 *tortoisehg-2.9.2 (08 Oct 2013)
39
40
41
42
43 1.1 dev-vcs/tortoisehg/tortoisehg-2.10.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/tortoisehg-2.10.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/tortoisehg-2.10.ebuild?rev=1.1&content-type=text/plain
47
48 Index: tortoisehg-2.10.ebuild
49 ===================================================================
50 # Copyright 1999-2013 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.10.ebuild,v 1.1 2013/11/04 16:18:37 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.5 <dev-vcs/mercurial-2.9"
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 }