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/pygtk: ChangeLog pygtk-2.12.1-r1.ebuild
Date: Wed, 28 May 2008 14:03:48
Message-Id: E1K1MFl-0007Ma-14@stork.gentoo.org
1 remi 08/05/28 14:03:45
2
3 Modified: ChangeLog
4 Added: pygtk-2.12.1-r1.ebuild
5 Log:
6 dev-python/pygtk: fix bug #194343 and bug #209531, add amd64 keyword back
7 (Portage version: 2.1.5.2)
8
9 Revision Changes Path
10 1.181 dev-python/pygtk/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.181&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.181&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?r1=1.180&r2=1.181
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v
19 retrieving revision 1.180
20 retrieving revision 1.181
21 diff -u -r1.180 -r1.181
22 --- ChangeLog 25 Apr 2008 17:11:06 -0000 1.180
23 +++ ChangeLog 28 May 2008 14:03:44 -0000 1.181
24 @@ -1,6 +1,13 @@
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.180 2008/04/25 17:11:06 drac Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.181 2008/05/28 14:03:44 remi Exp $
29 +
30 +*pygtk-2.12.1-r1 (28 May 2008)
31 +
32 + 28 May 2008; RĂ©mi Cardona <remi@g.o>
33 + +files/pygtk-2.12.1-fix-amd64.patch,
34 + +files/pygtk-2.12.1-fix-codegen-location.patch, +pygtk-2.12.1-r1.ebuild:
35 + fix bug #194343 and bug #209531, add amd64 keyword back
36
37 25 Apr 2008; Samuli Suominen <drac@g.o>
38 +files/pygtk-2.12.0-extrafuncs.patch, +pygtk-2.12.0-r1.ebuild:
39
40
41
42 1.1 dev-python/pygtk/pygtk-2.12.1-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.12.1-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.12.1-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pygtk-2.12.1-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.12.1-r1.ebuild,v 1.1 2008/05/28 14:03:44 remi Exp $
52
53 inherit gnome.org python flag-o-matic eutils virtualx
54
55 DESCRIPTION="GTK+2 bindings for Python"
56 HOMEPAGE="http://www.pygtk.org/"
57
58 LICENSE="LGPL-2.1"
59 SLOT="2"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
61 IUSE="doc examples"
62
63 RDEPEND=">=dev-libs/glib-2.8.0
64 >=x11-libs/pango-1.16.0
65 >=dev-libs/atk-1.12.0
66 >=x11-libs/gtk+-2.11.6
67 >=gnome-base/libglade-2.5.0
68 >=dev-lang/python-2.4.4-r5
69 >=dev-python/pycairo-1.0.2
70 >=dev-python/pygobject-2.14
71 !arm? ( dev-python/numeric )"
72
73 DEPEND="${RDEPEND}
74 doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 )
75 >=dev-util/pkgconfig-0.9"
76
77 src_unpack() {
78 unpack ${A}
79 cd "${S}"
80
81 # fix for bug #209531
82 epatch "${FILESDIR}/${PN}-2.12.1-fix-amd64.patch"
83
84 # fix for bug #194343
85 epatch "${FILESDIR}/${PN}-2.12.1-fix-codegen-location.patch"
86
87 # disable pyc compiling
88 mv "${S}"/py-compile "${S}"/py-compile.orig
89 ln -s $(type -P true) "${S}"/py-compile
90 }
91
92 src_compile() {
93 use hppa && append-flags -ffunction-sections
94 econf $(use_enable doc docs) --enable-thread || die
95 # possible problems with parallel builds (#45776)
96 #emake -j1 || die
97 emake || die
98 }
99
100 src_install() {
101 emake DESTDIR="${D}" install || die
102 dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO
103
104 if use examples; then
105 rm examples/Makefile*
106 insinto /usr/share/doc/${PF}
107 doins -r examples
108 fi
109 }
110
111 src_test() {
112 cd tests
113 Xemake check-local || die "tests failed"
114 }
115
116 pkg_postinst() {
117 python_version
118 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
119 }
120
121 pkg_postrm() {
122 python_version
123 python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
124 rm -f "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth}
125 alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9]
126 alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9]
127 }
128
129
130
131 --
132 gentoo-commits@l.g.o mailing list