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.9.1.ebuild
Date: Thu, 07 Nov 2013 16:57:00
Message-Id: 20131107165656.7EB262004E@flycatcher.gentoo.org
1 jlec 13/11/07 16:56:56
2
3 Modified: ChangeLog
4 Added: git-cola-1.9.1.ebuild
5 Log:
6 dev-vcs/git-cola: Version BUmp
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.17 dev-vcs/git-cola/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 12 Oct 2013 02:35:47 -0000 1.16
24 +++ ChangeLog 7 Nov 2013 16:56:56 -0000 1.17
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-vcs/git-cola
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/ChangeLog,v 1.16 2013/10/12 02:35:47 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/ChangeLog,v 1.17 2013/11/07 16:56:56 jlec Exp $
30 +
31 +*git-cola-1.9.1 (07 Nov 2013)
32 +
33 + 07 Nov 2013; Justin Lecher <jlec@g.o> +git-cola-1.9.1.ebuild,
34 + +files/1.9.1-disable-tests.patch,
35 + +files/git-cola-1.9.1-system-ssh-askpass.patch:
36 + Version BUmp
37
38 12 Oct 2013; Patrick Lauer <patrick@g.o> git-cola-1.8.5.ebuild:
39 Whitespace
40
41
42
43 1.1 dev-vcs/git-cola/git-cola-1.9.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/git-cola-1.9.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git-cola/git-cola-1.9.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: git-cola-1.9.1.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/git-cola-1.9.1.ebuild,v 1.1 2013/11/07 16:56:56 jlec Exp $
53
54 EAPI=5
55
56 PYTHON_COMPAT=( python{2_6,2_7} )
57 DISTUTILS_SINGLE_IMPL=true
58
59 inherit distutils-r1
60
61 DESCRIPTION="The highly caffeinated git GUI"
62 HOMEPAGE="http://git-cola.github.com/"
63 SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
68 IUSE="doc test"
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 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
79 sys-devel/gettext
80 test? ( dev-python/nose[${PYTHON_USEDEP}] )"
81
82 PATCHES=(
83 "${FILESDIR}"/${PV}-disable-tests.patch
84 "${FILESDIR}"/${P}-system-ssh-askpass.patch
85 )
86
87 python_prepare_all() {
88 rm share/git-cola/bin/*askpass* || die
89
90 # unfinished translate framework
91 rm test/test_cola_i18n.py || die
92
93 # don't install docs into wrong location
94 sed -i \
95 -e '/doc/d' \
96 setup.py || die "sed failed"
97
98 sed -i \
99 -e "s|'doc', 'git-cola'|'doc', '${PF}', 'html'|" \
100 cola/resources.py || die "sed failed"
101
102 distutils-r1_python_prepare_all
103 }
104
105 python_compile_all() {
106 cd share/doc/${PN}/
107 if use doc ; then
108 emake all
109 else
110 sed \
111 -e '/^install:/s:install-html::g' \
112 -i Makefile || die
113 fi
114 }
115
116 python_install_all() {
117 cd share/doc/${PN}/ || die
118 emake \
119 DESTDIR="${D}" \
120 docdir="${EPREFIX}/usr/share/doc/${PF}" \
121 prefix="${EPREFIX}/usr" \
122 install
123
124 if use doc ; then
125 HTML_DOCS=( share/doc/${PN}/_build/html/. )
126 else
127 HTML_DOCS=( "${FILESDIR}"/index.html )
128 fi
129
130 distutils-r1_python_install_all
131 }
132
133 python_test() {
134 PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C" nosetests \
135 --verbose --with-doctest --with-id --exclude=jsonpickle --exclude=json \
136 || die "running nosetests failed"
137 }
138
139 pkg_postinst() {
140 elog "Please make sure you have either a SSH key management installed and activated or"
141 elog "installed a SSH askpass app like net-misc/x11-ssh-askpass."
142 elog "Otherwise ${PN} may hang when pushing/pulling from remote git repositories via SSH. "
143 }