Files
buildroot/package/python-pillow/Config.in
Thomas Petazzoni 4adbbbbec3 package/python-pillow: propagate python-pybind C++ dependency
Commit
5f446a8d6d ("package/python-pillow: bump
to version 12.0.0") added a select BR2_PACKAGE_PYTHON_PYBIND to
python-pillow without propagating the C++ dependency, causing:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_PYBIND
  Depends on [n]: BR2_PACKAGE_PYTHON3 [=y] && BR2_INSTALL_LIBSTDCPP [=n]
  Selected by [y]:
  - BR2_PACKAGE_PYTHON_PILLOW [=y] && BR2_PACKAGE_PYTHON3 [=y]

Fix this by propagating the dependency to python-pillow, and in turn
to python-pillow reverse dependencies.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-01-04 14:00:17 +01:00

21 lines
727 B
Plaintext

config BR2_PACKAGE_PYTHON_PILLOW
bool "python-pillow"
depends on BR2_INSTALL_LIBSTDCPP # python-pybind
select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime
select BR2_PACKAGE_PYTHON3_ZLIB
select BR2_PACKAGE_PYTHON_PYBIND
help
Pillow is the "friendly" PIL fork by Alex Clark and
Contributors. PIL is the Python Imaging Library by Fredrik
Lundh and Contributors.
Pillow relies on external libraries to provide support
various image formats. Select the corresponding package(s)
to get this support. Pillow can use jpeg, zlib (for PNG),
tiff, freetype, webp, and openjpeg (JPEG-2000).
https://pypi.python.org/pypi/Pillow/
comment "python-pillow needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP