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-r2.ebuild pygtk-2.12.1-r1.ebuild
Date: Thu, 29 May 2008 12:26:52
Message-Id: E1K1hDT-0000q6-6z@stork.gentoo.org
1 remi 08/05/29 12:26:47
2
3 Modified: ChangeLog
4 Added: pygtk-2.12.1-r2.ebuild
5 Removed: pygtk-2.12.1-r1.ebuild
6 Log:
7 dev-python/pygtk: force revbump
8 (Portage version: 2.1.5.2)
9
10 Revision Changes Path
11 1.183 dev-python/pygtk/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.183&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.183&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/ChangeLog?r1=1.182&r2=1.183
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v
20 retrieving revision 1.182
21 retrieving revision 1.183
22 diff -u -r1.182 -r1.183
23 --- ChangeLog 29 May 2008 02:28:17 -0000 1.182
24 +++ ChangeLog 29 May 2008 12:26:46 -0000 1.183
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/pygtk
27 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.182 2008/05/29 02:28:17 dang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.183 2008/05/29 12:26:46 remi Exp $
30 +
31 +*pygtk-2.12.1-r2 (29 May 2008)
32 +
33 + 29 May 2008; RĂ©mi Cardona <remi@g.o> -pygtk-2.12.1-r1.ebuild,
34 + +pygtk-2.12.1-r2.ebuild:
35 + force revbump
36
37 29 May 2008; Daniel Gryniewicz <dang@g.o>
38 files/pygtk-2.12.1-fix-codegen-location.patch:
39
40
41
42 1.1 dev-python/pygtk/pygtk-2.12.1-r2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.12.1-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.12.1-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pygtk-2.12.1-r2.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-r2.ebuild,v 1.1 2008/05/29 12:26:46 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