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 <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Alex Kiernan
2026-09-02 11:48:54 -07:00
committed by Khem Raj
parent 0fbb14ef85
commit b3dbb6efa4
@@ -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 \
"