From d22f4ca2e3e421615b601002061690a8f97257c0 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 22 Jul 2014 13:34:41 +0200 Subject: meta-python: rename recipes-python to recipes-devtools * match old structure from meta-oe Signed-off-by: Martin Jansa --- .../recipes-devtools/python/python-pyyaml_3.10.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-pyyaml_3.10.bb (limited to 'meta-python/recipes-devtools/python/python-pyyaml_3.10.bb') diff --git a/meta-python/recipes-devtools/python/python-pyyaml_3.10.bb b/meta-python/recipes-devtools/python/python-pyyaml_3.10.bb new file mode 100644 index 0000000000..100e1c81ac --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pyyaml_3.10.bb @@ -0,0 +1,22 @@ +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] = "74c94a383886519e9e7b3dd1ee540247" +SRC_URI[sha256sum] = "e713da45c96ca53a3a8b48140d4120374db622df16ab71759c9ceb5b8d46fe7c" + +S = "${WORKDIR}/PyYAML-${PV}" + +inherit distutils + +do_configure_prepend() { + # upstream setup.py overcomplicated, use ours + install -m 0644 ${WORKDIR}/setup.py ${S} +} -- cgit v1.2.3-54-g00ecf