Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pygobject: pygobject-2.28.4.ebuild
Date: Wed, 27 Apr 2011 16:43:17
Message-Id: 20110427164306.A47F720054@flycatcher.gentoo.org
1 arfrever 11/04/27 16:43:06
2
3 Modified: pygobject-2.28.4.ebuild
4 Log:
5 Restrict Jython ABIs. Fix calls to python_mod_optimize() and python_mod_cleanup().
6
7 (Portage version: 2.2.0_alpha30_p6/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 dev-python/pygobject/pygobject-2.28.4.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.28.4.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.28.4.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.28.4.ebuild?r1=1.1&r2=1.2
15
16 Index: pygobject-2.28.4.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.28.4.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- pygobject-2.28.4.ebuild 20 Apr 2011 13:13:58 -0000 1.1
23 +++ pygobject-2.28.4.ebuild 27 Apr 2011 16:43:06 -0000 1.2
24 @@ -1,13 +1,15 @@
25 # Copyright 1999-2011 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.28.4.ebuild,v 1.1 2011/04/20 13:13:58 pacho Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.28.4.ebuild,v 1.2 2011/04/27 16:43:06 arfrever Exp $
29
30 EAPI="3"
31 GCONF_DEBUG="no"
32 SUPPORT_PYTHON_ABIS="1"
33 +# pygobject is partially incompatible with Python 3.
34 +# PYTHON_DEPEND="2:2.6 3:3.1"
35 +# RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython"
36 PYTHON_DEPEND="2:2.6"
37 -# FIXME: Supports Python 3, but needs pycairo-3 support too
38 -RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
39 +RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython"
40
41 # XXX: Is the alternatives stuff needed anymore?
42 inherit alternatives autotools gnome2 python virtualx
43 @@ -116,11 +118,11 @@
44 }
45 python_execute_function create_symlinks
46
47 - python_mod_optimize gtk-2.0 pygtk.py
48 + python_mod_optimize $(use introspection && echo gi) glib gobject gtk-2.0 pygtk.py
49 }
50
51 pkg_postrm() {
52 - python_mod_cleanup gtk-2.0 pygtk.py
53 + python_mod_cleanup $(use introspection && echo gi) glib gobject gtk-2.0 pygtk.py
54
55 create_symlinks() {
56 alternatives_auto_makesym "$(python_get_sitedir)/pygtk.py" pygtk.py-[0-9].[0-9]