Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/betagarden:master commit in: dev-vcs/git-cola/
Date: Wed, 29 Jan 2014 11:56:04
Message-Id: 1390996558.0f11efdd6adbeaa6b069c5411666119a05b0ce68.jlec@gentoo
1 commit: 0f11efdd6adbeaa6b069c5411666119a05b0ce68
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 29 11:55:58 2014 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 29 11:55:58 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=0f11efdd
7
8 dev-vcs/git-cola: Fix broken documentation paths, #499658
9
10 Package-Manager: portage-2.2.8-r1
11
12 ---
13 dev-vcs/git-cola/ChangeLog | 3 +++
14 dev-vcs/git-cola/git-cola-9999.ebuild | 14 ++++++++++++--
15 2 files changed, 15 insertions(+), 2 deletions(-)
16
17 diff --git a/dev-vcs/git-cola/ChangeLog b/dev-vcs/git-cola/ChangeLog
18 index 429dda1..21e257c 100644
19 --- a/dev-vcs/git-cola/ChangeLog
20 +++ b/dev-vcs/git-cola/ChangeLog
21 @@ -2,6 +2,9 @@
22 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
23 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/cola/ChangeLog,v 1.8 2011/04/13 19:00:02 jlec Exp $
24
25 + 29 Jan 2014; Justin Lecher <jlec@g.o> git-cola-9999.ebuild:
26 + Fix broken documentation paths, #499658
27 +
28 15 Jan 2014; Justin Lecher <jlec@g.o> git-cola-9999.ebuild,
29 -files/9999-system-ssh-askpass.patch,
30 +files/git-cola-9999-disable-tests.patch,
31
32 diff --git a/dev-vcs/git-cola/git-cola-9999.ebuild b/dev-vcs/git-cola/git-cola-9999.ebuild
33 index 2aa4631..e5cfd8c 100644
34 --- a/dev-vcs/git-cola/git-cola-9999.ebuild
35 +++ b/dev-vcs/git-cola/git-cola-9999.ebuild
36 @@ -29,13 +29,22 @@ DEPEND="${RDEPEND}
37 app-text/xmlto
38 sys-devel/gettext
39 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
40 - test? ( dev-python/nose[${PYTHON_USEDEP}] )"
41 + test? (
42 + dev-python/nose[${PYTHON_USEDEP}]
43 + sys-apps/net-tools
44 + )"
45
46 PATCHES=(
47 "${FILESDIR}"/${P}-disable-tests.patch
48 "${FILESDIR}"/${P}-system-ssh-askpass.patch
49 )
50
51 +pkg_pretend() {
52 + if use test && [[ -z "$(hostname -d)" ]] ; then
53 + die "Test will fail if no domain is set"
54 + fi
55 +}
56 +
57 python_prepare_all() {
58 rm share/git-cola/bin/*askpass* || die
59
60 @@ -48,7 +57,7 @@ python_prepare_all() {
61 setup.py || die "sed failed"
62
63 sed -i \
64 - -e "s|'doc', 'git-cola'|'doc', '${PF}', 'html'|" \
65 + -e "s|'doc', 'git-cola'|'doc', '${PF}'|" \
66 cola/resources.py || die "sed failed"
67
68 distutils-r1_python_prepare_all
69 @@ -80,6 +89,7 @@ python_install_all() {
70 fi
71
72 distutils-r1_python_install_all
73 + docompress /usr/share/doc/${PF}/git-cola.txt
74 }
75
76 python_test() {