| Message ID | 20260901071307.741947-2-alex.kiernan@gmail.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | [meta-python] python3-qrcode: Convert optional dependencies into PACKAGECONFIG | expand |
diff --git a/meta-python/recipes-devtools/python/python3-qrcode_8.2.bb b/meta-python/recipes-devtools/python/python3-qrcode_8.2.bb index 1671864c1f6e..78532d9cec9f 100644 --- a/meta-python/recipes-devtools/python/python3-qrcode_8.2.bb +++ b/meta-python/recipes-devtools/python/python3-qrcode_8.2.bb @@ -7,9 +7,10 @@ SRC_URI[sha256sum] = "35c3f2a4172b33136ab9f6b3ef1c00260dd2f66f858f24d88418a015f4 inherit pypi python_poetry_core +PACKAGECONFIG ?= "pillow png" +PACKAGECONFIG[pillow] = ",,,python3-pillow" +PACKAGECONFIG[png] = ",,,python3-pypng" + RDEPENDS:${PN} = " \ - python3-six \ - python3-pillow \ - python3-pypng \ python3-typing-extensions \ "
Both python3-pillow and python3-pypng are optional, make them PACKAGECONFIG entries and enable both so that the default stays the same. Drop python3-six which was removed in 4d80a78 ("Remove six"). Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> --- meta-python/recipes-devtools/python/python3-qrcode_8.2.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)