From: | "Thomas Beierlein (tomjbe)" <tomjbe@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-electronics/geda-xgsch2pcb: ChangeLog geda-xgsch2pcb-0.1.3-r2.ebuild |
Date: | Sun, 30 Jan 2011 07:40:04 |
Message-Id: | 20110130073954.0C7E320054@flycatcher.gentoo.org |
1 | tomjbe 11/01/30 07:39:54 |
2 | |
3 | Modified: ChangeLog |
4 | Added: geda-xgsch2pcb-0.1.3-r2.ebuild |
5 | Log: |
6 | Fix RDEPS (bug #352938). Thanks for reporting Pacho. |
7 | |
8 | (Portage version: 2.1.9.35/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.3 sci-electronics/geda-xgsch2pcb/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/geda-xgsch2pcb/ChangeLog?rev=1.3&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/geda-xgsch2pcb/ChangeLog?rev=1.3&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/geda-xgsch2pcb/ChangeLog?r1=1.2&r2=1.3 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-electronics/geda-xgsch2pcb/ChangeLog,v |
20 | retrieving revision 1.2 |
21 | retrieving revision 1.3 |
22 | diff -u -r1.2 -r1.3 |
23 | --- ChangeLog 22 Dec 2010 08:18:36 -0000 1.2 |
24 | +++ ChangeLog 30 Jan 2011 07:39:53 -0000 1.3 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sci-electronics/geda-xgsch2pcb |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda-xgsch2pcb/ChangeLog,v 1.2 2010/12/22 08:18:36 jlec Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda-xgsch2pcb/ChangeLog,v 1.3 2011/01/30 07:39:53 tomjbe Exp $ |
31 | + |
32 | +*geda-xgsch2pcb-0.1.3-r2 (30 Jan 2011) |
33 | + |
34 | + 30 Jan 2011; Thomas Beierlein <tomjbe@g.o> |
35 | + +geda-xgsch2pcb-0.1.3-r2.ebuild: |
36 | + Fix RDEPS (bug #352938). Thanks for reporting Pacho. |
37 | |
38 | *geda-xgsch2pcb-0.1.3-r1 (22 Dec 2010) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r2.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r2.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r2.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: geda-xgsch2pcb-0.1.3-r2.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/sci-electronics/geda-xgsch2pcb/geda-xgsch2pcb-0.1.3-r2.ebuild,v 1.1 2011/01/30 07:39:53 tomjbe Exp $ |
53 | |
54 | EAPI="2" |
55 | |
56 | WANT_AUTOCONF="2.5" |
57 | PYTHON_DEPEND="2" |
58 | |
59 | inherit autotools eutils fdo-mime gnome2-utils python |
60 | |
61 | DESCRIPTION="A graphical front-end for the gschem -> pcb workflow" |
62 | HOMEPAGE="http://www.gpleda.org/tools/xgsch2pcb/index.html" |
63 | SRC_URI="http://geda.seul.org/dist/${P}.tar.gz" |
64 | |
65 | LICENSE="GPL-2" |
66 | SLOT="0" |
67 | KEYWORDS="~amd64 ~x86" |
68 | IUSE="gnome nls" |
69 | |
70 | CDEPEND=" |
71 | >=dev-python/pygtk-2.10 |
72 | >=dev-python/pygobject-2.10 |
73 | dev-python/dbus-python |
74 | sci-electronics/pcb[dbus] |
75 | sci-electronics/geda |
76 | nls? ( virtual/libintl )" |
77 | |
78 | RDEPEND=" |
79 | ${CDEPEND} |
80 | sci-electronics/electronics-menu |
81 | gnome? ( dev-python/gnome-vfs-python )" |
82 | |
83 | DEPEND=" |
84 | ${CDEPEND} |
85 | dev-util/intltool |
86 | dev-lang/perl |
87 | nls? ( sys-devel/gettext )" |
88 | |
89 | pkg_setup() { |
90 | python_set_active_version 2 |
91 | } |
92 | |
93 | src_prepare(){ |
94 | echo '#!/bin/sh' > py-compile |
95 | epatch "${FILESDIR}"/${PV}-python.patch |
96 | eautoreconf |
97 | } |
98 | |
99 | src_configure() { |
100 | econf \ |
101 | $(use_enable nls) \ |
102 | --disable-update-desktop-database \ |
103 | --disable-dependency-tracking |
104 | } |
105 | |
106 | src_install() { |
107 | emake DESTDIR="${D}" install || die "emake install failed" |
108 | dodoc README ChangeLog || die |
109 | } |
110 | |
111 | pkg_preinst() { |
112 | gnome2_icon_savelist |
113 | } |
114 | |
115 | pkg_postinst() { |
116 | fdo-mime_desktop_database_update |
117 | fdo-mime_mime_database_update |
118 | gnome2_icon_cache_update |
119 | python_mod_optimize $(python_get_sitedir)/${PN} |
120 | } |
121 | |
122 | pkg_postrm() { |
123 | fdo-mime_desktop_database_update |
124 | fdo-mime_mime_database_update |
125 | gnome2_icon_cache_update |
126 | python_mod_cleanup $(python_get_sitedir)/${PN} |
127 | } |