1 |
dev-zero 09/11/03 09:04:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cola-1.4.0.1.ebuild |
5 |
Log: |
6 |
Version bump, fixed doc deps and doc installation ^Cug #291439, thanks to Man Shankar). |
7 |
(Portage version: 2.2_rc46/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 dev-util/cola/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cola/ChangeLog?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cola/ChangeLog?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cola/ChangeLog?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/cola/ChangeLog,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- ChangeLog 26 Aug 2009 08:50:14 -0000 1.4 |
23 |
+++ ChangeLog 3 Nov 2009 09:04:27 -0000 1.5 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-util/cola |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cola/ChangeLog,v 1.4 2009/08/26 08:50:14 dev-zero Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cola/ChangeLog,v 1.5 2009/11/03 09:04:27 dev-zero Exp $ |
29 |
+ |
30 |
+*cola-1.4.0.1 (03 Nov 2009) |
31 |
+ |
32 |
+ 03 Nov 2009; Tiziano Müller <dev-zero@g.o> +cola-1.4.0.1.ebuild, |
33 |
+ +files/index.html: |
34 |
+ Version bump, fixed doc deps and doc installation ^Cug #291439, thanks to |
35 |
+ Man Shankar). |
36 |
|
37 |
*cola-1.3.9.14 (26 Aug 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-util/cola/cola-1.4.0.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cola/cola-1.4.0.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cola/cola-1.4.0.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: cola-1.4.0.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/cola/cola-1.4.0.1.ebuild,v 1.1 2009/11/03 09:04:27 dev-zero Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit distutils eutils |
56 |
|
57 |
DESCRIPTION="A sweet, carbonated git gui known for its sugary flavour and caffeine-inspired features." |
58 |
HOMEPAGE="http://cola.tuxfamily.org/" |
59 |
SRC_URI="http://cola.tuxfamily.org/releases/${P}-src.tar.gz" |
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~x86" |
63 |
IUSE="doc test" |
64 |
|
65 |
RDEPEND="dev-python/PyQt4 |
66 |
|| ( >=dev-lang/python-2.6 ( =dev-lang/python-2.5* dev-python/simplejson ) ) |
67 |
>=dev-python/pyinotify-0.7.1 |
68 |
dev-python/jsonpickle |
69 |
dev-util/git" |
70 |
DEPEND="${RDEPEND} |
71 |
doc? ( app-text/asciidoc |
72 |
dev-python/sphinx |
73 |
app-text/xmlto ) |
74 |
test? ( dev-python/nose )" |
75 |
|
76 |
src_prepare() { |
77 |
# don't install docs into wrong location |
78 |
sed -i \ |
79 |
-e '/doc/d' \ |
80 |
setup.py || die "sed failed" |
81 |
|
82 |
sed -i \ |
83 |
-e "s|'doc', 'git-cola'|'doc', '${PF}', 'html'|" \ |
84 |
-e 's|git-cola.html|index.html|' \ |
85 |
cola/resources.py || die "sed failed" |
86 |
|
87 |
# don't prefix install path with homedir |
88 |
rm setup.cfg |
89 |
|
90 |
epatch "${FILESDIR}/1.3.8-disable-tests.patch" |
91 |
} |
92 |
|
93 |
src_compile() { |
94 |
distutils_src_compile |
95 |
|
96 |
if use doc ; then |
97 |
cd share/doc/git-cola/ |
98 |
emake all || die "building docs failed" |
99 |
fi |
100 |
} |
101 |
|
102 |
src_install() { |
103 |
distutils_src_install |
104 |
|
105 |
# remove bundled libraries |
106 |
rm -rf "${D}"/usr/share/git-cola/lib/{jsonpickle,simplejson} |
107 |
|
108 |
cd share/doc/git-cola/ |
109 |
dodoc *.txt |
110 |
|
111 |
if use doc ; then |
112 |
dohtml -r _build/html/* |
113 |
doman *.1 |
114 |
else |
115 |
dohtml "${FILESDIR}/index.html" |
116 |
fi |
117 |
} |
118 |
|
119 |
src_test() { |
120 |
PYTHONPATH="$(pwd):$(pwd)/build/lib:${PYTHONPATH}" nosetests \ |
121 |
--verbose --with-doctest --with-id --exclude=jsonpickle --exclude=json \ |
122 |
|| die "running nosetests failed" |
123 |
} |
124 |
|
125 |
pkg_postinst() { |
126 |
python_mod_optimize /usr/share/git-cola |
127 |
} |
128 |
|
129 |
pkg_postrm() { |
130 |
python_mod_cleanup /usr/share/git-cola |
131 |
} |