diff -ur lash.orig/lash-0.5.4-r1.ebuild lash/lash-0.5.4-r1.ebuild --- lash.orig/lash-0.5.4-r1.ebuild 2011-03-29 15:01:17.000000000 +0800 +++ lash/lash-0.5.4-r1.ebuild 2011-11-21 21:37:17.808901699 +0800 @@ -2,9 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/lash/lash-0.5.4-r1.ebuild,v 1.12 2011/03/29 06:56:34 radhermit Exp $ -EAPI=2 - -inherit eutils libtool +EAPI=4 +PYTHON_DEPEND="python? 2" +inherit eutils libtool python DESCRIPTION="LASH Audio Session Handler" HOMEPAGE="http://www.nongnu.org/lash/" @@ -14,12 +14,12 @@ SLOT="0" KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86" IUSE="alsa debug gtk python" +DOCS=( AUTHORS ChangeLog NEWS README TODO ) RDEPEND="alsa? ( media-libs/alsa-lib ) media-sound/jack-audio-connection-kit dev-libs/libxml2 gtk? ( x11-libs/gtk+:2 ) - python? ( dev-lang/python ) || ( sys-libs/readline dev-libs/libedit )" DEPEND="${RDEPEND} dev-util/pkgconfig @@ -46,6 +46,5 @@ src_install() { emake DESTDIR="${D}" install || die - - dodoc AUTHORS ChangeLog NEWS README TODO + dodoc ${DOCS[@]} }