Skip to contentSkip to conversation

python3-pycparser: RSUGGESTS cpp and cpp-symlinks

PATCH New Trevor Gamblin 1 participant 1 message Oct 28, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pycparser: RSUGGESTS cpp and cpp-symlinks

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

---
 meta-python/recipes-devtools/python/python3-pycparser_2.20.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-python/recipes-devtools/python/python3-pycparser_2.20.bb +3 -0
index 845a9fa0c..fde868a70 100644
@@ -14,6 +14,9 @@ RDEPENDS:${PN}:class-target += "\
     ${PYTHON_PN}-netclient \
     ${PYTHON_PN}-ply \
     ${PYTHON_PN}-pprint \
+    "
+
+RSUGGESTS:${PN}:class-target += "\
     cpp \
     cpp-symlinks \
     "
Signature · 1 line
2.31.1