* [Buildroot] [PATCH 2/2] package/python-fpdf2: add build and runtime dependencies
@ 2026-05-04 15:16 Alexandre Ondet
0 siblings, 0 replies; only message in thread
From: Alexandre Ondet @ 2026-05-04 15:16 UTC (permalink / raw)
To: buildroot; +Cc: Alexandre Ondet, James Hilliard, Thomas Petazzoni
Add PYTHON_FPDF2_DEPENDENCIES (host-python-fonttools for PEP 517 wheel
build per upstream pyproject.toml, target fonttools/defusedxml/Pillow)
and Kconfig selects for runtime packages.
Signed-off-by: Alexandre Ondet <frcomdev@gmail.com>
---
package/python-fpdf2/Config.in | 5 ++++-
package/python-fpdf2/python-fpdf2.hash | 6 +++---
package/python-fpdf2/python-fpdf2.mk | 7 +++++--
3 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/package/python-fpdf2/Config.in b/package/python-fpdf2/Config.in
index e10e141110..b521d0f056 100644
--- a/package/python-fpdf2/Config.in
+++ b/package/python-fpdf2/Config.in
@@ -1,6 +1,9 @@
config BR2_PACKAGE_PYTHON_FPDF2
bool "python-fpdf2"
+ select BR2_PACKAGE_PYTHON_DEFUSEDXML # runtime
+ select BR2_PACKAGE_PYTHON_FONTTOOLS # PEP 517 build + runtime
+ select BR2_PACKAGE_PYTHON_PILLOW # runtime
help
Simple and fast PDF generation for Python.
- https://pypi.org/project/fpdf2/
\ No newline at end of file
+ https://pypi.org/project/fpdf2/
diff --git a/package/python-fpdf2/python-fpdf2.hash b/package/python-fpdf2/python-fpdf2.hash
index 2f1cfa6d21..73be730177 100644
--- a/package/python-fpdf2/python-fpdf2.hash
+++ b/package/python-fpdf2/python-fpdf2.hash
@@ -1,3 +1,3 @@
-# From https://pypi.org/pypi/fpdf2/2.8.1/json
-sha256 8866161396f942c8f7e3f022c4afb5e671b4d044745d4ed13c5d2ccc16ae5091 fpdf2-2.8.1.tar.gz
-sha256 f97bc4bb9b7ae8a653941073678b5c7775e8de44a01c3bcc21e7cdc148b90e61 LICENSE
\ No newline at end of file
+# From https://pypi.org/pypi/fpdf2/2.8.7/json
+sha256 7060ccee5a9c7ab0a271fb765a36a23639f83ef8996c34e3d46af0a17ede57f9 fpdf2-2.8.7.tar.gz
+sha256 f97bc4bb9b7ae8a653941073678b5c7775e8de44a01c3bcc21e7cdc148b90e61 LICENSE
diff --git a/package/python-fpdf2/python-fpdf2.mk b/package/python-fpdf2/python-fpdf2.mk
index 97eed64097..ea818b582c 100644
--- a/package/python-fpdf2/python-fpdf2.mk
+++ b/package/python-fpdf2/python-fpdf2.mk
@@ -4,11 +4,14 @@
#
################################################################################
-PYTHON_FPDF2_VERSION = 2.8.1
+PYTHON_FPDF2_VERSION = 2.8.7
PYTHON_FPDF2_SOURCE = fpdf2-$(PYTHON_FPDF2_VERSION).tar.gz
PYTHON_FPDF2_SITE = https://files.pythonhosted.org/packages/source/f/fpdf2
PYTHON_FPDF2_SETUP_TYPE = setuptools
PYTHON_FPDF2_LICENSE = LGPL-3.0+
PYTHON_FPDF2_LICENSE_FILES = LICENSE
-$(eval $(python-package))
\ No newline at end of file
+PYTHON_FPDF2_DEPENDENCIES = \
+ host-python-fonttools python-fonttools python-defusedxml python-pillow
+
+$(eval $(python-package))
--
2.53.0.windows.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-04 15:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-04 15:16 [Buildroot] [PATCH 2/2] package/python-fpdf2: add build and runtime dependencies Alexandre Ondet
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.