Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | SUMMARY = "Download, build, install, upgrade, and uninstall Python packages" |
| 2 | HOMEPAGE = "https://pypi.python.org/pypi/setuptools" |
| 3 | SECTION = "devel/python" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 4 | LICENSE = "MIT" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=19;md5=9a33897f1bca1160d7aad3835152e158" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 6 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 7 | PYPI_PACKAGE_EXT = "zip" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 8 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 9 | inherit pypi |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 10 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 11 | SRC_URI_append_class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" |
| 12 | |
| 13 | SRC_URI[md5sum] = "260630ae1a64bafa39dcc53404d63829" |
| 14 | SRC_URI[sha256sum] = "012adb8e25fbfd64c652e99e7bab58799a3aaf05d39ab38561f69190a909015f" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 15 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 16 | DEPENDS += "${PYTHON_PN}" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 17 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 18 | RDEPENDS_${PN} = "\ |
| 19 | ${PYTHON_PN}-compile \ |
| 20 | ${PYTHON_PN}-compression \ |
| 21 | ${PYTHON_PN}-ctypes \ |
| 22 | ${PYTHON_PN}-distutils \ |
| 23 | ${PYTHON_PN}-email \ |
| 24 | ${PYTHON_PN}-html \ |
| 25 | ${PYTHON_PN}-netserver \ |
| 26 | ${PYTHON_PN}-numbers \ |
| 27 | ${PYTHON_PN}-pkgutil \ |
| 28 | ${PYTHON_PN}-plistlib \ |
| 29 | ${PYTHON_PN}-shell \ |
| 30 | ${PYTHON_PN}-stringold \ |
| 31 | ${PYTHON_PN}-threading \ |
| 32 | ${PYTHON_PN}-unittest \ |
| 33 | ${PYTHON_PN}-xml \ |
| 34 | " |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 35 | do_install_prepend() { |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 36 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 37 | } |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 38 | |
| 39 | BBCLASSEXTEND = "native nativesdk" |