--- /usr/portage/dev-java/jython/jython-2.7.0-r2.ebuild 2021-01-09 17:04:20.798391252 +0100 +++ /var/lib/layman/__mine__/dev-java/jython/jython-2.7.0-r2.ebuild 2021-01-10 12:26:24.341996198 +0100 @@ -133,8 +133,7 @@ local -x PYTHON="${T}"/jython # we can't get the path from the interpreter since it does some # magic that fails on non-installed copy... - local PYTHON_SITEDIR=${EPREFIX}/usr/share/jython-${SLOT}/Lib/site-packages - python_export jython${SLOT} EPYTHON + _python_export jython${SLOT} EPYTHON # compile tests (everything else is compiled already) # we're keeping it quiet since jython reports errors verbosely @@ -143,6 +142,7 @@ # for python-exec echo "EPYTHON='${EPYTHON}'" > epython.py || die + python_moduleinto "${EPREFIX}/usr/share/jython-${SLOT}/Lib/site-packages" python_domodule epython.py # some of the class files end up with newer timestamps than the files they