Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pygobject: pygobject-3.12.2.ebuild ChangeLog
Date: Sat, 31 May 2014 11:20:08
Message-Id: 20140531112003.797A92004E@flycatcher.gentoo.org
1 pacho 14/05/31 11:20:03
2
3 Modified: ChangeLog
4 Added: pygobject-3.12.2.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.249 dev-python/pygobject/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.249&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.249&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?r1=1.248&r2=1.249
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v
20 retrieving revision 1.248
21 retrieving revision 1.249
22 diff -u -r1.248 -r1.249
23 --- ChangeLog 27 Apr 2014 16:25:15 -0000 1.248
24 +++ ChangeLog 31 May 2014 11:20:03 -0000 1.249
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/pygobject
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.248 2014/04/27 16:25:15 eva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.249 2014/05/31 11:20:03 pacho Exp $
30 +
31 +*pygobject-3.12.2 (31 May 2014)
32 +
33 + 31 May 2014; Pacho Ramos <pacho@g.o> +pygobject-3.12.2.ebuild:
34 + Version bump
35
36 *pygobject-3.12.1 (27 Apr 2014)
37
38
39
40
41 1.1 dev-python/pygobject/pygobject-3.12.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.12.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.12.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pygobject-3.12.2.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.12.2.ebuild,v 1.1 2014/05/31 11:20:03 pacho Exp $
51
52 EAPI="5"
53 GCONF_DEBUG="no"
54 GNOME2_LA_PUNT="yes"
55 PYTHON_COMPAT=( python{2_7,3_2,3_3} )
56
57 inherit gnome2 python-r1 virtualx
58
59 DESCRIPTION="GLib's GObject library bindings for Python"
60 HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject"
61
62 LICENSE="LGPL-2.1+"
63 SLOT="3"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~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"
65 IUSE="+cairo examples test +threads"
66
67 REQUIRED_USE="
68 ${PYTHON_REQUIRED_USE}
69 test? ( cairo )
70 "
71
72 COMMON_DEPEND="
73 >=dev-libs/glib-2.38:2
74 >=dev-libs/gobject-introspection-1.38
75 virtual/libffi:=
76 cairo? (
77 >=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}]
78 x11-libs/cairo )
79 ${PYTHON_DEPS}
80 "
81 DEPEND="${COMMON_DEPEND}
82 virtual/pkgconfig
83 cairo? ( x11-libs/cairo[glib] )
84 test? (
85 dev-libs/atk[introspection]
86 media-fonts/font-cursor-misc
87 media-fonts/font-misc-misc
88 virtual/python-unittest2[${PYTHON_USEDEP}]
89 x11-libs/cairo[glib]
90 x11-libs/gdk-pixbuf:2[introspection]
91 x11-libs/gtk+:3[introspection]
92 x11-libs/pango[introspection] )
93 "
94 # gnome-base/gnome-common required by eautoreconf
95
96 # We now disable introspection support in slot 2 per upstream recommendation
97 # (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
98 # older versions of slot 2 installed their own site-packages/gi, and
99 # slot 3 will collide with them.
100 RDEPEND="${COMMON_DEPEND}
101 !<dev-python/pygtk-2.13
102 !<dev-python/pygobject-2.28.6-r50:2[introspection]
103 "
104
105 src_prepare() {
106 gnome2_src_prepare
107 python_copy_sources
108 }
109
110 src_configure() {
111 # Hard-enable libffi support since both gobject-introspection and
112 # glib-2.29.x rdepend on it anyway
113 # docs disabled by upstream default since they are very out of date
114 python_foreach_impl run_in_build_dir \
115 gnome2_src_configure \
116 $(use_enable cairo) \
117 $(use_enable threads thread)
118 }
119
120 src_compile() {
121 python_foreach_impl run_in_build_dir gnome2_src_compile
122 }
123
124 src_test() {
125 unset DBUS_SESSION_BUS_ADDRESS
126 export GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
127 export GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484
128
129 testing() {
130 export XDG_CACHE_HOME="${T}/${EPYTHON}"
131 run_in_build_dir Xemake check
132 unset XDG_CACHE_HOME
133 }
134 python_foreach_impl testing
135 unset GIO_USE_VFS
136 }
137
138 src_install() {
139 DOCS="AUTHORS ChangeLog* NEWS README"
140
141 python_foreach_impl run_in_build_dir gnome2_src_install
142
143 if use examples; then
144 insinto /usr/share/doc/${PF}
145 doins -r examples
146 fi
147 }