diff options
| author | Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | 2015-11-10 23:34:48 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:32:06 +0000 |
| commit | 2268a702f1d5528a8a1f5af19b099d25b486dec3 (patch) | |
| tree | 333b2f93236469c62a5ae0e5f8fb6ab8fc13ea59 /meta/recipes-devtools/python/python3-pip_6.1.1.bb | |
| parent | ed8d1bef240a835ea01ff5f722048084722448db (diff) | |
| download | poky-2268a702f1d5528a8a1f5af19b099d25b486dec3.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-devtools/python/python3-pip_6.1.1.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-pip_6.1.1.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-pip_6.1.1.bb b/meta/recipes-devtools/python/python3-pip_6.1.1.bb index 7bfc30e2ae..7014bc0187 100644 --- a/meta/recipes-devtools/python/python3-pip_6.1.1.bb +++ b/meta/recipes-devtools/python/python3-pip_6.1.1.bb | |||
| @@ -26,7 +26,13 @@ do_install_prepend() { | |||
| 26 | # Use setuptools site.py instead, avoid shared state issue | 26 | # Use setuptools site.py instead, avoid shared state issue |
| 27 | do_install_append() { | 27 | do_install_append() { |
| 28 | rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/site.py | 28 | rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/site.py |
| 29 | rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/__pycache__/site.cpython-34.pyc | 29 | rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/__pycache__/site.cpython-*.pyc |
| 30 | |||
| 31 | # Install as pip3 and leave pip2 as default | ||
| 32 | rm ${D}/${bindir}/pip | ||
| 33 | |||
| 34 | # Installed eggs need to be passed directly to the interpreter via a pth file | ||
| 35 | echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}-${PV}.pth | ||
| 30 | } | 36 | } |
| 31 | 37 | ||
| 32 | RDEPENDS_${PN} = "\ | 38 | RDEPENDS_${PN} = "\ |
