Lines 133-140
Link Here
|
133 |
local -x PYTHON="${T}"/jython |
133 |
local -x PYTHON="${T}"/jython |
134 |
# we can't get the path from the interpreter since it does some |
134 |
# we can't get the path from the interpreter since it does some |
135 |
# magic that fails on non-installed copy... |
135 |
# magic that fails on non-installed copy... |
136 |
local PYTHON_SITEDIR=${EPREFIX}/usr/share/jython-${SLOT}/Lib/site-packages |
136 |
_python_export jython${SLOT} EPYTHON |
137 |
python_export jython${SLOT} EPYTHON |
|
|
138 |
|
137 |
|
139 |
# compile tests (everything else is compiled already) |
138 |
# compile tests (everything else is compiled already) |
140 |
# we're keeping it quiet since jython reports errors verbosely |
139 |
# we're keeping it quiet since jython reports errors verbosely |
Lines 143-148
Link Here
|
143 |
|
142 |
|
144 |
# for python-exec |
143 |
# for python-exec |
145 |
echo "EPYTHON='${EPYTHON}'" > epython.py || die |
144 |
echo "EPYTHON='${EPYTHON}'" > epython.py || die |
|
|
145 |
python_moduleinto "${EPREFIX}/usr/share/jython-${SLOT}/Lib/site-packages" |
146 |
python_domodule epython.py |
146 |
python_domodule epython.py |
147 |
|
147 |
|
148 |
# some of the class files end up with newer timestamps than the files they |
148 |
# some of the class files end up with newer timestamps than the files they |