diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2016-06-13 05:16:31 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-14 12:56:33 +0100 |
commit | 8e24a6ed1cd6fd91f9b4644b1fa199e516c25fa2 (patch) | |
tree | 55d48f66500ccc9915a3a0e7c6c4f2910079469f /meta/recipes-extended/newt/libnewt-python_0.52.19.bb | |
parent | f9ed35ec4aeca0a37e8b00a0b185abf1b87db0d1 (diff) | |
download | openembedded-core-contrib-8e24a6ed1cd6fd91f9b4644b1fa199e516c25fa2.tar.gz |
libnewt/libnewt-python: upgrade to 0.52.19
- Drop remove_slang_include.patch, libnewt 0.52.19 has fixed it.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/newt/libnewt-python_0.52.19.bb')
-rw-r--r-- | meta/recipes-extended/newt/libnewt-python_0.52.19.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-extended/newt/libnewt-python_0.52.19.bb b/meta/recipes-extended/newt/libnewt-python_0.52.19.bb new file mode 100644 index 0000000000..20369effeb --- /dev/null +++ b/meta/recipes-extended/newt/libnewt-python_0.52.19.bb @@ -0,0 +1,28 @@ +require recipes-extended/newt/libnewt_${PV}.bb + +SUMMARY .= " - python" +DEPENDS = "libnewt python3" +RDEPENDS_${PN} += "python3-core" + +inherit python3native python3-dir + +EXTRA_OECONF += "--with-python" +EXTRA_OEMAKE += "PYTHONVERS=${PYTHON_DIR}" + + +do_compile () { + VERSION="$(sed -n 's/^VERSION = //p' Makefile)" + oe_runmake _snack.so +} + +do_install () { + install -d ${D}${PYTHON_SITEPACKAGES_DIR} + install -m 0755 ${PYTHON_DIR}/_snack.so ${D}${PYTHON_SITEPACKAGES_DIR}/ + install -m 0644 snack.py ${D}${PYTHON_SITEPACKAGES_DIR}/ +} + +PACKAGES_remove = "whiptail" + +FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/*" + +BBCLASSEXTEND = "native" |