diff -ur lodgeit.orig/lodgeit-0.3.ebuild lodgeit/lodgeit-0.3.ebuild --- lodgeit.orig/lodgeit-0.3.ebuild 2011-04-05 13:31:05.000000000 +0800 +++ lodgeit/lodgeit-0.3.ebuild 2011-11-29 19:33:47.853959960 +0800 @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/lodgeit/lodgeit-0.3.ebuild,v 1.3 2011/04/05 05:08:05 ulm Exp $ -EAPI="2" +EAPI="3" +PYTHON_DEPEND="2" +inherit python DESCRIPTION="Command-line interface to paste.pocoo.org" HOMEPAGE="http://paste.pocoo.org/" @@ -15,17 +17,12 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="vim" - RESTRICT="test" DEPEND="" RDEPEND="dev-lang/python vim? ( || ( app-editors/vim[python] app-editors/gvim[python] ) )" -src_unpack() { - : -} - src_install() { dobin "${DISTDIR}/${P}.py" dosym "/usr/bin/${P}.py" "/usr/bin/${PN}" @@ -34,4 +31,5 @@ insinto /usr/share/vim/vimfiles/plugin newins "${DISTDIR}/${P}.vim" "${PN}.vim" fi + python_convert_shebangs 2 "${ED}"/usr/bin/lodgeit-0.3.py }