1 |
dev-zero 11/01/25 14:56:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cola-1.4.3.ebuild |
5 |
Log: |
6 |
Version bump (bug #351580). Also solved: the installation of localization files (bug #348130), adaption to python eclass changes (bug #329473). |
7 |
|
8 |
(Portage version: 2.1.9.35/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.5 dev-vcs/cola/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/cola/ChangeLog?rev=1.5&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/cola/ChangeLog?rev=1.5&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/cola/ChangeLog?r1=1.4&r2=1.5 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-vcs/cola/ChangeLog,v |
20 |
retrieving revision 1.4 |
21 |
retrieving revision 1.5 |
22 |
diff -u -r1.4 -r1.5 |
23 |
--- ChangeLog 9 Jun 2010 19:47:29 -0000 1.4 |
24 |
+++ ChangeLog 25 Jan 2011 14:56:23 -0000 1.5 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-vcs/cola |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cola/ChangeLog,v 1.4 2010/06/09 19:47:29 dev-zero Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cola/ChangeLog,v 1.5 2011/01/25 14:56:23 dev-zero Exp $ |
31 |
+ |
32 |
+*cola-1.4.3 (25 Jan 2011) |
33 |
+ |
34 |
+ 25 Jan 2011; Tiziano Müller <dev-zero@g.o> +cola-1.4.3.ebuild: |
35 |
+ Version bump (bug #351580). Also solved: the installation of localization |
36 |
+ files (bug #348130), adaption to python eclass changes (bug #329473). |
37 |
|
38 |
09 Jun 2010; Tiziano Müller <dev-zero@g.o> cola-1.4.2.1.ebuild: |
39 |
Version bump. |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-vcs/cola/cola-1.4.3.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/cola/cola-1.4.3.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/cola/cola-1.4.3.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: cola-1.4.3.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cola/cola-1.4.3.ebuild,v 1.1 2011/01/25 14:56:23 dev-zero Exp $ |
53 |
|
54 |
EAPI="3" |
55 |
|
56 |
PYTHON_DEPEND="2" |
57 |
|
58 |
inherit distutils eutils |
59 |
|
60 |
DESCRIPTION="A sweet, carbonated git gui known for its sugary flavour and caffeine-inspired features." |
61 |
HOMEPAGE="http://cola.tuxfamily.org/" |
62 |
SRC_URI="http://cola.tuxfamily.org/releases/${P}.tar.gz" |
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="doc test" |
67 |
|
68 |
RDEPEND="dev-python/PyQt4 |
69 |
>=dev-python/pyinotify-0.7.1 |
70 |
dev-python/jsonpickle |
71 |
>=dev-vcs/git-1.6.3" |
72 |
DEPEND="${RDEPEND} |
73 |
doc? ( app-text/asciidoc |
74 |
dev-python/sphinx |
75 |
app-text/xmlto ) |
76 |
sys-devel/gettext |
77 |
test? ( dev-python/nose )" |
78 |
|
79 |
# tests currently broken due to unfinished translation framework |
80 |
RESTRICT="test" |
81 |
|
82 |
|
83 |
src_prepare() { |
84 |
# don't install docs into wrong location |
85 |
sed -i \ |
86 |
-e '/doc/d' \ |
87 |
setup.py || die "sed failed" |
88 |
|
89 |
sed -i \ |
90 |
-e "s|'doc', 'git-cola'|'doc', '${PF}', 'html'|" \ |
91 |
cola/resources.py || die "sed failed" |
92 |
|
93 |
# don't prefix install path with homedir |
94 |
rm setup.cfg |
95 |
|
96 |
epatch "${FILESDIR}/1.3.8-disable-tests.patch" |
97 |
|
98 |
python_convert_shebangs 2 bin/git-cola share/git-cola/bin/ssh-askpass |
99 |
} |
100 |
|
101 |
src_compile() { |
102 |
distutils_src_compile |
103 |
|
104 |
if use doc ; then |
105 |
cd share/doc/git-cola/ |
106 |
emake all || die "building docs failed" |
107 |
fi |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
distutils_src_install |
112 |
|
113 |
# remove bundled libraries |
114 |
rm -rf "${D}"/usr/share/git-cola/lib/{jsonpickle,simplejson} |
115 |
|
116 |
# remove wrong translation file |
117 |
rm -rf "${D}/usr/share/locale/" |
118 |
|
119 |
insinto /usr/share/locale |
120 |
doins -r share/locale/* |
121 |
|
122 |
cd share/doc/git-cola/ |
123 |
dodoc *.txt |
124 |
|
125 |
if use doc ; then |
126 |
dohtml -r _build/html/* |
127 |
doman *.1 |
128 |
else |
129 |
dohtml "${FILESDIR}/index.html" |
130 |
fi |
131 |
} |
132 |
|
133 |
src_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 |
python_mod_optimize /usr/share/git-cola/lib/cola |
141 |
} |
142 |
|
143 |
pkg_postrm() { |
144 |
python_mod_cleanup /usr/share/git-cola/lib/cola |
145 |
} |