blob: 74706bf0452d05ad149907ce2b10fe18c3e1b8aa [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001SUMMARY = "Download, build, install, upgrade, and uninstall Python packages"
2HOMEPAGE = "https://pypi.python.org/pypi/setuptools"
3SECTION = "devel/python"
Patrick Williamsc0f7c042017-02-23 20:41:17 -06004LICENSE = "MIT"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05005
Brad Bishopd7bf8c12018-02-25 22:55:05 -05006LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=19;md5=9a33897f1bca1160d7aad3835152e158"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05007
Brad Bishop316dfdd2018-06-25 12:45:53 -04008PYPI_PACKAGE_EXT = "zip"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05009
Brad Bishop316dfdd2018-06-25 12:45:53 -040010inherit pypi
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050011
Brad Bishop316dfdd2018-06-25 12:45:53 -040012SRC_URI[md5sum] = "379642a4f17214071fdc1894255d8d11"
13SRC_URI[sha256sum] = "94dc566247f35009ed42c0f4422f2b4f0a032fab1372c8308b864c8f26d93388"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050014
Brad Bishop316dfdd2018-06-25 12:45:53 -040015DEPENDS += "${PYTHON_PN}"
16DEPENDS_class-native += "${PYTHON_PN}-native"
17DEPENDS_class-nativesdk += "nativesdk-${PYTHON_PN}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050018
Brad Bishop316dfdd2018-06-25 12:45:53 -040019DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR} \
20 --script-dir=${bindir}"
21
22RDEPENDS_${PN}_class-native = "\
23 ${PYTHON_PN}-distutils \
24 ${PYTHON_PN}-compression \
25"
26RDEPENDS_${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 Williamsd8c66bc2016-06-20 12:57:21 -050043
44do_install_prepend() {
Patrick Williamsc0f7c042017-02-23 20:41:17 -060045 install -d ${D}${PYTHON_SITEPACKAGES_DIR}
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050046}
Brad Bishop316dfdd2018-06-25 12:45:53 -040047
48BBCLASSEXTEND = "native nativesdk"