[oe] [meta-python][PATCH 2/3] python-jinja2: Make asyncio specific to python3 module alone

Khem Raj raj.khem at gmail.com
Sat Sep 7 17:31:01 UTC 2019


asyncio is not packages seprately with python2 but only with python3

Fixes

ERROR: Nothing RPROVIDES 'python-asyncio' (but /mnt/b/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python-jinja2_2.10.1.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'python-asyncio' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-asyncio']

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-python/recipes-devtools/python/python-jinja2.inc        | 2 +-
 meta-python/recipes-devtools/python/python3-jinja2_2.10.1.bb | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python-jinja2.inc b/meta-python/recipes-devtools/python/python-jinja2.inc
index dd9fff86bb..aee7bd3ff4 100644
--- a/meta-python/recipes-devtools/python/python-jinja2.inc
+++ b/meta-python/recipes-devtools/python/python-jinja2.inc
@@ -8,7 +8,7 @@ SRC_URI[md5sum] = "0ae535be40fd215a8114a090c8b68e5a"
 SRC_URI[sha256sum] = "065c4f02ebe7f7cf559e49ee5a95fb800a9e4528727aec6f24402a5374c65013"
 
 RDEPENDS_${PN} += "${PYTHON_PN}-io ${PYTHON_PN}-pickle ${PYTHON_PN}-crypt \
-    ${PYTHON_PN}-math ${PYTHON_PN}-netclient ${PYTHON_PN}-asyncio \
+    ${PYTHON_PN}-math ${PYTHON_PN}-netclient \
     ${PYTHON_PN}-pprint ${PYTHON_PN}-shell ${PYTHON_PN}-markupsafe \
     ${PYTHON_PN}-json ${PYTHON_PN}-threading ${PYTHON_PN}-numbers"
 
diff --git a/meta-python/recipes-devtools/python/python3-jinja2_2.10.1.bb b/meta-python/recipes-devtools/python/python3-jinja2_2.10.1.bb
index 61156b630b..284f5f588c 100644
--- a/meta-python/recipes-devtools/python/python3-jinja2_2.10.1.bb
+++ b/meta-python/recipes-devtools/python/python3-jinja2_2.10.1.bb
@@ -1,2 +1,4 @@
 inherit pypi setuptools3
 require python-jinja2.inc
+
+RDEPENDS_${PN} += "${PYTHON_PN}-asyncio"
-- 
2.23.0



More information about the Openembedded-devel mailing list