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