Gentoo Archives: gentoo-commits

From: "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/gobject-introspection: metadata.xml ChangeLog gobject-introspection-0.6.7.ebuild
Date: Fri, 26 Feb 2010 23:41:40
Message-Id: E1Nl9oQ-00078R-0D@stork.gentoo.org
1 nirbheek 10/02/26 23:41:38
2
3 Added: metadata.xml ChangeLog
4 gobject-introspection-0.6.7.ebuild
5 Log:
6 Add initial ebuild for gobject-introspection, infrastructure for generation of gobject library bindings
7 (Portage version: 2.1.7.17/cvs/Linux i686)
8
9 Revision Changes Path
10 1.1 dev-libs/gobject-introspection/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gobject-introspection/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gobject-introspection/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>gnome</herd>
21 </pkgmetadata>
22
23
24
25 1.1 dev-libs/gobject-introspection/ChangeLog
26
27 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.1&view=markup
28 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.1&content-type=text/plain
29
30 Index: ChangeLog
31 ===================================================================
32 # ChangeLog for dev-libs/gobject-introspection
33 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
34 # $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.1 2010/02/26 23:41:36 nirbheek Exp $
35
36 *gobject-introspection-0.6.7 (26 Feb 2010)
37
38 26 Feb 2010; Nirbheek Chauhan <nirbheek@g.o>
39 +gobject-introspection-0.6.7.ebuild, +metadata.xml:
40 Add initial ebuild for gobject-introspection, infrastructure for
41 generation of gobject library bindings
42
43
44
45
46 1.1 dev-libs/gobject-introspection/gobject-introspection-0.6.7.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-0.6.7.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-0.6.7.ebuild?rev=1.1&content-type=text/plain
50
51 Index: gobject-introspection-0.6.7.ebuild
52 ===================================================================
53 # Copyright 1999-2010 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-0.6.7.ebuild,v 1.1 2010/02/26 23:41:36 nirbheek Exp $
56
57 EAPI="2"
58
59 inherit python gnome2
60
61 DESCRIPTION="Introspection infrastructure for gobject library bindings"
62 HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
63
64 LICENSE="LGPL-2 GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="doc"
68
69 RDEPEND=">=dev-libs/glib-2.19.0
70 >=dev-lang/python-2.5
71 virtual/libffi"
72 DEPEND="${RDEPEND}
73 doc? ( >=dev-util/gtk-doc-1.12 )
74 dev-util/pkgconfig
75 sys-devel/flex"
76
77 src_prepare() {
78 G2CONF="${G2CONF} --disable-static"
79
80 # FIXME: Parallel compilation failure with USE=doc
81 use doc && MAKEOPTS="-j1"
82
83 # Don't pre-compile .py
84 ln -sf $(type -P true) py-compile
85 }
86
87 pkg_postinst() {
88 python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner/*
89 python_need_rebuild
90 }
91
92 pkg_postrm() {
93 python_mod_cleanup /usr/lib*/${PN}/giscanner/*
94 }