Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpeas/
Date: Sat, 09 Dec 2017 19:40:42
Message-Id: 1512848294.e6ef0aaba68cf92c137b4b1e542e73108446f351.pacho@gentoo
1 commit: e6ef0aaba68cf92c137b4b1e542e73108446f351
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 9 19:24:19 2017 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 9 19:38:14 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ef0aab
7
8 dev-libs/libpeas: Drop old
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 dev-libs/libpeas/libpeas-1.20.0.ebuild | 97 ----------------------------------
13 1 file changed, 97 deletions(-)
14
15 diff --git a/dev-libs/libpeas/libpeas-1.20.0.ebuild b/dev-libs/libpeas/libpeas-1.20.0.ebuild
16 deleted file mode 100644
17 index 0418a2e4b1b..00000000000
18 --- a/dev-libs/libpeas/libpeas-1.20.0.ebuild
19 +++ /dev/null
20 @@ -1,97 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=6
25 -GNOME2_LA_PUNT="yes"
26 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
27 -
28 -inherit autotools eutils gnome2 multilib python-r1 virtualx
29 -
30 -DESCRIPTION="A GObject plugins library"
31 -HOMEPAGE="https://developer.gnome.org/libpeas/stable/"
32 -
33 -LICENSE="LGPL-2+"
34 -SLOT="0"
35 -KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
36 -
37 -IUSE="+gtk glade jit lua +python"
38 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ?? ( $(python_gen_useflags 'python3*') ) )"
39 -
40 -RDEPEND="
41 - >=dev-libs/glib-2.38:2
42 - >=dev-libs/gobject-introspection-1.39:=
43 - glade? ( >=dev-util/glade-3.9.1:3.10 )
44 - gtk? ( >=x11-libs/gtk+-3:3[introspection] )
45 - lua? (
46 - >=dev-lua/lgi-0.9.0
47 - jit? ( >=dev-lang/luajit-2:2 )
48 - !jit? ( =dev-lang/lua-5.1*:0 ) )
49 - python? (
50 - ${PYTHON_DEPS}
51 - >=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}] )
52 -"
53 -DEPEND="${RDEPEND}
54 - >=dev-util/gtk-doc-am-1.11
55 - >=dev-util/intltool-0.40
56 - virtual/pkgconfig
57 -
58 - dev-libs/gobject-introspection-common
59 - gnome-base/gnome-common
60 -"
61 -# eautoreconf needs gobject-introspection-common, gnome-common
62 -
63 -src_prepare() {
64 - # Gentoo uses unversioned lua - lua.pc instad of lua5.1.pc, /usr/bin/lua instead of /usr/bin/lua5.1
65 - eapply "${FILESDIR}"/${PN}-1.14.0-lua.pc.patch
66 - eautoreconf
67 - gnome2_src_prepare
68 -}
69 -
70 -src_configure() {
71 - # Wtf, --disable-gcov, --enable-gcov=no, --enable-gcov, all enable gcov
72 - # What do we do about gdb, valgrind, gcov, etc?
73 - local myconf=(
74 - $(use_enable glade glade-catalog)
75 - $(use_enable gtk)
76 - --disable-static
77 -
78 - # possibly overriden below
79 - --disable-python{2,3}
80 - --disable-lua5.1
81 - --disable-luajit
82 - )
83 -
84 - if use lua ; then
85 - if use jit ; then
86 - myconf+=( --enable-lua5.1 --enable-luajit )
87 - else
88 - myconf+=( --enable-lua5.1 )
89 - fi
90 - fi
91 -
92 - python_configure() {
93 - local v
94 - python_is_python3 && v=3 || v=2
95 - myconf+=(
96 - "--enable-python${v}"
97 - # it is just 'PYTHON' for py3 in the build system
98 - "PYTHON${v#3}=${PYTHON}"
99 - "PYTHON${v}_CONFIG=$(python_get_PYTHON_CONFIG)"
100 - )
101 - }
102 - use python && python_foreach_impl python_configure
103 -
104 - gnome2_src_configure "${myconf[@]}"
105 -}
106 -
107 -src_test() {
108 - # This looks fixed since 1.18.0:
109 - #
110 - # FIXME: Tests fail because of some bug involving Xvfb and Gtk.IconTheme
111 - # DO NOT REPORT UPSTREAM, this is not a libpeas bug.
112 - # To reproduce:
113 - # >>> from gi.repository import Gtk
114 - # >>> Gtk.IconTheme.get_default().has_icon("gtk-about")
115 - # This should return True, it returns False for Xvfb
116 - virtx emake check
117 -}