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