Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/tortoisehg/
Date: Wed, 14 Feb 2018 15:55:06
Message-Id: 1518602308.6a082aa11976c69a063717d99367092933033005.polynomial-c@gentoo
1 commit: 6a082aa11976c69a063717d99367092933033005
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 14 09:58:28 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 14 09:58:28 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a082aa1
7
8 dev-vcs/tortoisehg: Synced live ebuild.
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-vcs/tortoisehg/tortoisehg-9999.ebuild | 10 +++++-----
13 1 file changed, 5 insertions(+), 5 deletions(-)
14
15 diff --git a/dev-vcs/tortoisehg/tortoisehg-9999.ebuild b/dev-vcs/tortoisehg/tortoisehg-9999.ebuild
16 index 441fed1aec6..3e6b1f3db8c 100644
17 --- a/dev-vcs/tortoisehg/tortoisehg-9999.ebuild
18 +++ b/dev-vcs/tortoisehg/tortoisehg-9999.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2017 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=6
25 @@ -9,7 +9,7 @@ inherit distutils-r1 eutils
26 if [[ ${PV} != *9999* ]]; then
27 KEYWORDS="~amd64 ~x86"
28 SRC_URI="https://www.bitbucket.org/${PN}/targz/downloads/${P}.tar.gz"
29 - HG_DEPEND=">=dev-vcs/mercurial-4.3 <dev-vcs/mercurial-4.5"
30 + HG_DEPEND=">=dev-vcs/mercurial-4.4 <dev-vcs/mercurial-4.6"
31 else
32 inherit mercurial
33 EHG_REPO_URI="https://bitbucket.org/tortoisehg/thg"
34 @@ -36,12 +36,12 @@ DEPEND="${RDEPEND}
35 DISTUTILS_IN_SOURCE_BUILD=1
36
37 python_prepare_all() {
38 - if [[ ${LINGUAS+set} ]]; then
39 + if [[ ${L10N+set} ]]; then
40 cd i18n/tortoisehg || die
41 local x y keep
42 for x in *.po; do
43 keep=false
44 - for y in ${LINGUAS}; do
45 + for y in ${L10N}; do
46 if [[ ${y} == ${x%.po}* ]]; then
47 keep=true
48 break
49 @@ -68,7 +68,7 @@ python_install_all() {
50 domenu contrib/thg.desktop
51
52 # Remove file that collides with >=mercurial-4.0 (bug #599266).
53 - rm "${ED}"/usr/$(get_libdir)/${EPYTHON}/site-packages/hgext3rd/__init__.py \
54 + rm "${ED%/}"/usr/$(get_libdir)/${EPYTHON}/site-packages/hgext3rd/__init__.py \
55 || die
56 }