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