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