Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: dev-libs/gobject-introspection/
Date: Thu, 13 Sep 2018 07:38:16
Message-Id: 1536823839.e9ff9432ca00e419474ab1667c609d8bd0233ee9.leio@gentoo
1 commit: e9ff9432ca00e419474ab1667c609d8bd0233ee9
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 13 07:30:39 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 13 07:30:39 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=e9ff9432
7
8 dev-libs/gobject-introspection-1.54.1: remove, newer available in ::gentoo
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11
12 .../gobject-introspection-1.54.1.ebuild | 70 ----------------------
13 1 file changed, 70 deletions(-)
14
15 diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.54.1.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.54.1.ebuild
16 deleted file mode 100644
17 index 77be1e37..00000000
18 --- a/dev-libs/gobject-introspection/gobject-introspection-1.54.1.ebuild
19 +++ /dev/null
20 @@ -1,70 +0,0 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=6
25 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
26 -PYTHON_REQ_USE="xml"
27 -
28 -inherit eapi7-ver gnome2 python-single-r1 toolchain-funcs
29 -
30 -DESCRIPTION="Introspection system for GObject-based libraries"
31 -HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection"
32 -
33 -LICENSE="LGPL-2+ GPL-2+"
34 -SLOT="0"
35 -IUSE="cairo doctool test"
36 -REQUIRED_USE="
37 - ${PYTHON_REQUIRED_USE}
38 - test? ( cairo )
39 -"
40 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
41 -
42 -# virtual/pkgconfig needed at runtime, bug #505408
43 -# We force glib and g-i to be in sync by this way as explained in bug #518424
44 -RDEPEND="
45 - >=dev-libs/gobject-introspection-common-${PV}
46 - >=dev-libs/glib-2.$(ver_cut 2):2
47 - doctool? ( dev-python/mako[${PYTHON_USEDEP}] )
48 - virtual/libffi:=
49 - virtual/pkgconfig
50 - !<dev-lang/vala-0.20.0
51 - ${PYTHON_DEPS}
52 -"
53 -# Wants real bison, not virtual/yacc
54 -DEPEND="${RDEPEND}
55 - >=dev-util/gtk-doc-am-1.19
56 - sys-devel/bison
57 - sys-devel/flex
58 -"
59 -# PDEPEND to avoid circular dependencies, bug #391213
60 -PDEPEND="cairo? ( x11-libs/cairo[glib] )"
61 -
62 -pkg_setup() {
63 - python-single-r1_pkg_setup
64 -}
65 -
66 -src_configure() {
67 - if ! has_version "x11-libs/cairo[glib]"; then
68 - # Bug #391213: enable cairo-gobject support even if it's not installed
69 - # We only PDEPEND on cairo to avoid circular dependencies
70 - export CAIRO_LIBS="-lcairo -lcairo-gobject"
71 - export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
72 - fi
73 -
74 - # To prevent crosscompiling problems, bug #414105
75 - gnome2_src_configure \
76 - --disable-static \
77 - CC="$(tc-getCC)" \
78 - YACC="$(type -p yacc)" \
79 - $(use_with cairo) \
80 - $(use_enable doctool)
81 -}
82 -
83 -src_install() {
84 - gnome2_src_install
85 -
86 - # Prevent collision with gobject-introspection-common
87 - rm -v "${ED}"usr/share/aclocal/introspection.m4 \
88 - "${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
89 - rmdir "${ED}"usr/share/aclocal || die
90 -}