diff options
| author | Jose Lamego <jose.a.lamego@linux.intel.com> | 2017-10-11 16:19:23 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-05 22:33:22 +0000 |
| commit | b6f2dc7dd0b2d88aef168c239de0c9c30c810d0d (patch) | |
| tree | 4d85da4dc4cbea371aea28e25e8150701ce6a6d4 /meta/recipes-devtools/python/python3-setuptools_36.5.0.bb | |
| parent | 1225946ebc5915c1a2eec77a60c53ac7e72b78b0 (diff) | |
| download | poky-b6f2dc7dd0b2d88aef168c239de0c9c30c810d0d.tar.gz | |
python*-setuptools: update to 36.5.0
Both python-setuptools and python3-setuptools must be updated
to latest stable release.
These changes were tested on qemu with core-image-minimal
(From OE-Core rev: 5b784c37f1be769a2abcc5bef5b03eb3b349138b)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-setuptools_36.5.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-setuptools_36.5.0.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools_36.5.0.bb b/meta/recipes-devtools/python/python3-setuptools_36.5.0.bb new file mode 100644 index 0000000000..63f241809e --- /dev/null +++ b/meta/recipes-devtools/python/python3-setuptools_36.5.0.bb | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | require python-setuptools.inc | ||
| 2 | |||
| 3 | DEPENDS += "python3" | ||
| 4 | DEPENDS_class-native += "python3-native" | ||
| 5 | DEPENDS_class-nativesdk += "nativesdk-python3" | ||
| 6 | |||
| 7 | inherit distutils3 | ||
| 8 | |||
| 9 | DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}" | ||
| 10 | |||
| 11 | # The installer puts the wrong path in the setuptools.pth file. Correct it. | ||
| 12 | do_install_append() { | ||
| 13 | rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth | ||
| 14 | mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install | ||
| 15 | echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth | ||
| 16 | } | ||
| 17 | |||
| 18 | RDEPENDS_${PN}_class-native = "\ | ||
| 19 | python3-distutils \ | ||
| 20 | python3-compression \ | ||
| 21 | " | ||
| 22 | RDEPENDS_${PN} = "\ | ||
| 23 | python3-ctypes \ | ||
| 24 | python3-distutils \ | ||
| 25 | python3-email \ | ||
| 26 | python3-importlib \ | ||
| 27 | python3-numbers \ | ||
| 28 | python3-compression \ | ||
| 29 | python3-shell \ | ||
| 30 | python3-subprocess \ | ||
| 31 | python3-textutils \ | ||
| 32 | python3-pkgutil \ | ||
| 33 | python3-threading \ | ||
| 34 | python3-misc \ | ||
| 35 | python3-unittest \ | ||
| 36 | python3-xml \ | ||
| 37 | " | ||
| 38 | BBCLASSEXTEND = "native nativesdk" | ||
