aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@nextrem.ch>2017-01-09 10:33:02 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-01-25 15:58:55 +0100
commit13447acd1c400778f90d1c57130923cd5014f178 (patch)
tree41ad772d55585c46d056a21081d3ec04f545c557 /meta-python
parent9b1ef52386c530f2ed06fd127efc406fb1b67130 (diff)
downloadmeta-openembedded-contrib-13447acd1c400778f90d1c57130923cd5014f178.tar.gz
python-pytz: provide native and nativesdk version for pytz
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@nextrem.ch> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python')
-rwxr-xr-xmeta-python/recipes-devtools/python/python-pytz.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python-pytz.inc b/meta-python/recipes-devtools/python/python-pytz.inc
index 19be2c7571..73106daffa 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"