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