From 0da5596aa3d2f672eb7cd9f60bc81c6e06498230 Mon Sep 17 00:00:00 2001 From: Ian Delaney Date: Fri, 19 Jul 2013 20:47:54 +0800 Subject: Add basic unpack, install phases Package-Manager: portage-2.1.11.63 --- dev-python/pypy-bin/pypy-bin-2.0.2.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dev-python/pypy-bin/pypy-bin-2.0.2.ebuild b/dev-python/pypy-bin/pypy-bin-2.0.2.ebuild index f774a67..18a56f1 100644 --- a/dev-python/pypy-bin/pypy-bin-2.0.2.ebuild +++ b/dev-python/pypy-bin/pypy-bin-2.0.2.ebuild @@ -5,7 +5,7 @@ EAPI=5 PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} ) -inherit multilib multiprocessing python-any-r1 toolchain-funcs vcs-snapshot versionator +inherit python-any-r1 versionator DESCRIPTION="Pre-built pypy binary for low memory systems" HOMEPAGE=""http://pypy.org/"" @@ -28,7 +28,13 @@ DEPEND="${RDEPEND} ${PYTHON_DEPS}" PDEPEND="app-admin/python-updater" -python_install() { +src_unpack() { + default + mkdir "${WORKDIR}"/${P} + mv "${WORKDIR}"/usr "${WORKDIR}"/${P}/ || die +} - python-any-r1_python_install +src_install() { + mv "${WORKDIR}"/${P}/usr "${D}" || die } + -- cgit v1.2.3-65-gdbad