Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-vcs/git-cola: ChangeLog git-cola-1.8.0.ebuild
Date: Sun, 26 Aug 2012 08:48:45
Message-Id: 20120826084825.84E98207A9@flycatcher.gentoo.org
1 jlec 12/08/26 08:48:25
2
3 Modified: ChangeLog
4 Added: git-cola-1.8.0.ebuild
5 Log:
6 dev-vcs/git-cola: Version BUmp
7
8 (Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 dev-vcs/git-cola/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 24 May 2012 21:19:51 -0000 1.3
24 +++ ChangeLog 26 Aug 2012 08:48:25 -0000 1.4
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-vcs/git-cola
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/ChangeLog,v 1.3 2012/05/24 21:19:51 dev-zero Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/ChangeLog,v 1.4 2012/08/26 08:48:25 jlec Exp $
30 +
31 +*git-cola-1.8.0 (26 Aug 2012)
32 +
33 + 26 Aug 2012; Justin Lecher <jlec@g.o> +git-cola-1.8.0.ebuild:
34 + Version BUmp
35
36 *git-cola-1.7.7-r1 (24 May 2012)
37
38
39
40
41 1.1 dev-vcs/git-cola/git-cola-1.8.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/git-cola-1.8.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/git-cola-1.8.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: git-cola-1.8.0.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/git-cola-1.8.0.ebuild,v 1.1 2012/08/26 08:48:25 jlec Exp $
51
52 EAPI=4
53
54 PYTHON_DEPEND="2"
55
56 inherit distutils eutils
57
58 DESCRIPTION="The highly caffeinated git GUI"
59 HOMEPAGE="http://git-cola.github.com/"
60 SRC_URI="mirror://github/${PN}/${PN}/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
65 IUSE="doc test"
66
67 RDEPEND="
68 dev-python/jsonpickle
69 dev-python/pyinotify
70 dev-python/PyQt4
71 dev-vcs/git"
72 DEPEND="${RDEPEND}
73 doc? (
74 app-text/asciidoc
75 dev-python/sphinx
76 app-text/xmlto )
77 sys-devel/gettext
78 test? ( dev-python/nose )"
79
80 # tests currently broken due to unfinished translation framework
81 RESTRICT="test"
82
83 pkg_setup() {
84 python_set_active_version 2
85 python_pkg_setup
86 }
87
88 src_prepare() {
89 # don't install docs into wrong location
90 sed -i \
91 -e '/doc/d' \
92 setup.py || die "sed failed"
93
94 sed -i \
95 -e "s|'doc', 'git-cola'|'doc', '${PF}', 'html'|" \
96 cola/resources.py || die "sed failed"
97
98 epatch \
99 "${FILESDIR}"/1.3.8-disable-tests.patch \
100 "${FILESDIR}"/1.7.7-system-ssh-askpass.patch
101
102 python_convert_shebangs 2 bin/git-cola bin/git-dag
103 }
104
105 src_compile() {
106 distutils_src_compile
107
108 if use doc ; then
109 cd share/doc/git-cola/
110 emake all
111 fi
112 }
113
114 src_install() {
115 distutils_src_install
116
117 dodoc share/doc/git-cola/*.txt
118
119 if use doc ; then
120 dohtml -r _build/html/*
121 doman *.1
122 else
123 dohtml "${FILESDIR}/index.html"
124 fi
125 }
126
127 src_test() {
128 PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C" nosetests \
129 --verbose --with-doctest --with-id --exclude=jsonpickle --exclude=json \
130 || die "running nosetests failed"
131 }
132
133 pkg_postinst() {
134 python_mod_optimize /usr/share/git-cola/lib/cola
135
136 elog "Please make sure you have either a SSH key management installed and activated or"
137 elog "installed a SSH askpass app like net-misc/x11-ssh-askpass."
138 elog "Otherwise git-cola may hang when pushing/pulling from remote git repositories via SSH. "
139 }
140
141 pkg_postrm() {
142 python_mod_cleanup /usr/share/git-cola/lib/cola
143 }