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