Gentoo Archives: gentoo-commits

From: "Romain Perier (mrpouet)" <mrpouet@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pygobject: ChangeLog pygobject-2.18.0.ebuild
Date: Wed, 24 Jun 2009 16:01:54
Message-Id: E1MJUv1-0000C8-My@stork.gentoo.org
1 mrpouet 09/06/24 16:01:51
2
3 Modified: ChangeLog
4 Added: pygobject-2.18.0.ebuild
5 Log:
6 Bump to 2.18.0, bug #275153
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.66 dev-python/pygobject/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.66&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.66&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/ChangeLog?r1=1.65&r2=1.66
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v
19 retrieving revision 1.65
20 retrieving revision 1.66
21 diff -u -r1.65 -r1.66
22 --- ChangeLog 4 Jun 2009 13:18:05 -0000 1.65
23 +++ ChangeLog 24 Jun 2009 16:01:51 -0000 1.66
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/pygobject
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.65 2009/06/04 13:18:05 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.66 2009/06/24 16:01:51 mrpouet Exp $
29 +
30 +*pygobject-2.18.0 (24 Jun 2009)
31 +
32 + 24 Jun 2009; Romain Perier <mrpouet@g.o>
33 + +pygobject-2.18.0.ebuild:
34 + Bump to 2.18.0, bug #275153
35
36 *pygobject-2.16.1-r1 (04 Jun 2009)
37
38
39
40
41 1.1 dev-python/pygobject/pygobject-2.18.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/pygobject-2.18.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/pygobject-2.18.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pygobject-2.18.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/pygobject/pygobject-2.18.0.ebuild,v 1.1 2009/06/24 16:01:51 mrpouet Exp $
51
52 inherit autotools gnome2 python virtualx versionator
53
54 DESCRIPTION="GLib's GObject library 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 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
60 IUSE="doc examples libffi test"
61
62
63 RDEPEND=">=dev-lang/python-2.4.4-r5
64 >=dev-libs/glib-2.16
65 !<dev-python/pygtk-2.13
66 libffi? ( virtual/libffi )"
67 DEPEND="${RDEPEND}
68 doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 )
69 >=dev-util/pkgconfig-0.12.0"
70
71 DOCS="AUTHORS ChangeLog ChangeLog.pre-$(get_version_component_range 1-2)
72 NEWS README"
73
74 pkg_setup() {
75 G2CONF="${G2CONF}
76 --disable-dependency-tracking
77 --enable-libtool-lock
78 $(use_enable doc docs)
79 $(use_enable test glibtest)
80 $(use_with libffi ffi)"
81 }
82
83 src_unpack() {
84 gnome2_src_unpack
85
86 # Fix FHS compliance, see upstream bug #535524
87 epatch "${FILESDIR}/${PN}-2.15.4-fix-codegen-location.patch"
88
89 # needed to build on a libtool-1 system, bug #255542
90 rm m4/lt* m4/libtool.m4 ltmain.sh
91
92 eautoreconf
93
94 # disable pyc compiling
95 mv py-compile py-compile.orig
96 ln -s $(type -P true) py-compile
97 }
98
99 src_test() {
100 unset DBUS_SESSION_BUS_ADDRESS
101 Xemake check || die "tests failed"
102 }
103
104 src_install() {
105 gnome2_src_install
106
107 if use examples; then
108 insinto /usr/share/doc/${P}
109 doins -r examples
110 fi
111
112 python_version
113 mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py \
114 "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py-2.0
115 mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth \
116 "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth-2.0
117 }
118
119 pkg_postinst() {
120 python_version
121 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
122 alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9]
123 alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9]
124 python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py
125 python_need_rebuild
126 }
127
128 pkg_postrm() {
129 python_version
130 python_mod_cleanup
131 }