1 |
eva 08/10/19 11:41:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pygobject-2.15.4.ebuild |
5 |
Removed: pygobject-2.12.3.ebuild |
6 |
Log: |
7 |
New version for GNOME 2.24. New APIs have been wrapped (notably GIO) and codegen is now part of pygobject. |
8 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.49 dev-python/pygobject/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.49&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.49&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/ChangeLog?r1=1.48&r2=1.49 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v |
20 |
retrieving revision 1.48 |
21 |
retrieving revision 1.49 |
22 |
diff -u -r1.48 -r1.49 |
23 |
--- ChangeLog 25 Sep 2008 14:01:58 -0000 1.48 |
24 |
+++ ChangeLog 19 Oct 2008 11:41:44 -0000 1.49 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for dev-python/pygobject |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.48 2008/09/25 14:01:58 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.49 2008/10/19 11:41:44 eva Exp $ |
30 |
+ |
31 |
+*pygobject-2.15.4 (19 Oct 2008) |
32 |
+ |
33 |
+ 19 Oct 2008; Gilles Dartiguelongue <eva@g.o> |
34 |
+ +files/pygobject-2.15.4-fix-codegen-location.patch, |
35 |
+ -pygobject-2.12.3.ebuild, +pygobject-2.15.4.ebuild: |
36 |
+ New version for GNOME 2.24. New APIs have been wrapped (notably GIO) |
37 |
+ and codegen is now part of pygobject. |
38 |
|
39 |
25 Sep 2008; Jeroen Roovers <jer@g.o> pygobject-2.14.2.ebuild: |
40 |
Stable for HPPA (bug #236971). |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-python/pygobject/pygobject-2.15.4.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/pygobject-2.15.4.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/pygobject-2.15.4.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: pygobject-2.15.4.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2008 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.15.4.ebuild,v 1.1 2008/10/19 11:41:44 eva Exp $ |
54 |
|
55 |
inherit autotools gnome2 python virtualx |
56 |
|
57 |
DESCRIPTION="GLib's GObject library bindings for Python" |
58 |
HOMEPAGE="http://www.pygtk.org/" |
59 |
|
60 |
LICENSE="LGPL-2" |
61 |
SLOT="2" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
63 |
IUSE="doc examples libffi" |
64 |
|
65 |
RDEPEND=">=dev-lang/python-2.4.4-r5 |
66 |
>=dev-libs/glib-2.16 |
67 |
!<dev-python/pygtk-2.13" |
68 |
DEPEND="${RDEPEND} |
69 |
doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 ) |
70 |
>=dev-util/pkgconfig-0.12.0" |
71 |
|
72 |
DOCS="AUTHORS ChangeLog NEWS README" |
73 |
|
74 |
pkg_setup() { |
75 |
if use libffi && ! built_with_use sys-devel/gcc libffi; then |
76 |
eerror "libffi support not found in sys-devel/gcc." && die |
77 |
fi |
78 |
|
79 |
G2CONF="${G2CONF} $(use_enable doc docs) $(use_with libffi)" |
80 |
} |
81 |
|
82 |
src_unpack() { |
83 |
gnome2_src_unpack |
84 |
|
85 |
# Fix FHS compliance, see upstream bug #535524 |
86 |
epatch "${FILESDIR}/${P}-fix-codegen-location.patch" |
87 |
|
88 |
eautoreconf |
89 |
|
90 |
# disable pyc compiling |
91 |
mv py-compile py-compile.orig |
92 |
ln -s $(type -P true) py-compile |
93 |
} |
94 |
|
95 |
src_test() { |
96 |
unset DBUS_SESSION_BUS_ADDRESS |
97 |
Xemake check || die "tests failed" |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
gnome2_src_install |
102 |
|
103 |
if use examples; then |
104 |
insinto /usr/share/doc/${P} |
105 |
doins -r examples |
106 |
fi |
107 |
|
108 |
python_version |
109 |
mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py \ |
110 |
"${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py-2.0 |
111 |
mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth \ |
112 |
"${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth-2.0 |
113 |
} |
114 |
|
115 |
pkg_postinst() { |
116 |
python_version |
117 |
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0 |
118 |
alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9] |
119 |
alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9] |
120 |
python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py |
121 |
} |
122 |
|
123 |
pkg_postrm() { |
124 |
python_version |
125 |
python_mod_cleanup |
126 |
} |