summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-06-30 12:12:27 +0000
committerPacho Ramos <pacho@gentoo.org>2012-06-30 12:12:27 +0000
commit012757a2e81ad9015fede2c1d0d43cb61d22ca56 (patch)
tree718d0066649bfb0634093ffd6eb2cdb8d30ace8e /dev-libs
parentapp-benchmarks/bootchart2: Version bump, unrestrict for py3 (diff)
downloadgentoo-2-012757a2e81ad9015fede2c1d0d43cb61d22ca56.tar.gz
gentoo-2-012757a2e81ad9015fede2c1d0d43cb61d22ca56.tar.bz2
gentoo-2-012757a2e81ad9015fede2c1d0d43cb61d22ca56.zip
Version bump, remove old.
(Portage version: 2.1.11.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/btparser/ChangeLog9
-rw-r--r--dev-libs/btparser/btparser-0.13.ebuild29
-rw-r--r--dev-libs/btparser/btparser-0.17.ebuild54
3 files changed, 61 insertions, 31 deletions
diff --git a/dev-libs/btparser/ChangeLog b/dev-libs/btparser/ChangeLog
index 04e9e4819594..5d932cc4a1fe 100644
--- a/dev-libs/btparser/ChangeLog
+++ b/dev-libs/btparser/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/btparser
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/btparser/ChangeLog,v 1.6 2012/03/15 18:09:33 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/btparser/ChangeLog,v 1.7 2012/06/30 12:12:27 pacho Exp $
+
+*btparser-0.17 (30 Jun 2012)
+
+ 30 Jun 2012; Pacho Ramos <pacho@gentoo.org> +btparser-0.17.ebuild,
+ -btparser-0.13.ebuild:
+ Version bump, remove old.
15 Mar 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> btparser-0.16.ebuild:
x86 stable wrt bug #407011
@@ -26,4 +32,3 @@
16 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
+btparser-0.13.ebuild, +metadata.xml:
Add gdb backtrace parsing library from the gnome overlay; needed for abrt.
-
diff --git a/dev-libs/btparser/btparser-0.13.ebuild b/dev-libs/btparser/btparser-0.13.ebuild
deleted file mode 100644
index 12ac6392b73f..000000000000
--- a/dev-libs/btparser/btparser-0.13.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/btparser/btparser-0.13.ebuild,v 1.3 2012/01/14 15:55:32 maekke Exp $
-
-EAPI="4"
-
-DESCRIPTION="Parser and analyzer for backtraces produced by gdb"
-HOMEPAGE="https://fedorahosted.org/btparser/"
-SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="static-libs"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- app-arch/xz-utils"
-
-src_configure() {
- econf \
- $(use_enable static-libs static) \
- --disable-maintainer-mode
-}
-
-src_install() {
- default
- use static-libs || find "${D}" -name '*.la' -exec rm -f {} +
-}
diff --git a/dev-libs/btparser/btparser-0.17.ebuild b/dev-libs/btparser/btparser-0.17.ebuild
new file mode 100644
index 000000000000..aeebf5017705
--- /dev/null
+++ b/dev-libs/btparser/btparser-0.17.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/btparser/btparser-0.17.ebuild,v 1.1 2012/06/30 12:12:27 pacho Exp $
+
+EAPI="4"
+PYTHON_DEPEND="2:2.6"
+
+inherit python
+
+DESCRIPTION="Parser and analyzer for backtraces produced by gdb"
+HOMEPAGE="https://fedorahosted.org/btparser/"
+SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ app-arch/xz-utils"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ python_clean_py-compile_files
+}
+
+src_configure() {
+ # Configure checks for python.pc; our python-2.7 installs python-2.7.pc,
+ # while python-2.6 does not install any pkgconfig file.
+ export PYTHON_CFLAGS=$(python-config --includes)
+ export PYTHON_LIBS=$(python-config --libs)
+
+ econf \
+ $(use_enable static-libs static) \
+ --disable-maintainer-mode
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -exec rm -f {} +
+}
+
+pkg_postinst() {
+ python_mod_optimize btparser
+}
+
+pkg_postrm() {
+ python_mod_cleanup btparser
+}