Skip to contentSkip to conversation

nodejs: Mark incompatible with risc-v

PATCH New Khem Raj 1 participant 3 messages Sep 7, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/3 nodejs: Mark incompatible with risc-v

Arch is not yet supported

---
 meta-oe/recipes-devtools/nodejs/nodejs_10.16.3.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-devtools/nodejs/nodejs_10.16.3.bb +3 -0
index 30724d41a1..a978eebe47 100644
@@ -12,6 +12,9 @@ COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
 COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"
 COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*"
 
+COMPATIBLE_HOST_riscv64 = "null"
+COMPATIBLE_HOST_riscv32 = "null"
+
 SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
            file://0001-Disable-running-gyp-files-for-bundled-deps.patch \
            file://0003-Crypto-reduce-memory-usage-of-SignFinal.patch \
Signature · 1 line
2.23.0
author
#1 lore raw

PATCH 2/3 python-jinja2: Make asyncio specific to python3 module alone

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']

---
 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(-)
meta-python/recipes-devtools/python/python-jinja2.inc +1 -1
index dd9fff86bb..aee7bd3ff4 100644
@@ -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"
 
meta-python/recipes-devtools/python/python3-jinja2_2.10.1.bb +2 -0
index 61156b630b..284f5f588c 100644
@@ -1,2 +1,4 @@
 inherit pypi setuptools3
 require python-jinja2.inc
+
+RDEPENDS_${PN} += "${PYTHON_PN}-asyncio"
Signature · 1 line
2.23.0
author
#2 lore raw

PATCH 3/3 python3-cmd2: Add to blacklist

In reply to Khem Raj

Its missing a rdep(python3-colorama), unless that recipe is added to meta-python, its in blacklist and eventually it will be deleted before zeus release if the rdep is still not submitted

---
 meta-python/recipes-devtools/python/python3-cmd2_0.9.16.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-cmd2_0.9.16.bb +1 -0
index f5c5c7e1a3..594e93dcad 100644
@@ -7,3 +7,4 @@ RDEPENDS_${PN} += "\
     ${PYTHON_PN}-attrs \
     ${PYTHON_PN}-wcwidth \
     "
+PNBLACKLIST[python3-cmd2] = "Nothing RPROVIDES 'python3-colorama' (but python3-cmd2_0.9.16.bb RDEPENDS on or otherwise requires it)"
Signature · 1 line
2.23.0