commit: 26c81aa26ce757615bd3273a8e48c6d825a08d24
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 25 20:08:55 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 25 20:31:13 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26c81aa2
dev-python/pypy3: Fix install after eclass changes
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pypy3/pypy3-7.3.0.ebuild | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/dev-python/pypy3/pypy3-7.3.0.ebuild
b/dev-python/pypy3/pypy3-7.3.0.ebuild
index 9ec506dc186..1c5dfb21018 100644
--- a/dev-python/pypy3/pypy3-7.3.0.ebuild
+++ b/dev-python/pypy3/pypy3-7.3.0.ebuild
@@ -207,17 +207,13 @@ src_install() {
"${ED}${dest}"/lib-python/*3/test/test_{tcl,tk,ttk*}.py
|| die
fi
+ local -x EPYTHON=pypy3
local -x PYTHON=${ED}${dest}/pypy3-c
- # we can't use eclass function since PyPy is dumb and always gives
- # paths relative to the interpreter
- local PYTHON_SITEDIR=${EPREFIX}/usr/lib/pypy3.6/site-packages
- python_export pypy3 EPYTHON
echo "EPYTHON='${EPYTHON}'" > epython.py || die
+ python_moduleinto /usr/lib/pypy3.6/site-packages
python_domodule epython.py
einfo "Byte-compiling Python standard library..."
-
- # compile the installed modules
python_optimize "${ED}${dest}"
}