poky/meta/recipes-devtools/python/python3
Jaewon Lee 4a42d6907a Adding back wrapper and using OEPYTHON3HOME variable for python3
Adding back the python wrapper and adding a patch to use OEPYTHON3HOME
instead of PYTHONHOME if set, for python3.

If we add back the wrapper as is, we would see the following error that
we also see in Thud:

ImportError: No module named site
OpenEmbedded requires 'python' to be python v2 (>= 2.7.3), not python
v3.
Please upgrade your python v2

This is because python3 would've set PYTHONHOME to use nativesdk
python3 libraries but when the oe-buildenv-internal script tries to call
python2 for the py_v27_check, there will be no python2 libraries in the
PYTHONHOME directory.
In other words, bitbake needs host python2 and the env variable set from
the wrapper contaminates the env and host python2 won't be able to find
its libraries

Creating another variable OEPYTHON3HOME and using this in the python3
wrapper to allow for a way to set a different paths for python3 and
python2

[YOCTO #13208]

(From OE-Core rev: 75d2a85e24ef9a2bf0e218521944523f0ff281e0)

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:30 +01:00
..
0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch python: update to 3.7.3 2019-04-16 11:10:02 +01:00
0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch python3: upgrade to 3.7.2 2019-02-08 10:57:19 +00:00
0001-Do-not-hardcode-lib-as-location-for-site-packages-an.patch python3: upgrade to 3.7.2 2019-02-08 10:57:19 +00:00
0001-Do-not-use-the-shell-version-of-python-config-that-w.patch python3: upgrade to 3.7.2 2019-02-08 10:57:19 +00:00
0001-Lib-sysconfig.py-fix-another-place-where-lib-is-hard.patch python3: add another multilib fix 2019-04-23 23:30:20 +01:00
0001-main.c-if-OEPYTHON3HOME-is-set-use-instead-of-PYTHON.patch Adding back wrapper and using OEPYTHON3HOME variable for python3 2019-04-29 14:16:30 +01:00
0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch python3: upgrade to 3.7.2 2019-02-08 10:57:19 +00:00
0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch python3: upgrade to 3.7.2 2019-02-08 10:57:19 +00:00
0002-Don-t-do-runtime-test-to-get-float-byte-order.patch python3: upgrade to 3.7.2 2019-02-08 10:57:19 +00:00
0003-setup.py-pass-missing-libraries-to-Extension-for-mul.patch python3: upgrade to 3.7.2 2019-02-08 10:57:19 +00:00
12-distutils-prefix-is-inside-staging-area.patch python: update to 3.7.3 2019-04-16 11:10:02 +01:00
avoid_warning_about_tkinter.patch python3: upgrade to 3.7.2 2019-02-08 10:57:19 +00:00
cgi_py.patch python3: upgrade to 3.7.2 2019-02-08 10:57:19 +00:00
check_build_completeness.py python3: upgrade to 3.7.2 2019-02-08 10:57:19 +00:00
create_manifest3.py create_manifest3: Dont match filenames which contain the directory name for new manifest 2018-12-09 11:08:11 +00:00
get_module_deps3.py python3: Restructure python3 packaging and replace it with autopackaging 2018-01-20 22:31:56 +00:00
ptesthack.patch python3: Avoid hanging tests 2019-04-11 21:12:48 +01:00
python-config.patch
python3-manifest.json python3: tweaks to achieve 100% pass rate in ptest 2019-02-08 10:57:19 +00:00
run-ptest python3: Fix ptest output parsing 2019-04-11 21:12:48 +01:00