From 4100a96a5a98987910f17b317488bb2a86d50514 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 25 Mar 2016 18:58:58 -0400 Subject: python-pyyaml: update to 3.11 Signed-off-by: Derek Straka --- .../recipes-devtools/python/python-pyyaml_3.11.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-pyyaml_3.11.bb (limited to 'meta-python/recipes-devtools/python/python-pyyaml_3.11.bb') diff --git a/meta-python/recipes-devtools/python/python-pyyaml_3.11.bb b/meta-python/recipes-devtools/python/python-pyyaml_3.11.bb new file mode 100644 index 0000000000..a017e0e65b --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pyyaml_3.11.bb @@ -0,0 +1,24 @@ +SUMMARY = "Python support for YAML" +HOMEPAGE = "http://www.pyyaml.org" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17" +DEPENDS = "libyaml python-cython-native" + +SRC_URI = "http://pyyaml.org/download/pyyaml/PyYAML-${PV}.tar.gz \ + file://setup.py \ +" + +SRC_URI[md5sum] = "f50e08ef0fe55178479d3a618efe21db" +SRC_URI[sha256sum] = "c36c938a872e5ff494938b33b14aaa156cb439ec67548fcab3535bb78b0846e8" + +S = "${WORKDIR}/PyYAML-${PV}" + +inherit distutils + +do_configure_prepend() { + # upstream setup.py overcomplicated, use ours + install -m 0644 ${WORKDIR}/setup.py ${S} +} + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf