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-libs/libpeas: libpeas-1.8.0.ebuild ChangeLog
Date: Thu, 28 Mar 2013 16:33:37
Message-Id: 20130328163333.CAE6E2171C@flycatcher.gentoo.org
1 pacho 13/03/28 16:33:33
2
3 Modified: ChangeLog
4 Added: libpeas-1.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.17 dev-libs/libpeas/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpeas/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpeas/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpeas/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpeas/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 5 Mar 2013 23:17:05 -0000 1.16
24 +++ ChangeLog 28 Mar 2013 16:33:33 -0000 1.17
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/libpeas
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/ChangeLog,v 1.16 2013/03/05 23:17:05 eva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/ChangeLog,v 1.17 2013/03/28 16:33:33 pacho Exp $
30 +
31 +*libpeas-1.8.0 (28 Mar 2013)
32 +
33 + 28 Mar 2013; Pacho Ramos <pacho@g.o> +libpeas-1.8.0.ebuild:
34 + Version bump for Gnome 3.8
35
36 05 Mar 2013; Gilles Dartiguelongue <eva@g.o> -libpeas-1.6.2.ebuild:
37 Clean up old revision.
38
39
40
41 1.1 dev-libs/libpeas/libpeas-1.8.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpeas/libpeas-1.8.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpeas/libpeas-1.8.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libpeas-1.8.0.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/libpeas-1.8.0.ebuild,v 1.1 2013/03/28 16:33:33 pacho Exp $
51
52 EAPI="5"
53 GCONF_DEBUG="no"
54 GNOME2_LA_PUNT="yes"
55 PYTHON_COMPAT=( python{2_6,2_7,3_2} )
56
57 inherit eutils gnome2 multilib python-r1 virtualx
58
59 DESCRIPTION="A GObject plugins library"
60 HOMEPAGE="http://developer.gnome.org/libpeas/stable/"
61
62 LICENSE="LGPL-2+"
63 SLOT="0"
64 IUSE="gjs +gtk glade +python seed"
65 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
66
67 RDEPEND=">=dev-libs/glib-2.32:2
68 >=dev-libs/gobject-introspection-0.10.1
69 gjs? ( >=dev-libs/gjs-1.31.11 )
70 glade? ( >=dev-util/glade-3.9.1:3.10 )
71 gtk? ( >=x11-libs/gtk+-3:3[introspection] )
72 python? (
73 ${PYTHON_DEPS}
74 >=dev-python/pygobject-3.0.0:3[${PYTHON_USEDEP}] )
75 seed? ( >=dev-libs/seed-2.91.91 )"
76 DEPEND="${RDEPEND}
77 >=dev-util/intltool-0.40
78 >=sys-devel/gettext-0.17"
79
80 if_use_python_python_foreach_impl() {
81 if use python; then
82 python_foreach_impl run_in_build_dir "$@"
83 else
84 "$@"
85 fi
86 }
87
88 src_prepare() {
89 use python && python_copy_sources
90 if_use_python_python_foreach_impl gnome2_src_prepare
91 }
92
93 src_configure() {
94 G2CONF="${G2CONF}
95 $(use_enable gjs)
96 $(use_enable glade glade-catalog)
97 $(use_enable gtk)
98 $(use_enable seed)
99 --disable-deprecation
100 --disable-static"
101 # Wtf, --disable-gcov, --enable-gcov=no, --enable-gcov, all enable gcov
102 # What do we do about gdb, valgrind, gcov, etc?
103
104 configuration() {
105 local G2CONF="${G2CONF}"
106 [[ ${EPYTHON} == python2* ]] && G2CONF+=" --enable-python2 --disable-python3 PYTHON2_CONFIG=/usr/bin/python-config-${EPYTHON#python}"
107 [[ ${EPYTHON} == python3* ]] && G2CONF+=" --enable-python3 --disable-python2 PYTHON3_CONFIG=/usr/bin/python-config-${EPYTHON#python}"
108 gnome2_src_configure
109 }
110
111 if use python; then
112 python_foreach_impl run_in_build_dir configuration
113 else
114 gnome2_src_configure
115 fi
116 }
117
118 src_compile() {
119 if_use_python_python_foreach_impl gnome2_src_compile
120 }
121
122 src_install() {
123 if_use_python_python_foreach_impl gnome2_src_install
124 }
125
126 src_test() {
127 # FIXME: Tests fail because of some bug involving Xvfb and Gtk.IconTheme
128 # DO NOT REPORT UPSTREAM, this is not a libpeas bug.
129 # To reproduce:
130 # >>> from gi.repository import Gtk
131 # >>> Gtk.IconTheme.get_default().has_icon("gtk-about")
132 # This should return True, it returns False for Xvfb
133 if_use_python_python_foreach_impl Xemake check
134 }