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