python-scons: upgrade to v3.0.1; use pypi.bbclass

* Simplify recipe by using pypi.bbclass
* Drop patch for __future__ print_function
  - fixed upstream:
https://github.com/SConsProject/scons/pull/1/commits/4c199d06e76afb9379e76942d0f68caa57f42509

(From OE-Core rev: cf5c44ac611c2c2657e6fd3c1f723bcb20b812dd)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tim Orling authored and Richard Purdie committed 2017-12-13 14:00:52 +00:00
1 parent 9f85257216
commit b73e96e7f3
3 files changed
+3 -47

No files matched your search

@@ -0,0 +1,8 @@
require python-scons_${PV}.bb
inherit native pythonnative
DEPENDS = "python-native"
RDEPENDS_${PN} = ""
do_install_append() {
create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}'
}