python3-qrcode: Convert optional dependencies into PACKAGECONFIG
PATCH 1/1 python3-qrcode: Convert optional dependencies into PACKAGECONFIG
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 <[email protected]>
--- meta-python/recipes-devtools/python/python3-qrcode_8.2.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-qrcode_8.2.bb +4 -3
@@ -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 \ "