aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools
diff options
context:
space:
mode:
authorDaniela Plascencia <daniela.plascencia@linux.intel.com>2016-12-01 13:24:50 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2016-12-09 12:02:19 +0100
commit3aac48c722fa836e04e95a495d758b8ee0d0cdda (patch)
tree50631bb6200ce19379670565bbc2322311003b22 /meta-python/recipes-devtools
parent8ea8fff79c91c985884859eca49769379e06c313 (diff)
downloadmeta-openembedded-3aac48c722fa836e04e95a495d758b8ee0d0cdda.tar.gz
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 <daniela.plascencia@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools')
-rw-r--r--meta-python/recipes-devtools/python/python-setuptools-scm_1.15.0.bb6
1 files changed, 4 insertions, 2 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 45204c98c6..afbc83ea99 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"
-inherit pypi setuptools
-RDEPENDS_${PN} = "python-py python-setuptools python-argparse python-debugger python-json"
+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