Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/gnome-specimen: gnome-specimen-0.4.ebuild
Date: Sun, 30 Jan 2011 08:00:05
Message-Id: 20110130075956.59E3E2004E@flycatcher.gentoo.org
1 ssuominen 11/01/30 07:59:56
2
3 Modified: gnome-specimen-0.4.ebuild
4 Log:
5 refactor the ebuild more to use the provided eclasses
6
7 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.4 media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild?r1=1.3&r2=1.4
15
16 Index: gnome-specimen-0.4.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- gnome-specimen-0.4.ebuild 30 Jan 2011 07:54:17 -0000 1.3
23 +++ gnome-specimen-0.4.ebuild 30 Jan 2011 07:59:56 -0000 1.4
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2011 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild,v 1.3 2011/01/30 07:54:17 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnome-specimen/gnome-specimen-0.4.ebuild,v 1.4 2011/01/30 07:59:56 ssuominen Exp $
29
30 EAPI=3
31
32 @@ -30,16 +30,19 @@
33 pkg_setup() {
34 python_set_active_version 2
35 python_pkg_setup
36 +
37 + DOCS="AUTHORS ChangeLog NEWS README TODO"
38 }
39
40 src_prepare() {
41 rm -f py-compile
42 ln -s $(type -P true) py-compile
43 +
44 + gnome2_src_prepare
45 }
46
47 src_install() {
48 - emake DESTDIR="${D}" install || die
49 - dodoc AUTHORS ChangeLog NEWS README TODO
50 + gnome2_src_install
51
52 python_convert_shebangs 2 "${D}"/usr/bin/${PN}
53 }