Gentoo Archives: gentoo-commits

From: "Remi Cardona (remi)" <remi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/gnome-python-extras: ChangeLog gnome-python-extras-2.19.1-r2.ebuild
Date: Tue, 24 Jun 2008 08:37:10
Message-Id: E1KB41Q-0002fv-2p@stork.gentoo.org
1 remi 08/06/24 08:37:04
2
3 Modified: ChangeLog
4 Added: gnome-python-extras-2.19.1-r2.ebuild
5 Log:
6 dev-python/gnome-python-extras: add missing deps that were being automagically detected
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r5 x86_64)
8
9 Revision Changes Path
10 1.76 dev-python/gnome-python-extras/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gnome-python-extras/ChangeLog?rev=1.76&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gnome-python-extras/ChangeLog?rev=1.76&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gnome-python-extras/ChangeLog?r1=1.75&r2=1.76
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/gnome-python-extras/ChangeLog,v
19 retrieving revision 1.75
20 retrieving revision 1.76
21 diff -u -r1.75 -r1.76
22 --- ChangeLog 2 Jun 2008 21:06:04 -0000 1.75
23 +++ ChangeLog 24 Jun 2008 08:37:03 -0000 1.76
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/gnome-python-extras
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-python-extras/ChangeLog,v 1.75 2008/06/02 21:06:04 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-python-extras/ChangeLog,v 1.76 2008/06/24 08:37:03 remi Exp $
29 +
30 +*gnome-python-extras-2.19.1-r2 (24 Jun 2008)
31 +
32 + 24 Jun 2008; RĂ©mi Cardona <remi@g.o>
33 + +gnome-python-extras-2.19.1-r2.ebuild:
34 + add missing deps that were being automagically detected
35
36 02 Jun 2008; Gilles Dartiguelongue <eva@g.o>
37 gnome-python-extras-2.19.1-r1.ebuild:
38
39
40
41 1.1 dev-python/gnome-python-extras/gnome-python-extras-2.19.1-r2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gnome-python-extras/gnome-python-extras-2.19.1-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gnome-python-extras/gnome-python-extras-2.19.1-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gnome-python-extras-2.19.1-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-python-extras/gnome-python-extras-2.19.1-r2.ebuild,v 1.1 2008/06/24 08:37:03 remi Exp $
51
52 inherit eutils gnome2 python virtualx autotools
53
54 DESCRIPTION="GNOME 2 Bindings for Python"
55 HOMEPAGE="http://www.pygtk.org"
56
57 LICENSE="LGPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
60 IUSE="doc firefox seamonkey xulrunner"
61
62 RDEPEND=">=x11-libs/gtk+-2.4
63 >=dev-libs/glib-2.6
64 >=dev-python/gnome-python-2.10
65 >=dev-python/pygtk-2.4
66 =gnome-extra/gtkhtml-2*
67 xulrunner? ( =net-libs/xulrunner-1.8* )
68 !xulrunner? ( firefox? ( =www-client/mozilla-firefox-2* ) )
69 !xulrunner? ( !firefox? ( seamonkey? ( =www-client/seamonkey-1* ) ) )
70 >=x11-libs/libgksu-2.0.4
71 >=dev-libs/gdl-0.6.1
72 >=app-text/gtkspell-2"
73 # =gnome-extra/libgda-3*
74 # This used to be wrongly libgda-1*, but as configure is automagic,
75 # it just didn't build libgda bindings before as libgda-3 is p.masked.
76 # Leaving it automagic and dep lacking as there are no notable users of
77 # these bindings as testified by the lack of bug reports for this
78 # breakage. Should be fixed after libgda-3 gets unmasked or this ebuild
79 # is split into many per bug 108479
80
81 DEPEND="${RDEPEND}
82 dev-util/pkgconfig"
83
84 DOCS="AUTHORS COPYING* ChangeLog INSTALL NEWS README"
85
86 # Tests are broken and not that useful anyway, see bug #209846
87 RESTRICT="test"
88
89 pkg_setup() {
90 if ! built_with_use --missing true dev-libs/gdl gnome; then
91 eerror "If you want to build ${PN} with >=dev-libs/gdl-0.7.1, you"
92 eerror "need to build dev-libs/gdl with the the 'gnome' USE flag."
93 die "gdl must be built with USE='gnome'"
94 fi
95
96 # only controls linking, can't disable w/o a patch :)
97 if use xulrunner; then
98 G2CONF="${G2CONF} --with-gtkmozembed=xulrunner"
99 elif use firefox; then
100 G2CONF="${G2CONF} --with-gtkmozembed=firefox"
101 elif use seamonkey; then
102 G2CONF="${G2CONF} --with-gtkmozembed=seamonkey"
103 fi
104 }
105
106 src_unpack() {
107 gnome2_src_unpack
108
109 # change mozilla to seamonkey
110 sed -i -e 's:1.2b):1.0.0):;s:mozilla):seamonkey):' configure.ac
111
112 # disable pyc compiling
113 mv py-compile py-compile.orig
114 ln -s $(type -P true) py-compile
115
116 eautoreconf
117 }
118
119 src_test() {
120 Xemake check || die "tests failed"
121 }
122
123 src_install() {
124 gnome2_src_install
125
126 if use doc; then
127 insinto /usr/share/doc/${PF}
128 doins -r examples
129 fi
130 }
131
132 pkg_postinst() {
133 python_version
134 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
135 }
136
137 pkg_postrm() {
138 python_version
139 python_mod_cleanup "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0"
140 }
141
142
143
144 --
145 gentoo-commits@l.g.o mailing list