summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-setuptools_70.3.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3-setuptools_70.3.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_70.3.0.bb54
1 files changed, 54 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools_70.3.0.bb b/meta/recipes-devtools/python/python3-setuptools_70.3.0.bb
new file mode 100644
index 0000000000..291601ca98
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-setuptools_70.3.0.bb
@@ -0,0 +1,54 @@
1SUMMARY = "Download, build, install, upgrade, and uninstall Python packages"
2HOMEPAGE = "https://pypi.org/project/setuptools"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f"
6
7inherit pypi python_setuptools_build_meta
8
9SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch"
10
11SRC_URI += " \
12 file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch"
13
14SRC_URI[sha256sum] = "f171bab1dfbc86b132997f26a119f6056a57950d058587841a0082e8830f9dc5"
15
16DEPENDS += "python3"
17
18RDEPENDS:${PN} = "\
19 python3-compile \
20 python3-compression \
21 python3-ctypes \
22 python3-email \
23 python3-html \
24 python3-json \
25 python3-netserver \
26 python3-numbers \
27 python3-pickle \
28 python3-pkg-resources \
29 python3-pkgutil \
30 python3-plistlib \
31 python3-shell \
32 python3-stringold \
33 python3-threading \
34 python3-unittest \
35 python3-xml \
36"
37
38BBCLASSEXTEND = "native nativesdk"
39
40# The pkg-resources module can be used by itself, without the package downloader
41# and easy_install. Ship it in a separate package so that it can be used by
42# minimal distributions.
43PACKAGES =+ "python3-pkg-resources "
44FILES:python3-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
45RDEPENDS:python3-pkg-resources = "\
46 python3-compression \
47 python3-email \
48 python3-plistlib \
49 python3-pprint \
50"
51
52# This used to use the bootstrap install which didn't compile. Until we bump the
53# tmpdir version we can't compile the native otherwise the sysroot unpack fails
54INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode"