Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Ondet <frcomdev@gmail.com>
To: buildroot@buildroot.org
Cc: Alexandre Ondet <frcomdev@gmail.com>,
	James Hilliard <james.hilliard1@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH 03/13] package/python-fpdf2: new package
Date: Tue, 28 Apr 2026 13:18:44 -0400	[thread overview]
Message-ID: <20260428171844.2596-1-frcomdev@gmail.com> (raw)

Signed-off-by: Alexandre Ondet <frcomdev@gmail.com>
---
 package/Config.in                      |  1 +
 package/python-fpdf2/Config.in         |  6 ++++++
 package/python-fpdf2/python-fpdf2.hash |  3 +++
 package/python-fpdf2/python-fpdf2.mk   | 14 ++++++++++++++
 4 files changed, 24 insertions(+)
 create mode 100644 package/python-fpdf2/Config.in
 create mode 100644 package/python-fpdf2/python-fpdf2.hash
 create mode 100644 package/python-fpdf2/python-fpdf2.mk

diff --git a/package/Config.in b/package/Config.in
index 1a53589155..c6f809b31d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1126,6 +1126,7 @@ menu "External python modules"
 	source "package/python-flask-sqlalchemy/Config.in"
 	source "package/python-flask-wtf/Config.in"
 	source "package/python-flatbuffers/Config.in"
+	source "package/python-fpdf2/Config.in"
 	source "package/python-flup/Config.in"
 	source "package/python-fonttools/Config.in"
 	source "package/python-frozenlist/Config.in"
diff --git a/package/python-fpdf2/Config.in b/package/python-fpdf2/Config.in
new file mode 100644
index 0000000000..e10e141110
--- /dev/null
+++ b/package/python-fpdf2/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_FPDF2
+	bool "python-fpdf2"
+	help
+	  Simple and fast PDF generation for Python.
+
+	  https://pypi.org/project/fpdf2/
\ No newline at end of file
diff --git a/package/python-fpdf2/python-fpdf2.hash b/package/python-fpdf2/python-fpdf2.hash
new file mode 100644
index 0000000000..2f1cfa6d21
--- /dev/null
+++ b/package/python-fpdf2/python-fpdf2.hash
@@ -0,0 +1,3 @@
+# From https://pypi.org/pypi/fpdf2/2.8.7/json
+sha256  7060ccee5a9c7ab0a271fb765a36a23639f83ef8996c34e3d46af0a17ede57f9  fpdf2-2.8.7.tar.gz
+sha256  f97bc4bb9b7ae8a653941073678b5c7775e8de44a01c3bcc21e7cdc148b90e61  LICENSE
\ No newline at end of file
diff --git a/package/python-fpdf2/python-fpdf2.mk b/package/python-fpdf2/python-fpdf2.mk
new file mode 100644
index 0000000000..97eed64097
--- /dev/null
+++ b/package/python-fpdf2/python-fpdf2.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-fpdf2
+#
+################################################################################
+
+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
-- 
2.53.0.windows.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

                 reply	other threads:[~2026-04-28 17:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260428171844.2596-1-frcomdev@gmail.com \
    --to=frcomdev@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=james.hilliard1@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox