xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3-pip_22.0.3.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "The PyPA recommended tool for installing Python packages"
2*4882a593SmuzhiyunHOMEPAGE = "https://pypi.org/project/pip"
3*4882a593SmuzhiyunSECTION = "devel/python"
4*4882a593SmuzhiyunLICENSE = "MIT & Apache-2.0 & MPL-2.0 & LGPL-2.1-only & BSD-3-Clause & PSF-2.0 & BSD-2-Clause"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "\
6*4882a593Smuzhiyun  file://LICENSE.txt;md5=63ec52baf95163b597008bb46db68030 \
7*4882a593Smuzhiyun  file://src/pip/_vendor/cachecontrol/LICENSE.txt;md5=6572692148079ebbbd800be4b9f36c6d \
8*4882a593Smuzhiyun  file://src/pip/_vendor/certifi/LICENSE;md5=67da0714c3f9471067b729eca6c9fbe8 \
9*4882a593Smuzhiyun  file://src/pip/_vendor/chardet/LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343 \
10*4882a593Smuzhiyun  file://src/pip/_vendor/colorama/LICENSE.txt;md5=b4936429a56a652b84c5c01280dcaa26 \
11*4882a593Smuzhiyun  file://src/pip/_vendor/distlib/LICENSE.txt;md5=f6a11430d5cd6e2cd3832ee94f22ddfc \
12*4882a593Smuzhiyun  file://src/pip/_vendor/distro.LICENSE;md5=d2794c0df5b907fdace235a619d80314 \
13*4882a593Smuzhiyun  file://src/pip/_vendor/html5lib/LICENSE;md5=1ba5ada9e6fead1fdc32f43c9f10ba7c \
14*4882a593Smuzhiyun  file://src/pip/_vendor/idna/LICENSE.md;md5=239668a7c6066d9e0c5382e9c8c6c0e1 \
15*4882a593Smuzhiyun  file://src/pip/_vendor/msgpack/COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751 \
16*4882a593Smuzhiyun  file://src/pip/_vendor/packaging/LICENSE;md5=faadaedca9251a90b205c9167578ce91 \
17*4882a593Smuzhiyun  file://src/pip/_vendor/packaging/LICENSE.APACHE;md5=2ee41112a44fe7014dce33e26468ba93 \
18*4882a593Smuzhiyun  file://src/pip/_vendor/pep517/LICENSE;md5=aad69c93f605003e3342b174d9b0708c \
19*4882a593Smuzhiyun  file://src/pip/_vendor/pkg_resources/LICENSE;md5=9a33897f1bca1160d7aad3835152e158 \
20*4882a593Smuzhiyun  file://src/pip/_vendor/platformdirs/LICENSE.txt;md5=282c970bb844954c8535dd6e9733db7f \
21*4882a593Smuzhiyun  file://src/pip/_vendor/progress/LICENSE;md5=00ab78a4113b09aacf63d762a7bb9644 \
22*4882a593Smuzhiyun  file://src/pip/_vendor/pygments/LICENSE;md5=98419e351433ac106a24e3ad435930bc \
23*4882a593Smuzhiyun  file://src/pip/_vendor/pyparsing/LICENSE;md5=657a566233888513e1f07ba13e2f47f1 \
24*4882a593Smuzhiyun  file://src/pip/_vendor/requests/LICENSE;md5=34400b68072d710fecd0a2940a0d1658 \
25*4882a593Smuzhiyun  file://src/pip/_vendor/resolvelib/LICENSE;md5=78e1c0248051c32a38a7f820c30bd7a5 \
26*4882a593Smuzhiyun  file://src/pip/_vendor/rich/LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303 \
27*4882a593Smuzhiyun  file://src/pip/_vendor/six.LICENSE;md5=43cfc9e4ac0e377acfb9b76f56b8415d \
28*4882a593Smuzhiyun  file://src/pip/_vendor/tenacity/LICENSE;md5=175792518e4ac015ab6696d16c4f607e \
29*4882a593Smuzhiyun  file://src/pip/_vendor/tomli/LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5 \
30*4882a593Smuzhiyun  file://src/pip/_vendor/typing_extensions.LICENSE;md5=64fc2b30b67d0a8423c250e0386ed72f \
31*4882a593Smuzhiyun  file://src/pip/_vendor/urllib3/LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c \
32*4882a593Smuzhiyun  file://src/pip/_vendor/webencodings/LICENSE;md5=81fb24cd7823cce23b69f721993dce4d \
33*4882a593Smuzhiyun"
34*4882a593Smuzhiyun
35*4882a593Smuzhiyuninherit pypi python_setuptools_build_meta
36*4882a593Smuzhiyun
37*4882a593SmuzhiyunSRC_URI += "file://0001-change-shebang-to-python3.patch"
38*4882a593SmuzhiyunSRC_URI += "file://no_shebang_mangling.patch"
39*4882a593SmuzhiyunSRC_URI += "file://reproducible.patch"
40*4882a593Smuzhiyun
41*4882a593SmuzhiyunSRC_URI[sha256sum] = "f29d589df8c8ab99c060e68ad294c4a9ed896624f6368c5349d70aa581b333d0"
42*4882a593Smuzhiyun
43*4882a593Smuzhiyundo_install:append() {
44*4882a593Smuzhiyun    rm -f ${D}/${bindir}/pip
45*4882a593Smuzhiyun}
46*4882a593Smuzhiyun
47*4882a593SmuzhiyunRDEPENDS:${PN} = "\
48*4882a593Smuzhiyun  python3-compile \
49*4882a593Smuzhiyun  python3-io \
50*4882a593Smuzhiyun  python3-html \
51*4882a593Smuzhiyun  python3-json \
52*4882a593Smuzhiyun  python3-multiprocessing \
53*4882a593Smuzhiyun  python3-netserver \
54*4882a593Smuzhiyun  python3-setuptools \
55*4882a593Smuzhiyun  python3-unixadmin \
56*4882a593Smuzhiyun  python3-xmlrpc \
57*4882a593Smuzhiyun  python3-pickle \
58*4882a593Smuzhiyun  python3-distutils \
59*4882a593Smuzhiyun  python3-image \
60*4882a593Smuzhiyun"
61*4882a593Smuzhiyun
62*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
63*4882a593Smuzhiyun
64*4882a593Smuzhiyun# This used to use the bootstrap install which didn't compile. Until we bump the
65*4882a593Smuzhiyun# tmpdir version we can't compile the native otherwise the sysroot unpack fails
66*4882a593SmuzhiyunINSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode"
67