Gentoo Archives: gentoo-commits

From: "Markus Meier (maekke)" <maekke@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/comix: comix-4.0.1-r1.ebuild ChangeLog
Date: Mon, 02 Feb 2009 19:30:39
Message-Id: E1LU4VB-0003hs-Qx@stork.gentoo.org
1 maekke 09/02/02 19:30:37
2
3 Modified: ChangeLog
4 Added: comix-4.0.1-r1.ebuild
5 Log:
6 revision bump, do not install .pyc files into /usr/share
7 (Portage version: 2.2_rc23/cvs/Linux i686)
8
9 Revision Changes Path
10 1.49 media-gfx/comix/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/comix/ChangeLog?rev=1.49&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/comix/ChangeLog?rev=1.49&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/comix/ChangeLog?r1=1.48&r2=1.49
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/comix/ChangeLog,v
19 retrieving revision 1.48
20 retrieving revision 1.49
21 diff -u -r1.48 -r1.49
22 --- ChangeLog 20 Dec 2008 17:39:46 -0000 1.48
23 +++ ChangeLog 2 Feb 2009 19:30:37 -0000 1.49
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-gfx/comix
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/comix/ChangeLog,v 1.48 2008/12/20 17:39:46 vanquirius Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/comix/ChangeLog,v 1.49 2009/02/02 19:30:37 maekke Exp $
30 +
31 +*comix-4.0.1-r1 (02 Feb 2009)
32 +
33 + 02 Feb 2009; Markus Meier <maekke@g.o> +comix-4.0.1-r1.ebuild:
34 + revision bump, do not install .pyc files into /usr/share
35
36 *comix-4.0.1 (20 Dec 2008)
37
38
39
40
41 1.1 media-gfx/comix/comix-4.0.1-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/comix/comix-4.0.1-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/comix/comix-4.0.1-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: comix-4.0.1-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-gfx/comix/comix-4.0.1-r1.ebuild,v 1.1 2009/02/02 19:30:37 maekke Exp $
51
52 inherit python
53
54 DESCRIPTION="A GTK image viewer specifically designed to handle comic books."
55 HOMEPAGE="http://comix.sourceforge.net"
56 SRC_URI="mirror://sourceforge/comix/${P}.tar.gz"
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
60 IUSE="rar"
61 RDEPEND=">=dev-python/imaging-1.1.5
62 >=dev-python/pygtk-2.12
63 rar? ( || ( app-arch/unrar app-arch/rar ) )"
64
65 src_unpack() {
66 unpack ${A}
67 # do not install .pyc into /usr/share
68 local pythondir="$(python_get_sitedir)/comix"
69 pythondir="${pythondir/\/usr\/}"
70 sed -i -e "s:share/comix/src:${pythondir}:g" "${S}"/install.py || die
71 }
72
73 src_compile() {
74 einfo "Nothing to be compiled."
75 }
76
77 src_install() {
78 dodir /usr
79 python install.py install --no-mime --dir "${D}"usr || die
80 insinto /usr/share/mime/packages/
81 doins "${S}"/mime/comix.xml || die
82 insinto /etc/gconf/schemas/
83 doins "${S}"/mime/comicbook.schemas || die
84 dobin "${S}"/mime/comicthumb
85 dodoc ChangeLog README || die
86 }