diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-11-24 22:16:25 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-11-24 22:16:25 +0000 |
commit | b8ff3c321b794523ca12e96fd309fc4a6ecb3577 (patch) | |
tree | 0270b2518da11ea5271ddfdf0ffef06e723093a8 /app-forensics | |
parent | version bump, bug #391681 (diff) | |
download | gentoo-2-b8ff3c321b794523ca12e96fd309fc4a6ecb3577.tar.gz gentoo-2-b8ff3c321b794523ca12e96fd309fc4a6ecb3577.tar.bz2 gentoo-2-b8ff3c321b794523ca12e96fd309fc4a6ecb3577.zip |
Improve python related support (bug #311209).
(Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
Diffstat (limited to 'app-forensics')
-rw-r--r-- | app-forensics/afflib/ChangeLog | 5 | ||||
-rw-r--r-- | app-forensics/afflib/afflib-3.6.12.ebuild | 15 |
2 files changed, 15 insertions, 5 deletions
diff --git a/app-forensics/afflib/ChangeLog b/app-forensics/afflib/ChangeLog index 16ae68b45f51..ee2fdeccc410 100644 --- a/app-forensics/afflib/ChangeLog +++ b/app-forensics/afflib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-forensics/afflib # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/ChangeLog,v 1.14 2011/10/11 17:10:05 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/ChangeLog,v 1.15 2011/11/24 22:16:25 radhermit Exp $ + + 24 Nov 2011; Tim Harder <radhermit@gentoo.org> afflib-3.6.12.ebuild: + Improve python related support (bug #311209). 11 Oct 2011; Jeroen Roovers <jer@gentoo.org> afflib-3.6.8.ebuild: Stable for HPPA (bug #374321). diff --git a/app-forensics/afflib/afflib-3.6.12.ebuild b/app-forensics/afflib/afflib-3.6.12.ebuild index 55884c6caa46..fae10a27e635 100644 --- a/app-forensics/afflib/afflib-3.6.12.ebuild +++ b/app-forensics/afflib/afflib-3.6.12.ebuild @@ -1,10 +1,11 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/afflib-3.6.12.ebuild,v 1.2 2011/07/24 18:23:44 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/afflib-3.6.12.ebuild,v 1.3 2011/11/24 22:16:25 radhermit Exp $ EAPI="4" +PYTHON_DEPEND="python? 2" -inherit eutils autotools +inherit eutils autotools-utils python DESCRIPTION="Library that implements the AFF image standard" HOMEPAGE="http://www.afflib.org/" @@ -20,11 +21,17 @@ RDEPEND="dev-libs/expat sys-libs/zlib fuse? ( sys-fs/fuse ) ncurses? ( sys-libs/ncurses ) - python? ( dev-lang/python ) readline? ( sys-libs/readline ) s3? ( net-misc/curl )" DEPEND="${RDEPEND}" +pkg_setup() { + if use python ; then + python_set_active_version 2 + python_pkg_setup + fi +} + src_prepare() { epatch "${FILESDIR}"/${P}-python-module.patch @@ -50,5 +57,5 @@ src_configure() { src_install() { default - find "${ED}" -name '*.la' -exec rm -f {} + + remove_libtool_files all } |