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.6.ebuild ChangeLog tortoisehg-2.4.2.ebuild tortoisehg-2.5.ebuild
Date: Sat, 24 Nov 2012 22:28:54
Message-Id: 20121124222844.9BC4420C65@flycatcher.gentoo.org
1 polynomial-c 12/11/24 22:28:44
2
3 Modified: ChangeLog
4 Added: tortoisehg-2.6.ebuild
5 Removed: tortoisehg-2.4.2.ebuild tortoisehg-2.5.ebuild
6 Log:
7 Version bump. Removed old
8
9 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
10
11 Revision Changes Path
12 1.25 dev-vcs/tortoisehg/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/ChangeLog?rev=1.25&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/ChangeLog?rev=1.25&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/ChangeLog?r1=1.24&r2=1.25
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-vcs/tortoisehg/ChangeLog,v
21 retrieving revision 1.24
22 retrieving revision 1.25
23 diff -u -r1.24 -r1.25
24 --- ChangeLog 4 Oct 2012 05:57:37 -0000 1.24
25 +++ ChangeLog 24 Nov 2012 22:28:44 -0000 1.25
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-vcs/tortoisehg
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/tortoisehg/ChangeLog,v 1.24 2012/10/04 05:57:37 polynomial-c Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/tortoisehg/ChangeLog,v 1.25 2012/11/24 22:28:44 polynomial-c Exp $
31 +
32 +*tortoisehg-2.6 (24 Nov 2012)
33 +
34 + 24 Nov 2012; Lars Wendler <polynomial-c@g.o> -tortoisehg-2.4.2.ebuild,
35 + -tortoisehg-2.5.ebuild, +tortoisehg-2.6.ebuild:
36 + non-maintainer commit: Version bump. Removed old.
37
38 *tortoisehg-2.5.1 (04 Oct 2012)
39
40
41
42
43 1.1 dev-vcs/tortoisehg/tortoisehg-2.6.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/tortoisehg-2.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/tortoisehg/tortoisehg-2.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: tortoisehg-2.6.ebuild
49 ===================================================================
50 # Copyright 1999-2012 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.6.ebuild,v 1.1 2012/11/24 22:28:44 polynomial-c Exp $
53
54 EAPI=4
55
56 SUPPORT_PYTHON_ABIS=1
57 PYTHON_DEPEND="2:2.5"
58 RESTRICT_PYTHON_ABIS="2.4 3.* *-pypy-*"
59
60 inherit distutils eutils
61
62 if [[ ${PV} != *9999* ]]; then
63 KEYWORDS="~amd64 ~x86"
64 SRC_URI="mirror://bitbucket/${PN}/targz/downloads/${P}.tar.gz"
65 HG_DEPEND=">=dev-vcs/mercurial-2.2 <dev-vcs/mercurial-2.5"
66 else
67 inherit mercurial
68 EHG_REPO_URI="https://bitbucket.org/tortoisehg/thg"
69 KEYWORDS=""
70 SRC_URI=""
71 HG_DEPEND="dev-vcs/mercurial"
72 fi
73
74 DESCRIPTION="Set of graphical tools for Mercurial"
75 HOMEPAGE="http://tortoisehg.bitbucket.org"
76
77 LICENSE="GPL-2"
78 SLOT="0"
79 IUSE="doc"
80
81 RDEPEND="${HG_DEPEND}
82 dev-python/iniparse
83 dev-python/pygments
84 dev-python/PyQt4
85 dev-python/qscintilla-python"
86 DEPEND="${RDEPEND}
87 doc? ( >=dev-python/sphinx-1.0.3 )"
88
89 src_prepare() {
90 if [[ ${LINGUAS+set} ]]; then
91 pushd i18n/tortoisehg > /dev/null || 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 popd > /dev/null || die
104 fi
105
106 distutils_src_prepare
107 }
108
109 src_compile() {
110 distutils_src_compile
111
112 if use doc ; then
113 emake -C doc html
114 fi
115 }
116
117 src_install() {
118 distutils_src_install
119 dodoc doc/ReadMe*.txt doc/TODO
120
121 if use doc ; then
122 dohtml -r doc/build/html
123 fi
124
125 newicon -s scalable icons/scalable/apps/thg-logo.svg tortoisehg_logo.svg
126 domenu contrib/${PN}.desktop
127 }
128
129 pkg_postinst() {
130 elog "When startup of ${PN} fails with an API version mismatch error"
131 elog "between dev-python/sip and dev-python/PyQt4 please rebuild"
132 elog "dev-python/qscintilla-python."
133 }