[oe-commits] [meta-openembedded] 35/70: python-setuptools-scm: add native to BBCLASSEXTEND

git at git.openembedded.org git at git.openembedded.org
Fri Dec 9 11:01:22 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 85871c39adb9ca7996b51867f3f9d28f61e98793
Author: Daniela Plascencia <daniela.plascencia at linux.intel.com>
AuthorDate: Thu Dec 1 13:24:50 2016 +0000

    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 at linux.intel.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-python/recipes-devtools/python/python-setuptools-scm_1.15.0.bb | 6 ++++--
 1 file 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 45204c9..afbc83e 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list