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.8.0.ebuild ChangeLog
Date: Thu, 28 Mar 2013 16:57:47
Message-Id: 20130328165728.943472171E@flycatcher.gentoo.org
1 pacho 13/03/28 16:57:28
2
3 Modified: ChangeLog
4 Added: pygobject-3.8.0.ebuild
5 Log:
6 Version bump for Gnome 3.8
7
8 (Portage version: 2.1.11.58/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.204 dev-python/pygobject/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.204&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.204&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?r1=1.203&r2=1.204
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v
20 retrieving revision 1.203
21 retrieving revision 1.204
22 diff -u -r1.203 -r1.204
23 --- ChangeLog 28 Mar 2013 15:53:02 -0000 1.203
24 +++ ChangeLog 28 Mar 2013 16:57:28 -0000 1.204
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/pygobject
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.203 2013/03/28 15:53:02 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.204 2013/03/28 16:57:28 pacho Exp $
30 +
31 +*pygobject-3.8.0 (28 Mar 2013)
32 +
33 + 28 Mar 2013; Pacho Ramos <pacho@g.o>
34 + +files/pygobject-3.7.90-make_check.patch, +pygobject-3.8.0.ebuild:
35 + Version bump for Gnome 3.8
36
37 28 Mar 2013; Agostino Sarubbo <ago@g.o> pygobject-2.28.6-r53.ebuild,
38 pygobject-3.2.2-r1.ebuild:
39
40
41
42 1.1 dev-python/pygobject/pygobject-3.8.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.8.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.8.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pygobject-3.8.0.ebuild
48 ===================================================================
49 # Copyright 1999-2013 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.8.0.ebuild,v 1.1 2013/03/28 16:57:28 pacho Exp $
52
53 EAPI="5"
54 GCONF_DEBUG="no"
55 GNOME2_LA_PUNT="yes"
56 PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
57
58 inherit autotools eutils gnome2 python-r1 virtualx
59
60 DESCRIPTION="GLib's GObject library bindings for Python"
61 HOMEPAGE="http://www.pygtk.org/"
62
63 LICENSE="LGPL-2.1+"
64 SLOT="3"
65 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"
66 IUSE="+cairo examples test +threads"
67
68 REQUIRED_USE="test? ( cairo )"
69
70 COMMON_DEPEND=">=dev-libs/glib-2.31.0:2
71 >=dev-libs/gobject-introspection-1.34.1.1
72 virtual/libffi:=
73 cairo? ( >=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}] )
74 ${PYTHON_DEPS}
75 "
76 DEPEND="${COMMON_DEPEND}
77 x11-libs/cairo[glib]
78 virtual/pkgconfig
79 test? (
80 dev-libs/atk[introspection]
81 media-fonts/font-cursor-misc
82 media-fonts/font-misc-misc
83 virtual/python-unittest2[${PYTHON_USEDEP}]
84 x11-libs/gdk-pixbuf:2[introspection]
85 x11-libs/gtk+:3[introspection]
86 x11-libs/pango[introspection] )
87 "
88
89 # We now disable introspection support in slot 2 per upstream recommendation
90 # (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
91 # older versions of slot 2 installed their own site-packages/gi, and
92 # slot 3 will collide with them.
93 RDEPEND="${COMMON_DEPEND}
94 !<dev-python/pygtk-2.13
95 !<dev-python/pygobject-2.28.6-r50:2[introspection]"
96
97 src_prepare() {
98 DOCS="AUTHORS ChangeLog* NEWS README"
99 # Hard-enable libffi support since both gobject-introspection and
100 # glib-2.29.x rdepend on it anyway
101 # docs disabled by upstream default since they are very out of date
102 G2CONF="${G2CONF}
103 --disable-dependency-tracking
104 --with-ffi
105 $(use_enable cairo)
106 $(use_enable threads thread)"
107
108 # Do not build tests if unneeded, bug #226345
109 epatch "${FILESDIR}/${PN}-3.7.90-make_check.patch"
110
111 # Run tests with older python too
112 # epatch "${FILESDIR}/${PN}-3.7.90-run-tests-with-old-python.patch"
113
114 eautoreconf
115 gnome2_src_prepare
116
117 python_copy_sources
118 }
119
120 src_configure() {
121 python_foreach_impl run_in_build_dir gnome2_src_configure
122 }
123
124 src_compile() {
125 python_foreach_impl run_in_build_dir gnome2_src_compile
126 }
127
128 # FIXME: With python multiple ABI support, tests return 1 even when they pass
129 src_test() {
130 unset DBUS_SESSION_BUS_ADDRESS
131 export GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
132
133 testing() {
134 export XDG_CACHE_HOME="${T}/${EPYTHON}"
135 run_in_build_dir Xemake check
136 unset XDG_CACHE_HOME
137 }
138 python_foreach_impl testing
139 unset GIO_USE_VFS
140 }
141
142 src_install() {
143 python_foreach_impl run_in_build_dir gnome2_src_install
144
145 if use examples; then
146 insinto /usr/share/doc/${PF}
147 doins -r examples
148 fi
149 }
150
151 run_in_build_dir() {
152 pushd "${BUILD_DIR}" > /dev/null || die
153 "$@"
154 popd > /dev/null
155 }