mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
Adjust patch as file is removed from source tree. (From OE-Core rev: e6fc7d2825d6c26f5dc65e38f3313cd9b3556238) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
809 B
BlitzBasic
34 lines
809 B
BlitzBasic
SUMMARY = "The PyPA recommended tool for installing Python packages"
|
|
HOMEPAGE = "https://pypi.org/project/pip"
|
|
SECTION = "devel/python"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c4fa2b50f55649f43060fa04b0919b9b"
|
|
|
|
DEPENDS += "python3 python3-setuptools-native"
|
|
|
|
inherit pypi distutils3
|
|
|
|
SRC_URI += "file://0001-change-shebang-to-python3.patch"
|
|
|
|
SRC_URI[sha256sum] = "741a61baab1dbce2d8ca415effa48a2b6a964564f81a9f4f1fce4c433346c034"
|
|
|
|
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-multiprocessing \
|
|
python3-netserver \
|
|
python3-setuptools \
|
|
python3-unixadmin \
|
|
python3-xmlrpc \
|
|
python3-pickle \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|