Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | SUMMARY = "Python 2 and 3 compatibility library" |
| 2 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6f00d4a50713fa859858dd9abaa35b21" |
| 4 | |
| 5 | SRC_URI[md5sum] = "34eed507548117b2ab523ab14b2f8b55" |
| 6 | SRC_URI[sha256sum] = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a" |
| 7 | |
| 8 | do_compile_append() { |
| 9 | export BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} |
| 10 | ${PYTHON} setup.py -q bdist_egg --dist-dir ./ |
| 11 | } |
| 12 | do_install_append() { |
| 13 | install -m 0644 ${S}/*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/ |
| 14 | } |
| 15 | |
| 16 | RDEPENDS_${PN} += "python-io" |