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