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-2.0.7.ebuild
Date: Wed, 01 Oct 2014 12:38:43
Message-Id: 20141001123840.7BD596AB6@oystercatcher.gentoo.org
1 jlec 14/10/01 12:38:40
2
3 Modified: ChangeLog
4 Added: git-cola-2.0.7.ebuild
5 Log:
6 dev-vcs/git-cola: Version BUmp
7
8 (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.34 dev-vcs/git-cola/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/ChangeLog?rev=1.34&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/ChangeLog?rev=1.34&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/ChangeLog?r1=1.33&r2=1.34
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/ChangeLog,v
20 retrieving revision 1.33
21 retrieving revision 1.34
22 diff -u -r1.33 -r1.34
23 --- ChangeLog 16 Sep 2014 08:46:05 -0000 1.33
24 +++ ChangeLog 1 Oct 2014 12:38:40 -0000 1.34
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-vcs/git-cola
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/ChangeLog,v 1.33 2014/09/16 08:46:05 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/ChangeLog,v 1.34 2014/10/01 12:38:40 jlec Exp $
30 +
31 +*git-cola-2.0.7 (01 Oct 2014)
32 +
33 + 01 Oct 2014; Justin Lecher <jlec@g.o> +git-cola-2.0.7.ebuild:
34 + Version BUmp
35
36 16 Sep 2014; Justin Lecher <jlec@g.o> git-cola-2.0.6.ebuild:
37 Some prefix love
38
39
40
41 1.1 dev-vcs/git-cola/git-cola-2.0.7.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/git-cola-2.0.7.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/git-cola-2.0.7.ebuild?rev=1.1&content-type=text/plain
45
46 Index: git-cola-2.0.7.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/git-cola/git-cola-2.0.7.ebuild,v 1.1 2014/10/01 12:38:40 jlec Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_7,3_3} )
55 DISTUTILS_SINGLE_IMPL=true
56
57 inherit distutils-r1 readme.gentoo virtualx
58
59 DESCRIPTION="The highly caffeinated git GUI"
60 HOMEPAGE="http://git-cola.github.com/"
61 SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
66 IUSE="doc test"
67
68 RDEPEND="
69 dev-python/jsonpickle[${PYTHON_USEDEP}]
70 dev-python/pyinotify[${PYTHON_USEDEP}]
71 dev-python/PyQt4[${PYTHON_USEDEP}]
72 dev-vcs/git"
73 DEPEND="${RDEPEND}
74 app-text/asciidoc
75 app-text/xmlto
76 sys-devel/gettext
77 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
78 test? (
79 dev-python/nose[${PYTHON_USEDEP}]
80 sys-apps/net-tools
81 )"
82
83 PATCHES=(
84 "${FILESDIR}"/${PN}-1.9.3-disable-tests.patch
85 "${FILESDIR}"/${PN}-1.9.1-system-ssh-askpass.patch
86 )
87
88 pkg_pretend() {
89 if use test && [[ -z "$(hostname -d)" ]] ; then
90 die "Test will fail if no domain is set"
91 fi
92 }
93
94 python_prepare_all() {
95 rm share/git-cola/bin/*askpass* || die
96
97 # unfinished translate framework
98 rm test/i18n_test.py || die
99
100 # don't install docs into wrong location
101 sed -i \
102 -e '/doc/d' \
103 setup.py || die "sed failed"
104
105 sed -i \
106 -e "s|'doc', 'git-cola'|'doc', '${PF}'|" \
107 cola/resources.py || die "sed failed"
108
109 distutils-r1_python_prepare_all
110 }
111
112 python_compile_all() {
113 cd share/doc/${PN}/
114 if use doc ; then
115 emake all
116 else
117 sed \
118 -e '/^install:/s:install-html::g' \
119 -e '/^install:/s:install-man::g' \
120 -i Makefile || die
121 fi
122 }
123
124 src_install() {
125 distutils-r1_src_install
126 }
127
128 python_install_all() {
129 cd share/doc/${PN}/ || die
130 emake \
131 DESTDIR="${D}" \
132 docdir="${EPREFIX}/usr/share/doc/${PF}" \
133 prefix="${EPREFIX}/usr" \
134 install
135
136 python_fix_shebang "${ED}/usr/share/git-cola/bin/git-xbase"
137 python_optimize "${ED}/usr/share/git-cola/lib/cola"
138
139 if ! use doc ; then
140 HTML_DOCS=( "${FILESDIR}"/index.html )
141 fi
142
143 distutils-r1_python_install_all
144 readme.gentoo_create_doc
145 docompress /usr/share/doc/${PF}/git-cola.txt
146 }
147
148 python_test() {
149 PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C" \
150 VIRTUALX_COMMAND="nosetests --verbose --with-doctest \
151 --with-id --exclude=jsonpickle --exclude=json" \
152 virtualmake
153 }