summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/python/python-scons_3.0.0.bb
diff options
context:
space:
mode:
authorJose Lamego <jose.a.lamego@linux.intel.com>2017-10-19 14:28:25 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-05 13:54:44 +0000
commit4fe7774f08ba46bd1d68e56eff3f4912db107c25 (patch)
tree331a04de1084f4d4e68bcd7c6342ebc35f743c89 /meta/recipes-devtools/python/python-scons_3.0.0.bb
parentb36100bb3077947361c858f891eb15a76013671e (diff)
downloadopenembedded-core-4fe7774f08ba46bd1d68e56eff3f4912db107c25.tar.gz
openembedded-core-4fe7774f08ba46bd1d68e56eff3f4912db107c25.tar.bz2
openembedded-core-4fe7774f08ba46bd1d68e56eff3f4912db107c25.zip
python-scons*: upgrade to 3.0.0
Both python-scons and python-scons-native need to be upgraded to latest upstream version. LIC_FILES_CHKSUM changed due to updated year in date, but rest of file remain the same. Following dependencies were added to enable appropriate package usage: python-shell, python-pprint and python-importlib. A patch was taken from upstream to support python2 print statements in SConscripts. This should be included in next version. These changes were tested in qemux86 with core-image-minimal. Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/python/python-scons_3.0.0.bb')
-rw-r--r--meta/recipes-devtools/python/python-scons_3.0.0.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-scons_3.0.0.bb b/meta/recipes-devtools/python/python-scons_3.0.0.bb
new file mode 100644
index 0000000000..33bfb45e2e
--- /dev/null
+++ b/meta/recipes-devtools/python/python-scons_3.0.0.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Software Construction tool (make/autotools replacement)"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=46ddf66004e5be5566367cb525a66fc6"
+SRCNAME = "scons"
+
+SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
+ file://SConscript-Support-python2-print-statements.patch"
+
+SRC_URI[md5sum] = "7ca558edaaa1942fe38f3105ca2400fb"
+SRC_URI[sha256sum] = "aa5afb33c2bbd33c311e47e912412195739e9ffb2e933534a31f85fba8f3470e"
+
+UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/SCons/"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+RDEPENDS_${PN} = "\
+ python-fcntl \
+ python-io \
+ python-json \
+ python-subprocess \
+ python-shell \
+ python-pprint \
+ python-importlib \
+ "