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" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 5 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=19;md5=9a33897f1bca1160d7aad3835152e158" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 7 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 8 | PYPI_PACKAGE_EXT = "zip" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 9 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 10 | inherit pypi |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 11 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 12 | SRC_URI[md5sum] = "379642a4f17214071fdc1894255d8d11" |
| 13 | SRC_URI[sha256sum] = "94dc566247f35009ed42c0f4422f2b4f0a032fab1372c8308b864c8f26d93388" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 14 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 15 | DEPENDS += "${PYTHON_PN}" |
| 16 | DEPENDS_class-native += "${PYTHON_PN}-native" |
| 17 | DEPENDS_class-nativesdk += "nativesdk-${PYTHON_PN}" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 18 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 19 | DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR} \ |
| 20 | --script-dir=${bindir}" |
| 21 | |
| 22 | RDEPENDS_${PN}_class-native = "\ |
| 23 | ${PYTHON_PN}-distutils \ |
| 24 | ${PYTHON_PN}-compression \ |
| 25 | " |
| 26 | RDEPENDS_${PN} = "\ |
| 27 | ${PYTHON_PN}-compile \ |
| 28 | ${PYTHON_PN}-compression \ |
| 29 | ${PYTHON_PN}-ctypes \ |
| 30 | ${PYTHON_PN}-distutils \ |
| 31 | ${PYTHON_PN}-email \ |
| 32 | ${PYTHON_PN}-html \ |
| 33 | ${PYTHON_PN}-netserver \ |
| 34 | ${PYTHON_PN}-numbers \ |
| 35 | ${PYTHON_PN}-pkgutil \ |
| 36 | ${PYTHON_PN}-plistlib \ |
| 37 | ${PYTHON_PN}-shell \ |
| 38 | ${PYTHON_PN}-stringold \ |
| 39 | ${PYTHON_PN}-threading \ |
| 40 | ${PYTHON_PN}-unittest \ |
| 41 | ${PYTHON_PN}-xml \ |
| 42 | " |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 43 | |
| 44 | do_install_prepend() { |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 45 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 46 | } |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 47 | |
| 48 | BBCLASSEXTEND = "native nativesdk" |