Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "The PyPA recommended tool for installing Python packages" |
| 2 | HOMEPAGE = "https://pypi.python.org/pypi/pip" |
| 3 | SECTION = "devel/python" |
| 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=593c6cd9d639307226978cbcae61ad4b" |
| 6 | |
| 7 | DEPENDS += "python3 python3-setuptools-native" |
| 8 | |
| 9 | SRC_URI[md5sum] = "52f75ceb21e96c258f289859a2996b60" |
| 10 | SRC_URI[sha256sum] = "a0e11645ee37c90b40c46d607070c4fd583e2cd46231b1c06e389c5e814eed76" |
| 11 | |
| 12 | inherit pypi distutils3 |
| 13 | |
| 14 | do_install_append() { |
| 15 | # Install as pip3 and leave pip2 as default |
| 16 | rm ${D}/${bindir}/pip |
| 17 | } |
| 18 | |
| 19 | RDEPENDS_${PN} = "\ |
| 20 | python3-compile \ |
| 21 | python3-io \ |
| 22 | python3-html \ |
| 23 | python3-json \ |
| 24 | python3-netserver \ |
| 25 | python3-setuptools \ |
| 26 | python3-unixadmin \ |
| 27 | python3-xmlrpc \ |
| 28 | " |
| 29 | |
| 30 | BBCLASSEXTEND = "native nativesdk" |