blob: 9092d7ad03afc3642087a86e841c5b36a7cb89db [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"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=19;md5=9a33897f1bca1160d7aad3835152e158"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05006
Brad Bishop316dfdd2018-06-25 12:45:53 -04007PYPI_PACKAGE_EXT = "zip"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05008
Brad Bishop316dfdd2018-06-25 12:45:53 -04009inherit pypi
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050010
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080011SRC_URI_append_class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch"
12
Brad Bishop19323692019-04-05 15:28:33 -040013SRC_URI[md5sum] = "712697a5bc975cf479d487cd68206c20"
14SRC_URI[sha256sum] = "6e4eec90337e849ade7103723b9a99631c1f0d19990d6e8412dc42f5ae8b304d"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050015
Brad Bishop316dfdd2018-06-25 12:45:53 -040016DEPENDS += "${PYTHON_PN}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050017
Brad Bishop316dfdd2018-06-25 12:45:53 -040018RDEPENDS_${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 Williamsd8c66bc2016-06-20 12:57:21 -050035do_install_prepend() {
Patrick Williamsc0f7c042017-02-23 20:41:17 -060036 install -d ${D}${PYTHON_SITEPACKAGES_DIR}
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050037}
Brad Bishop316dfdd2018-06-25 12:45:53 -040038
39BBCLASSEXTEND = "native nativesdk"