diff -ur afflib.orig/afflib-3.6.12.ebuild afflib/afflib-3.6.12.ebuild --- afflib.orig/afflib-3.6.12.ebuild 2011-07-25 02:31:03.000000000 +0800 +++ afflib/afflib-3.6.12.ebuild 2011-11-15 20:49:33.008000023 +0800 @@ -3,8 +3,10 @@ # $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/afflib-3.6.12.ebuild,v 1.2 2011/07/24 18:23:44 armin76 Exp $ EAPI="4" +PYTHON_DEPEND="2" -inherit eutils autotools +inherit eutils autotools python +PYTHON_DEPEND="3::3.2" DESCRIPTION="Library that implements the AFF image standard" HOMEPAGE="http://www.afflib.org/" @@ -20,7 +22,6 @@ 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}" diff -ur afflib.orig/afflib-3.6.8.ebuild afflib/afflib-3.6.8.ebuild --- afflib.orig/afflib-3.6.8.ebuild 2011-10-12 01:31:03.000000000 +0800 +++ afflib/afflib-3.6.8.ebuild 2011-11-15 20:56:12.577000023 +0800 @@ -2,7 +2,10 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/afflib-3.6.8.ebuild,v 1.5 2011/10/11 17:10:05 jer Exp $ -inherit eutils +EAPI="4" +PYTHON_DEPEND="*::3.2" + +inherit eutils python DESCRIPTION="Library that implements the AFF image standard" HOMEPAGE="http://www.afflib.org/" @@ -17,14 +20,13 @@ ewf? ( app-forensics/libewf ) fuse? ( sys-fs/fuse ) ncurses? ( sys-libs/ncurses ) - python? ( dev-lang/python ) readline? ( sys-libs/readline ) s3? ( net-misc/curl dev-libs/expat ) sys-libs/zlib dev-libs/openssl" RDEPEND=${DEPEND} -src_compile() { +src_configure() { econf \ $(use_enable fuse) \ $(use_enable ewf libewf) \ @@ -32,12 +34,15 @@ $(use_enable qemu) \ $(use_enable s3) \ $(use_enable threads threading) - emake || die "build failed" +} + +compile() { + emake || die } src_install() { - emake install DESTDIR="${D}" || die "install failed" + emake install DESTDIR="${ED}" use s3 || { - rm -f "${D}/usr/bin/s3" + rm -f "${ED}/usr/bin/s3" } }