mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
Since unify var-DISTUTILS_INSTALL_ARGS in distutils and setuptools, - The local DISTUTILS_INSTALL_ARGS assignment is obsolete; - The site.py is not be generated any more; - The layout is in a standard pip dir (such as /usr/lib/python3.5/site- packages/pip rather than /lib/python3.5/site-packages/pip-10.0.1- py3.5.egg/pip), the pth file is not required; `#!/usr/bin/env python3' is already used, do not manually sed. [YOCTO #8446] (From OE-Core rev: 5797631dc7a68e10c848ef06dd9eed011bc06e34) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
761 B
BlitzBasic
31 lines
761 B
BlitzBasic
SUMMARY = "The PyPA recommended tool for installing Python packages"
|
|
HOMEPAGE = "https://pypi.python.org/pypi/pip"
|
|
SECTION = "devel/python"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3f8d33acaac5c5dac8c613904bd56a6f"
|
|
|
|
DEPENDS += "python3 python3-setuptools-native"
|
|
|
|
SRC_URI[md5sum] = "83a177756e2c801d0b3a6f7b0d4f3f7e"
|
|
SRC_URI[sha256sum] = "f2bd08e0cd1b06e10218feaf6fef299f473ba706582eb3bd9d52203fdbd7ee68"
|
|
|
|
inherit pypi distutils3
|
|
|
|
do_install_append() {
|
|
# Install as pip3 and leave pip2 as default
|
|
rm ${D}/${bindir}/pip
|
|
}
|
|
|
|
RDEPENDS_${PN} = "\
|
|
python3-compile \
|
|
python3-io \
|
|
python3-html \
|
|
python3-json \
|
|
python3-netserver \
|
|
python3-setuptools \
|
|
python3-unixadmin \
|
|
python3-xmlrpc \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|