Only in revelation: new diff -ur revelation.orig/revelation-0.4.11-r2.ebuild revelation/revelation-0.4.11-r2.ebuild --- revelation.orig/revelation-0.4.11-r2.ebuild 2011-06-26 21:31:27.000000000 +0800 +++ revelation/revelation-0.4.11-r2.ebuild 2011-11-30 03:37:51.937951623 +0800 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/revelation/revelation-0.4.11-r2.ebuild,v 1.8 2011/06/26 13:07:04 nyhm Exp $ +EAPI=4 +PYTHON_DEPEND="2:2.7" inherit autotools eutils multilib python gnome2 DESCRIPTION="A password manager for GNOME" @@ -24,8 +26,7 @@ applet? ( dev-python/gnome-applets-python )" RDEPEND="${DEPEND}" -src_unpack() { - gnome2_src_unpack +src_prepare() { ln -sf $(type -P true) py-compile epatch \ "${FILESDIR}"/${P}-list-index.patch \ @@ -33,8 +34,8 @@ eautoreconf } -src_compile() { - gnome2_src_compile \ +src_configure() { + gnome2_src_configure \ --disable-dependency-tracking \ --disable-desktop-update \ --disable-mime-update \ @@ -42,17 +43,18 @@ } src_install() { - DOCS="AUTHORS ChangeLog NEWS README TODO" \ + DOCS="AUTHORS ChangeLog NEWS README TODO" gnome2_src_install python_clean_installation_image + python_convert_shebangs 2.7 "${ED}"/usr/bin/revelation } pkg_postinst() { gnome2_pkg_postinst - python_mod_optimize $(python_get_sitedir)/${PN} + python_mod_optimize ${PN} } pkg_postrm() { gnome2_pkg_postrm - python_mod_cleanup $(python_get_sitedir)/${PN} + python_mod_cleanup ${PN} }