diff mbox series

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

Message ID 20190907173102.35561-2-raj.khem@gmail.com
State Accepted
Commit fb34a7c583b40c7dd44db01be92b6630caf4cd0f
Headers show
Series [oe,nodejs,1/3] nodejs: Mark incompatible with risc-v | expand

Commit Message

Khem Raj Sept. 7, 2019, 5:31 p.m. UTC
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@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(-)

-- 
2.23.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

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"