[oe] [meta-python][PATCH] python-pytz: provide native and nativesdk version for pytz
Pascal Bach
pascal.bach at siemens.com
Mon Jan 9 09:33:02 UTC 2017
From: Pascal Bach <pascal.bach at nextrem.ch>
This allows it to be used during build in the setup.py of a package.
Like for example done in the astral PyPi package.
Signed-off-by: Pascal Bach <pascal.bach at nextrem.ch>
---
meta-python/recipes-devtools/python/python-pytz.inc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta-python/recipes-devtools/python/python-pytz.inc b/meta-python/recipes-devtools/python/python-pytz.inc
index 19be2c7..73106da 100755
--- a/meta-python/recipes-devtools/python/python-pytz.inc
+++ b/meta-python/recipes-devtools/python/python-pytz.inc
@@ -8,8 +8,10 @@ inherit pypi
SRC_URI[md5sum] = "8660ba7c3c0abd23e6e4efa493b02966"
SRC_URI[sha256sum] = "8787de03f35f31699bcaf127e56ad14c00647965ed24d72dbaca87c6e4f843a3"
-RDEPENDS_${PN} += "\
+RDEPENDS_${PN}_class-target += "\
${PYTHON_PN}-datetime \
${PYTHON_PN}-io \
${PYTHON_PN}-threading \
"
+
+BBCLASSEXTEND = "native nativesdk"
--
2.1.4
More information about the Openembedded-devel
mailing list