1 |
eva 08/10/19 11:42:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pygtk-2.13.0.ebuild |
5 |
Log: |
6 |
New version for GNOME 2.24. Wrap more APIs, support GTK-2.14 and bug fixes. |
7 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.190 dev-python/pygtk/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.190&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.190&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?r1=1.189&r2=1.190 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v |
19 |
retrieving revision 1.189 |
20 |
retrieving revision 1.190 |
21 |
diff -u -r1.189 -r1.190 |
22 |
--- ChangeLog 25 Sep 2008 14:05:50 -0000 1.189 |
23 |
+++ ChangeLog 19 Oct 2008 11:42:17 -0000 1.190 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-python/pygtk |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.189 2008/09/25 14:05:50 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.190 2008/10/19 11:42:17 eva Exp $ |
29 |
+ |
30 |
+*pygtk-2.13.0 (19 Oct 2008) |
31 |
+ |
32 |
+ 19 Oct 2008; Gilles Dartiguelongue <eva@g.o> +pygtk-2.13.0.ebuild: |
33 |
+ New version for GNOME 2.24. Wrap more APIs, support GTK-2.14 and bug |
34 |
+ fixes. |
35 |
|
36 |
25 Sep 2008; Jeroen Roovers <jer@g.o> pygtk-2.12.1-r2.ebuild: |
37 |
Stable for HPPA (bug #236971). |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/pygtk/pygtk-2.13.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.13.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.13.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pygtk-2.13.0.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/pygtk/pygtk-2.13.0.ebuild,v 1.1 2008/10/19 11:42:17 eva Exp $ |
51 |
|
52 |
inherit eutils flag-o-matic gnome.org python virtualx |
53 |
|
54 |
DESCRIPTION="GTK+2 bindings for Python" |
55 |
HOMEPAGE="http://www.pygtk.org/" |
56 |
|
57 |
LICENSE="LGPL-2.1" |
58 |
SLOT="2" |
59 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
60 |
IUSE="doc examples" |
61 |
|
62 |
RDEPEND=">=dev-libs/glib-2.8.0 |
63 |
>=x11-libs/pango-1.16.0 |
64 |
>=dev-libs/atk-1.12.0 |
65 |
>=x11-libs/gtk+-2.13.6 |
66 |
>=gnome-base/libglade-2.5.0 |
67 |
>=dev-lang/python-2.4.4-r5 |
68 |
>=dev-python/pycairo-1.0.2 |
69 |
>=dev-python/pygobject-2.15.3 |
70 |
!arm? ( dev-python/numeric )" |
71 |
|
72 |
DEPEND="${RDEPEND} |
73 |
doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 ) |
74 |
>=dev-util/pkgconfig-0.9" |
75 |
|
76 |
src_unpack() { |
77 |
unpack ${A} |
78 |
cd "${S}" |
79 |
|
80 |
# Fix declaration of codegen in .pc |
81 |
epatch "${FILESDIR}/${P}-fix-codegen-location.patch" |
82 |
|
83 |
# disable pyc compiling |
84 |
mv "${S}"/py-compile "${S}"/py-compile.orig |
85 |
ln -s $(type -P true) "${S}"/py-compile |
86 |
} |
87 |
|
88 |
src_compile() { |
89 |
use hppa && append-flags -ffunction-sections |
90 |
econf $(use_enable doc docs) --enable-thread |
91 |
|
92 |
emake || die "emake failed" |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
emake DESTDIR="${D}" install || die "emake install failed" |
97 |
dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO |
98 |
|
99 |
if use examples; then |
100 |
rm examples/Makefile* |
101 |
insinto /usr/share/doc/${PF} |
102 |
doins -r examples |
103 |
fi |
104 |
} |
105 |
|
106 |
src_test() { |
107 |
cd tests |
108 |
Xemake check-local || die "tests failed" |
109 |
} |
110 |
|
111 |
pkg_postinst() { |
112 |
python_version |
113 |
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0 |
114 |
} |
115 |
|
116 |
pkg_postrm() { |
117 |
python_version |
118 |
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/gtk-2.0 |
119 |
rm -f "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth} |
120 |
alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9] |
121 |
alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9] |
122 |
} |