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/btparser: btparser-0.17.ebuild ChangeLog btparser-0.13.ebuild
Date: Sat, 30 Jun 2012 12:12:52
Message-Id: 20120630121228.1BCDE2004B@flycatcher.gentoo.org
1 pacho 12/06/30 12:12:28
2
3 Modified: ChangeLog
4 Added: btparser-0.17.ebuild
5 Removed: btparser-0.13.ebuild
6 Log:
7 Version bump, remove old.
8
9 (Portage version: 2.1.11.3/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.7 dev-libs/btparser/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/btparser/ChangeLog?rev=1.7&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/btparser/ChangeLog?rev=1.7&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/btparser/ChangeLog?r1=1.6&r2=1.7
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/btparser/ChangeLog,v
21 retrieving revision 1.6
22 retrieving revision 1.7
23 diff -u -r1.6 -r1.7
24 --- ChangeLog 15 Mar 2012 18:09:33 -0000 1.6
25 +++ ChangeLog 30 Jun 2012 12:12:27 -0000 1.7
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-libs/btparser
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/btparser/ChangeLog,v 1.6 2012/03/15 18:09:33 phajdan.jr Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/btparser/ChangeLog,v 1.7 2012/06/30 12:12:27 pacho Exp $
31 +
32 +*btparser-0.17 (30 Jun 2012)
33 +
34 + 30 Jun 2012; Pacho Ramos <pacho@g.o> +btparser-0.17.ebuild,
35 + -btparser-0.13.ebuild:
36 + Version bump, remove old.
37
38 15 Mar 2012; Pawel Hajdan jr <phajdan.jr@g.o> btparser-0.16.ebuild:
39 x86 stable wrt bug #407011
40 @@ -26,4 +32,3 @@
41 16 Nov 2011; Alexandre Rostovtsev <tetromino@g.o>
42 +btparser-0.13.ebuild, +metadata.xml:
43 Add gdb backtrace parsing library from the gnome overlay; needed for abrt.
44 -
45
46
47
48 1.1 dev-libs/btparser/btparser-0.17.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/btparser/btparser-0.17.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/btparser/btparser-0.17.ebuild?rev=1.1&content-type=text/plain
52
53 Index: btparser-0.17.ebuild
54 ===================================================================
55 # Copyright 1999-2012 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-libs/btparser/btparser-0.17.ebuild,v 1.1 2012/06/30 12:12:27 pacho Exp $
58
59 EAPI="4"
60 PYTHON_DEPEND="2:2.6"
61
62 inherit python
63
64 DESCRIPTION="Parser and analyzer for backtraces produced by gdb"
65 HOMEPAGE="https://fedorahosted.org/btparser/"
66 SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.xz"
67
68 LICENSE="GPL-2"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71 IUSE="static-libs"
72
73 RDEPEND=""
74 DEPEND="${RDEPEND}
75 app-arch/xz-utils"
76
77 pkg_setup() {
78 python_set_active_version 2
79 python_pkg_setup
80 }
81
82 src_prepare() {
83 python_clean_py-compile_files
84 }
85
86 src_configure() {
87 # Configure checks for python.pc; our python-2.7 installs python-2.7.pc,
88 # while python-2.6 does not install any pkgconfig file.
89 export PYTHON_CFLAGS=$(python-config --includes)
90 export PYTHON_LIBS=$(python-config --libs)
91
92 econf \
93 $(use_enable static-libs static) \
94 --disable-maintainer-mode
95 }
96
97 src_install() {
98 default
99 find "${D}" -name '*.la' -exec rm -f {} +
100 }
101
102 pkg_postinst() {
103 python_mod_optimize btparser
104 }
105
106 pkg_postrm() {
107 python_mod_cleanup btparser
108 }