mirror of
https://git.yoctoproject.org/poky
synced 2026-04-07 23:02:22 +02:00
python3: Upgrade from 3.4.3 to 3.5
python3-native_3.4.3.bb -> python3-native_3.5.0.bb: - changed version - changed cheksum - no license change, just dates python3_3.4.3.bb -> python3_3.5.0.bb: - changed version - changed cheksum - no license change, just dates New: - use_packed_importlib.patch: Fixes importlib on cross-compile environments Rebased: - Manifest - 000-cross-compile.patch - 020-dont-compile-python-files.patch - 04-default-is-optimized.patch - python-3.3-multilib.patch - distutils3-base.bbclass - distutils3-native-base.bbclass - python3native.bbclass Upstream: - makerace.patch Misc: - pip2 is handled as default on major distros, modified python3-pip to leave /usr/bin/pip available for pip2 - Fixed importing pip3 from python3 interpreter (From OE-Core rev: 701ec1977ced1bb08461e6de98b4f63d21cba8a6) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ed8d1bef24
commit
2268a702f1
@@ -26,7 +26,13 @@ do_install_prepend() {
|
||||
# Use setuptools site.py instead, avoid shared state issue
|
||||
do_install_append() {
|
||||
rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/site.py
|
||||
rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/__pycache__/site.cpython-34.pyc
|
||||
rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/__pycache__/site.cpython-*.pyc
|
||||
|
||||
# Install as pip3 and leave pip2 as default
|
||||
rm ${D}/${bindir}/pip
|
||||
|
||||
# Installed eggs need to be passed directly to the interpreter via a pth file
|
||||
echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}-${PV}.pth
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
|
||||
Reference in New Issue
Block a user