| SUMMARY = "Download, build, install, upgrade, and uninstall Python packages" |
| HOMEPAGE = "https://pypi.python.org/pypi/setuptools" |
| LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=19;md5=9a33897f1bca1160d7aad3835152e158" |
| SRC_URI_append_class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" |
| SRC_URI[md5sum] = "a3470ce184da33f0fa6c9f44f6221bc0" |
| SRC_URI[sha256sum] = "66b86bbae7cc7ac2e867f52dc08a6bd064d938bac59dfec71b9b565dd36d6012" |
| DEPENDS += "${PYTHON_PN}" |
| ${PYTHON_PN}-compression \ |
| install -d ${D}${PYTHON_SITEPACKAGES_DIR} |
| BBCLASSEXTEND = "native nativesdk" |
| # The pkg-resources module can be used by itself, without the package downloader |
| # and easy_install. Ship it in a separate package so that it can be used by |
| PACKAGES =+ "${PYTHON_PN}-pkg-resources " |
| FILES_${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*" |
| # Due to the way OE-Core implemented native recipes, the native class cannot |
| # have a dependency on something that is not a recipe name. Work around that by |
| # manually setting RPROVIDES. |
| RDEPENDS_${PN}_append = " ${PYTHON_PN}-pkg-resources" |
| RPROVIDES_append_class-native = " ${PYTHON_PN}-pkg-resources-native" |