From 1161ab8f8dda272eb5d09917446cc5b971be1335 Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Thu, 5 Jan 2017 18:12:31 +0100 Subject: python-yaml: provide both python2 and python3 package Further the recipe is simplified by using the pypi and setuptools class. The custom setup.py is no onger necessary. Signed-off-by: Pascal Bach Signed-off-by: Martin Jansa --- .../recipes-devtools/python/python-pyyaml_3.12.bb | 26 ++-------------------- 1 file changed, 2 insertions(+), 24 deletions(-) mode change 100644 => 100755 meta-python/recipes-devtools/python/python-pyyaml_3.12.bb (limited to 'meta-python/recipes-devtools/python/python-pyyaml_3.12.bb') diff --git a/meta-python/recipes-devtools/python/python-pyyaml_3.12.bb b/meta-python/recipes-devtools/python/python-pyyaml_3.12.bb old mode 100644 new mode 100755 index 0899a2ee53..6d9f3e95af --- a/meta-python/recipes-devtools/python/python-pyyaml_3.12.bb +++ b/meta-python/recipes-devtools/python/python-pyyaml_3.12.bb @@ -1,24 +1,2 @@ -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] = "4c129761b661d181ebf7ff4eb2d79950" -SRC_URI[sha256sum] = "592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab" - -S = "${WORKDIR}/PyYAML-${PV}" - -inherit distutils - -do_configure_prepend() { - # upstream setup.py overcomplicated, use ours - install -m 0644 ${WORKDIR}/setup.py ${S} -} - -BBCLASSEXTEND = "native nativesdk" +inherit setuptools +require python-pyyaml.inc -- cgit v1.2.3-54-g00ecf