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-3.4.1.1.ebuild
Date: Tue, 30 Oct 2012 08:22:25
Message-Id: 20121030082206.99BB421600@flycatcher.gentoo.org
1 eva 12/10/30 08:22:06
2
3 Modified: ChangeLog
4 Added: pygobject-3.4.1.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key C6085806)
9
10 Revision Changes Path
11 1.181 dev-python/pygobject/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.181&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.181&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?r1=1.180&r2=1.181
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v
20 retrieving revision 1.180
21 retrieving revision 1.181
22 diff -u -r1.180 -r1.181
23 --- ChangeLog 28 Oct 2012 15:44:39 -0000 1.180
24 +++ ChangeLog 30 Oct 2012 08:22:06 -0000 1.181
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/pygobject
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.180 2012/10/28 15:44:39 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.181 2012/10/30 08:22:06 eva Exp $
30 +
31 +*pygobject-3.4.1.1 (30 Oct 2012)
32 +
33 + 30 Oct 2012; Gilles Dartiguelongue <eva@g.o>
34 + +pygobject-3.4.1.1.ebuild, +files/pygobject-3.4.1.1-make_check.patch:
35 + Version bump.
36
37 28 Oct 2012; Raúl Porcel <armin76@g.o> pygobject-2.28.6-r52.ebuild:
38 ia64/sh/sparc stable wrt #427544
39
40
41
42 1.1 dev-python/pygobject/pygobject-3.4.1.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.4.1.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.4.1.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pygobject-3.4.1.1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.4.1.1.ebuild,v 1.1 2012/10/30 08:22:06 eva Exp $
52
53 EAPI="4"
54 GCONF_DEBUG="no"
55 GNOME2_LA_PUNT="yes"
56 SUPPORT_PYTHON_ABIS="1"
57 PYTHON_DEPEND="2:2.6 3:3.1"
58 RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython *-pypy-*"
59
60 inherit autotools eutils gnome2 python virtualx
61
62 DESCRIPTION="GLib's GObject library bindings for Python"
63 HOMEPAGE="http://www.pygtk.org/"
64
65 LICENSE="LGPL-2.1+"
66 SLOT="3"
67 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
68 IUSE="+cairo examples test +threads" # doc
69 REQUIRED_USE="test? ( cairo )"
70
71 COMMON_DEPEND=">=dev-libs/glib-2.31.0:2
72 >=dev-libs/gobject-introspection-1.34.1.1
73 virtual/libffi
74 cairo? ( >=dev-python/pycairo-1.10.0 )"
75 DEPEND="${COMMON_DEPEND}
76 x11-libs/cairo[glib]
77 virtual/pkgconfig
78 test? (
79 dev-libs/atk[introspection]
80 media-fonts/font-cursor-misc
81 media-fonts/font-misc-misc
82 x11-libs/gdk-pixbuf:2[introspection]
83 x11-libs/gtk+:3[introspection]
84 x11-libs/pango[introspection] )"
85 # docs disabled for now per upstream default since they are very out of date
86 # doc? (
87 # app-text/docbook-xml-dtd:4.1.2
88 # dev-libs/libxslt
89 # >=app-text/docbook-xsl-stylesheets-1.70.1 )
90
91 # We now disable introspection support in slot 2 per upstream recommendation
92 # (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
93 # older versions of slot 2 installed their own site-packages/gi, and
94 # slot 3 will collide with them.
95 RDEPEND="${COMMON_DEPEND}
96 !<dev-python/pygtk-2.13
97 !<dev-python/pygobject-2.28.6-r50:2[introspection]"
98
99 pkg_setup() {
100 python_pkg_setup
101 }
102
103 src_prepare() {
104 DOCS="AUTHORS ChangeLog* NEWS README"
105 # Hard-enable libffi support since both gobject-introspection and
106 # glib-2.29.x rdepend on it anyway
107 G2CONF="${G2CONF}
108 --disable-dependency-tracking
109 --with-ffi
110 $(use_enable cairo)
111 $(use_enable threads thread)"
112
113 # Do not build tests if unneeded, bug #226345
114 epatch "${FILESDIR}/${PN}-3.4.1.1-make_check.patch"
115
116 eautoreconf
117 gnome2_src_prepare
118 python_clean_py-compile_files
119
120 python_copy_sources
121 }
122
123 src_configure() {
124 configuration() {
125 PYTHON="$(PYTHON)" gnome2_src_configure
126 }
127 python_execute_function -s configuration
128 }
129
130 src_compile() {
131 python_src_compile
132 }
133
134 # FIXME: With python multiple ABI support, tests return 1 even when they pass
135 src_test() {
136 unset DBUS_SESSION_BUS_ADDRESS
137 export GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
138
139 testing() {
140 export XDG_CACHE_HOME="${T}/$(PYTHON --ABI)"
141 Xemake check PYTHON=$(PYTHON -a)
142 unset XDG_CACHE_HOME
143 }
144 python_execute_function -s testing
145 unset GIO_USE_VFS
146 }
147
148 src_install() {
149 python_execute_function -s gnome2_src_install
150 python_clean_installation_image
151
152 if use examples; then
153 insinto /usr/share/doc/${PF}
154 doins -r examples
155 fi
156 }
157
158 pkg_postinst() {
159 python_mod_optimize gi
160 }
161
162 pkg_postrm() {
163 python_mod_cleanup gi
164 }