diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-28 12:31:41 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-28 12:31:41 +0000 |
| commit | da10219c432e1c445b1e6d029cff58cb55c6716c (patch) | |
| tree | 0efc67de3b8a833f8519e8e7e820f95a8750ea07 /dev-python | |
| parent | d35338229166094b0cac9d560b44334a82e7ebb7 (diff) | |
| download | baldeagleos-repo-da10219c432e1c445b1e6d029cff58cb55c6716c.tar.gz baldeagleos-repo-da10219c432e1c445b1e6d029cff58cb55c6716c.tar.xz baldeagleos-repo-da10219c432e1c445b1e6d029cff58cb55c6716c.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/pypy-exe/pypy-exe-7.3.2.ebuild | 15 | ||||
| -rw-r--r-- | dev-python/pypy3-exe/pypy3-exe-7.3.2.ebuild | 15 | ||||
| -rw-r--r-- | dev-python/pypy3-exe/pypy3-exe-7.3.2_p37.ebuild | 15 |
3 files changed, 30 insertions, 15 deletions
diff --git a/dev-python/pypy-exe/pypy-exe-7.3.2.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.2.ebuild index 730593111889..961ae14ae10f 100644 --- a/dev-python/pypy-exe/pypy-exe-7.3.2.ebuild +++ b/dev-python/pypy-exe/pypy-exe-7.3.2.ebuild @@ -31,10 +31,7 @@ BDEPEND=" !low-memory? ( || ( dev-python/pypy - ( - dev-lang/python:2.7 - dev-python/pycparser[python_targets_python2_7(-),python_single_target_python2_7(+)] - ) + dev-lang/python:2.7 ) )" @@ -140,8 +137,16 @@ src_configure() { "${EPYTHON}" --jit loop_longevity=300 ) fi + if [[ ${EPYTHON} != pypy ]]; then + # reuse bundled pycparser to avoid external dep + mkdir -p "${T}"/pymod/cffi || die + : > "${T}"/pymod/cffi/__init__.py || die + cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/cffi/ || die + local -x PYTHONPATH=${T}/pymod:${PYTHONPATH} + fi + # translate into the C sources - # we're going to make them ourselves since otherwise pypy does not + # we're going to build them ourselves since otherwise pypy does not # free up the unneeded memory before spawning the compiler set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" echo -e "\033[1m${@}\033[0m" diff --git a/dev-python/pypy3-exe/pypy3-exe-7.3.2.ebuild b/dev-python/pypy3-exe/pypy3-exe-7.3.2.ebuild index b8f0cf85d05b..0e94bc1eae89 100644 --- a/dev-python/pypy3-exe/pypy3-exe-7.3.2.ebuild +++ b/dev-python/pypy3-exe/pypy3-exe-7.3.2.ebuild @@ -31,10 +31,7 @@ BDEPEND=" !low-memory? ( || ( dev-python/pypy - ( - dev-lang/python:2.7 - dev-python/pycparser[python_targets_python2_7(-),python_single_target_python2_7(+)] - ) + dev-lang/python:2.7 ) )" @@ -129,8 +126,16 @@ src_configure() { "${EPYTHON}" --jit loop_longevity=300 ) fi + if [[ ${EPYTHON} != pypy ]]; then + # reuse bundled pycparser to avoid external dep + mkdir -p "${T}"/pymod/cffi || die + : > "${T}"/pymod/cffi/__init__.py || die + cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/cffi/ || die + local -x PYTHONPATH=${T}/pymod:${PYTHONPATH} + fi + # translate into the C sources - # we're going to make them ourselves since otherwise pypy does not + # we're going to build them ourselves since otherwise pypy does not # free up the unneeded memory before spawning the compiler set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" echo -e "\033[1m${@}\033[0m" diff --git a/dev-python/pypy3-exe/pypy3-exe-7.3.2_p37.ebuild b/dev-python/pypy3-exe/pypy3-exe-7.3.2_p37.ebuild index ab30f5451bf1..652138b7c823 100644 --- a/dev-python/pypy3-exe/pypy3-exe-7.3.2_p37.ebuild +++ b/dev-python/pypy3-exe/pypy3-exe-7.3.2_p37.ebuild @@ -32,10 +32,7 @@ BDEPEND=" !low-memory? ( || ( dev-python/pypy - ( - dev-lang/python:2.7 - dev-python/pycparser[python_targets_python2_7(-),python_single_target_python2_7(+)] - ) + dev-lang/python:2.7 ) )" @@ -130,8 +127,16 @@ src_configure() { "${EPYTHON}" --jit loop_longevity=300 ) fi + if [[ ${EPYTHON} != pypy ]]; then + # reuse bundled pycparser to avoid external dep + mkdir -p "${T}"/pymod/cffi || die + : > "${T}"/pymod/cffi/__init__.py || die + cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/cffi/ || die + local -x PYTHONPATH=${T}/pymod:${PYTHONPATH} + fi + # translate into the C sources - # we're going to make them ourselves since otherwise pypy does not + # we're going to build them ourselves since otherwise pypy does not # free up the unneeded memory before spawning the compiler set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" echo -e "\033[1m${@}\033[0m" |
