cpp and cpp-symlinks aren't actually required for python3-pycparser to
be built or installed, but because they are in the RDEPENDS list for
targets they will be included when building other recipes that may need
python3-pycparser but not those packages (such as python3-cffi).
Instead, list cpp and cpp-symlinks as part of RSUGGESTS for target.

For reference, a previous discussion from the mailing list:
https://www.mail-archive.com/[email protected]/msg04784.html

Signed-off-by: Trevor Gamblin <[email protected]>
---
 meta-python/recipes-devtools/python/python3-pycparser_2.20.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-pycparser_2.20.bb 
b/meta-python/recipes-devtools/python/python3-pycparser_2.20.bb
index 845a9fa0c..fde868a70 100644
--- a/meta-python/recipes-devtools/python/python3-pycparser_2.20.bb
+++ b/meta-python/recipes-devtools/python/python3-pycparser_2.20.bb
@@ -14,6 +14,9 @@ RDEPENDS:${PN}:class-target += "\
     ${PYTHON_PN}-netclient \
     ${PYTHON_PN}-ply \
     ${PYTHON_PN}-pprint \
+    "
+
+RSUGGESTS:${PN}:class-target += "\
     cpp \
     cpp-symlinks \
     "
-- 
2.31.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#93640): 
https://lists.openembedded.org/g/openembedded-devel/message/93640
Mute This Topic: https://lists.openembedded.org/mt/86660225/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to