diff options
| author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2020-07-25 11:54:23 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-27 10:37:57 +0100 |
| commit | c1a56579ff9c435a49114b15f54c2f481f7d928a (patch) | |
| tree | 5951f0e002318752b41ac6ced45277ed85101a9c /meta/recipes-devtools/python/python-setuptools.inc | |
| parent | 5008ee45e41ac99f7867e929124c77b539fe4fb9 (diff) | |
| download | poky-c1a56579ff9c435a49114b15f54c2f481f7d928a.tar.gz | |
python3-setuptools: update to 49.2.0
Rebased patch and got rid of the .inc file as Python 2 is not supported
anymore.
(From OE-Core rev: ff3d9a2966e6593be9ac048d930fc841c24eae7d)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-setuptools.inc')
| -rw-r--r-- | meta/recipes-devtools/python/python-setuptools.inc | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc deleted file mode 100644 index ecf1205752..0000000000 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ /dev/null | |||
| @@ -1,60 +0,0 @@ | |||
| 1 | SUMMARY = "Download, build, install, upgrade, and uninstall Python packages" | ||
| 2 | HOMEPAGE = "https://pypi.org/project/setuptools" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=19;md5=9a33897f1bca1160d7aad3835152e158" | ||
| 6 | |||
| 7 | PYPI_PACKAGE_EXT = "zip" | ||
| 8 | |||
| 9 | inherit pypi | ||
| 10 | |||
| 11 | SRC_URI_append_class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" | ||
| 12 | |||
| 13 | SRC_URI += "file://0001-change-shebang-to-python3.patch" | ||
| 14 | |||
| 15 | SRC_URI[sha256sum] = "843037738d1e34e8b326b5e061f474aca6ef9d7ece41329afbc8aac6195a3920" | ||
| 16 | |||
| 17 | DEPENDS += "${PYTHON_PN}" | ||
| 18 | |||
| 19 | RDEPENDS_${PN} = "\ | ||
| 20 | ${PYTHON_PN}-2to3 \ | ||
| 21 | ${PYTHON_PN}-compile \ | ||
| 22 | ${PYTHON_PN}-compression \ | ||
| 23 | ${PYTHON_PN}-ctypes \ | ||
| 24 | ${PYTHON_PN}-distutils \ | ||
| 25 | ${PYTHON_PN}-email \ | ||
| 26 | ${PYTHON_PN}-html \ | ||
| 27 | ${PYTHON_PN}-json \ | ||
| 28 | ${PYTHON_PN}-netserver \ | ||
| 29 | ${PYTHON_PN}-numbers \ | ||
| 30 | ${PYTHON_PN}-pickle \ | ||
| 31 | ${PYTHON_PN}-pkgutil \ | ||
| 32 | ${PYTHON_PN}-plistlib \ | ||
| 33 | ${PYTHON_PN}-shell \ | ||
| 34 | ${PYTHON_PN}-stringold \ | ||
| 35 | ${PYTHON_PN}-threading \ | ||
| 36 | ${PYTHON_PN}-unittest \ | ||
| 37 | ${PYTHON_PN}-xml \ | ||
| 38 | " | ||
| 39 | do_install_prepend() { | ||
| 40 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} | ||
| 41 | } | ||
| 42 | |||
| 43 | BBCLASSEXTEND = "native nativesdk" | ||
| 44 | |||
| 45 | # The pkg-resources module can be used by itself, without the package downloader | ||
| 46 | # and easy_install. Ship it in a separate package so that it can be used by | ||
| 47 | # minimal distributions. | ||
| 48 | PACKAGES =+ "${PYTHON_PN}-pkg-resources " | ||
| 49 | FILES_${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*" | ||
| 50 | RDEPENDS_${PYTHON_PN}-pkg-resources = "\ | ||
| 51 | ${PYTHON_PN}-compression \ | ||
| 52 | ${PYTHON_PN}-email \ | ||
| 53 | ${PYTHON_PN}-plistlib \ | ||
| 54 | ${PYTHON_PN}-pprint \ | ||
| 55 | " | ||
| 56 | # Due to the way OE-Core implemented native recipes, the native class cannot | ||
| 57 | # have a dependency on something that is not a recipe name. Work around that by | ||
| 58 | # manually setting RPROVIDES. | ||
| 59 | RDEPENDS_${PN}_append = " ${PYTHON_PN}-pkg-resources" | ||
| 60 | RPROVIDES_append_class-native = " ${PYTHON_PN}-pkg-resources-native" | ||
