Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/gdbus-codegen: ChangeLog gdbus-codegen-2.30.2.ebuild gdbus-codegen-2.30.0.ebuild
Date: Mon, 14 Nov 2011 08:11:01
Message-Id: 20111114081036.B332D2004B@flycatcher.gentoo.org
1 tetromino 11/11/14 08:10:36
2
3 Modified: ChangeLog
4 Added: gdbus-codegen-2.30.2.ebuild
5 Removed: gdbus-codegen-2.30.0.ebuild
6 Log:
7 Version bump, drop old.
8
9 (Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.3 dev-util/gdbus-codegen/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbus-codegen/ChangeLog?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbus-codegen/ChangeLog?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbus-codegen/ChangeLog?r1=1.2&r2=1.3
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-util/gdbus-codegen/ChangeLog,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- ChangeLog 16 Oct 2011 19:24:10 -0000 1.2
25 +++ ChangeLog 14 Nov 2011 08:10:36 -0000 1.3
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-util/gdbus-codegen
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gdbus-codegen/ChangeLog,v 1.2 2011/10/16 19:24:10 pacho Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/gdbus-codegen/ChangeLog,v 1.3 2011/11/14 08:10:36 tetromino Exp $
31 +
32 +*gdbus-codegen-2.30.2 (14 Nov 2011)
33 +
34 + 14 Nov 2011; Alexandre Rostovtsev <tetromino@g.o>
35 + -gdbus-codegen-2.30.0.ebuild, +gdbus-codegen-2.30.2.ebuild:
36 + Version bump, drop old.
37
38 *gdbus-codegen-2.30.1 (16 Oct 2011)
39
40
41
42
43 1.1 dev-util/gdbus-codegen/gdbus-codegen-2.30.2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbus-codegen/gdbus-codegen-2.30.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbus-codegen/gdbus-codegen-2.30.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gdbus-codegen-2.30.2.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-util/gdbus-codegen/gdbus-codegen-2.30.2.ebuild,v 1.1 2011/11/14 08:10:36 tetromino Exp $
53
54 EAPI="4"
55 GNOME_ORG_MODULE="glib"
56 PYTHON_DEPEND="2:2.5"
57 PYTHON_USE_WITH="xml"
58
59 inherit gnome.org multilib python
60
61 DESCRIPTION="GDBus code and documentation generator"
62 HOMEPAGE="http://www.gtk.org/"
63
64 LICENSE="LGPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh
67 ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
68 IUSE=""
69
70 DEPEND=""
71 RDEPEND="${DEPEND}"
72 # To prevent circular dependencies with glib[test]
73 PDEPEND=">=dev-libs/glib-${PV}:2"
74
75 S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen"
76
77 pkg_setup() {
78 python_set_active_version 2
79 python_pkg_setup
80 }
81
82 src_prepare() {
83 python_convert_shebangs 2 gdbus-codegen.in
84 sed -e "s:@libdir@:${EPREFIX}/usr/$(get_libdir):" \
85 -i gdbus-codegen.in || die "sed gdbus-codegen.in failed"
86 sed -e "s:\"/usr/local\":\"${EPREFIX}/usr\":" \
87 -i config.py || die "sed config.py failed"
88 }
89
90 src_test() {
91 elog "Skipping tests. To test ${PN}, emerge dev-libs/glib"
92 elog "with FEATURES=test"
93 }
94
95 src_install() {
96 insinto "/usr/$(get_libdir)/gdbus-2.0/codegen"
97
98 # Keep in sync with Makefile.am!
99 doins __init__.py \
100 codegen.py \
101 codegen_main.py \
102 codegen_docbook.py \
103 config.py \
104 dbustypes.py \
105 parser.py \
106 utils.py
107
108 newbin gdbus-codegen.in gdbus-codegen
109
110 doman "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1"
111 }
112
113 pkg_postinst() {
114 python_need_rebuild
115 python_mod_optimize /usr/$(get_libdir)/gdbus-2.0/codegen
116 }
117
118 pkg_postrm() {
119 python_mod_cleanup /usr/$(get_libdir)/gdbus-2.0/codegen
120 }