Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pygobject: ChangeLog pygobject-2.14.0-r1.ebuild
Date: Thu, 27 Dec 2007 18:05:00
Message-Id: E1J7x6B-0000Uz-9g@stork.gentoo.org
1 eva 07/12/27 18:04:51
2
3 Modified: ChangeLog
4 Added: pygobject-2.14.0-r1.ebuild
5 Log:
6 remove automagic dependency on libffi, bug #198875
7 (Portage version: 2.1.4_rc11)
8
9 Revision Changes Path
10 1.30 dev-python/pygobject/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.30&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.30&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/ChangeLog?r1=1.29&r2=1.30
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v
19 retrieving revision 1.29
20 retrieving revision 1.30
21 diff -u -r1.29 -r1.30
22 --- ChangeLog 27 Nov 2007 03:39:44 -0000 1.29
23 +++ ChangeLog 27 Dec 2007 18:04:50 -0000 1.30
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/pygobject
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.29 2007/11/27 03:39:44 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.30 2007/12/27 18:04:50 eva Exp $
29 +
30 +*pygobject-2.14.0-r1 (27 Dec 2007)
31 +
32 + 27 Dec 2007; Gilles Dartiguelongue <eva@g.o>
33 + +files/pygobject-2.14.0-libffi-magic.patch, +pygobject-2.14.0-r1.ebuild:
34 + remove automagic dependency on libffi, bug #198875
35
36 27 Nov 2007; Jeroen Roovers <jer@g.o> pygobject-2.14.0.ebuild:
37 Stable for HPPA (bug #199322).
38
39
40
41 1.1 dev-python/pygobject/pygobject-2.14.0-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/pygobject-2.14.0-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/pygobject-2.14.0-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pygobject-2.14.0-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.14.0-r1.ebuild,v 1.1 2007/12/27 18:04:50 eva Exp $
51
52 WANT_AUTOMAKE=1.8
53 inherit gnome2 python autotools
54
55 DESCRIPTION="GLib's GObject library bindings for Python"
56 HOMEPAGE="http://www.pygtk.org/"
57
58 LICENSE="LGPL-2"
59 SLOT="2"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
61 IUSE="doc examples"
62
63 # glib higher dep than in configure.in comes from a runtime version check and ensures that
64 # timeout_add_seconds is available for any packages that depend on pygobject and use it
65 # python high dep for a fixed python-config, as aclocal.m4/configure in the tarball requires it to function properly
66 RDEPEND=">=dev-lang/python-2.4.4-r5
67 >=dev-libs/glib-2.13.5
68 !<dev-python/pygtk-2.9"
69 DEPEND="${RDEPEND}
70 doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 )
71 >=dev-util/pkgconfig-0.12.0"
72
73 DOCS="AUTHORS ChangeLog NEWS README"
74
75 pkg_setup() {
76 # activate libffi when bug #199850 is solved
77 G2CONF="${G2CONF} $(use_enable doc docs) --without-libffi"
78 }
79
80 src_unpack() {
81 gnome2_src_unpack
82
83 # fix bug #147285 - Robin H. Johnson <robbat2@g.o>
84 # this is caused by upstream's automake-1.8 lacking some Gentoo-specific
85 # patches (for tmpfs amongst other things). Upstreams hit by this should
86 # move to newer automake versions ideally.
87 # eautomake
88
89 # fix bug #198875 and bug #194632
90 epatch "${FILESDIR}/${P}-libffi-magic.patch"
91
92 # uncomment above eautomake when eautoreconf isn't needed anymore
93 cp aclocal.m4 old.m4
94 AT_M4DIR="." eautoreconf
95
96 # disable pyc compiling
97 mv py-compile py-compile.orig
98 ln -s $(type -P true) py-compile
99 }
100
101 src_install() {
102 gnome2_src_install
103
104 if use examples; then
105 insinto /usr/share/doc/${P}
106 doins -r examples
107 fi
108
109 python_version
110 mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py \
111 "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py-2.0
112 mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth \
113 "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth-2.0
114 }
115
116 pkg_postinst() {
117 python_version
118 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
119 alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9]
120 alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9]
121 python_mod_compile "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py
122 }
123
124 pkg_postrm() {
125 python_version
126 python_mod_cleanup
127 }
128
129
130
131 --
132 gentoo-commits@g.o mailing list