From 3aac48c722fa836e04e95a495d758b8ee0d0cdda Mon Sep 17 00:00:00 2001 From: Daniela Plascencia Date: Thu, 1 Dec 2016 13:24:50 +0000 Subject: [PATCH] python-setuptools-scm: add native to BBCLASSEXTEND Enables a native variant of python-setuptools-scm by adding BBCLASSEXTEND to the recipe. Signed-off-by: Daniela Plascencia Signed-off-by: Martin Jansa --- .../python/python-setuptools-scm_1.15.0.bb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/meta-python/recipes-devtools/python/python-setuptools-scm_1.15.0.bb b/meta-python/recipes-devtools/python/python-setuptools-scm_1.15.0.bb index 45204c98c..afbc83ea9 100644 --- a/meta-python/recipes-devtools/python/python-setuptools-scm_1.15.0.bb +++ b/meta-python/recipes-devtools/python/python-setuptools-scm_1.15.0.bb @@ -6,8 +6,10 @@ SRC_URI[md5sum] = "b6916c78ed6253d6602444fad4279c5b" SRC_URI[sha256sum] = "daf12d05aa2155a46aa357453757ffdc47d87f839e62114f042bceac6a619e2f" PYPI_PACKAGE = "setuptools_scm" + +RDEPENDS_${PN}_class-target = "python-py python-setuptools python-argparse python-debugger python-json" +RDEPENDS_${PN}_class-native = "python-setuptools-native" + +BBCLASSEXTEND =+ "native" + inherit pypi setuptools - -RDEPENDS_${PN} = "python-py python-setuptools python-argparse python-debugger python-json" - -