1 |
eva 09/02/02 21:46:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pygtk-2.14.0.ebuild |
5 |
Log: |
6 |
Bump to 2.14.0. Bug fixes. |
7 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.195 dev-python/pygtk/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.195&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.195&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?r1=1.194&r2=1.195 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v |
19 |
retrieving revision 1.194 |
20 |
retrieving revision 1.195 |
21 |
diff -u -r1.194 -r1.195 |
22 |
--- ChangeLog 29 Nov 2008 23:31:16 -0000 1.194 |
23 |
+++ ChangeLog 2 Feb 2009 21:46:31 -0000 1.195 |
24 |
@@ -1,6 +1,11 @@ |
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.194 2008/11/29 23:31:16 eva Exp $ |
28 |
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.195 2009/02/02 21:46:31 eva Exp $ |
30 |
+ |
31 |
+*pygtk-2.14.0 (02 Feb 2009) |
32 |
+ |
33 |
+ 02 Feb 2009; Gilles Dartiguelongue <eva@g.o> +pygtk-2.14.0.ebuild: |
34 |
+ Bump to 2.14.0. Bug fixes. |
35 |
|
36 |
29 Nov 2008; Gilles Dartiguelongue <eva@g.o> -pygtk-2.10.6.ebuild, |
37 |
-pygtk-2.12.0-r1.ebuild, -pygtk-2.12.1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/pygtk/pygtk-2.14.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.14.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.14.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pygtk-2.14.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 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.14.0.ebuild,v 1.1 2009/02/02 21:46:31 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}/${PN}-2.13.0-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_need_rebuild |
114 |
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0 |
115 |
} |
116 |
|
117 |
pkg_postrm() { |
118 |
python_version |
119 |
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/gtk-2.0 |
120 |
rm -f "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth} |
121 |
alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9] |
122 |
alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9] |
123 |
} |