* [Buildroot] [PATCH 09/13] package/python-pypdf2: new package
@ 2026-04-28 17:21 Alexandre Ondet
0 siblings, 0 replies; only message in thread
From: Alexandre Ondet @ 2026-04-28 17:21 UTC (permalink / raw)
To: buildroot; +Cc: Alexandre Ondet, James Hilliard, Thomas Petazzoni
Signed-off-by: Alexandre Ondet <frcomdev@gmail.com>
---
package/Config.in | 1 +
package/python-pypdf2/Config.in | 6 ++++++
package/python-pypdf2/python-pypdf2.hash | 3 +++
package/python-pypdf2/python-pypdf2.mk | 14 ++++++++++++++
4 files changed, 24 insertions(+)
create mode 100644 package/python-pypdf2/Config.in
create mode 100644 package/python-pypdf2/python-pypdf2.hash
create mode 100644 package/python-pypdf2/python-pypdf2.mk
diff --git a/package/Config.in b/package/Config.in
index 763ca02a06..3c89a2a480 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1342,6 +1342,7 @@ menu "External python modules"
source "package/python-pyopenssl/Config.in"
source "package/python-pyparsing/Config.in"
source "package/python-pyparted/Config.in"
+ source "package/python-pypdf2/Config.in"
source "package/python-pyphen/Config.in"
source "package/python-pypika-tortoise/Config.in"
source "package/python-pypng/Config.in"
diff --git a/package/python-pypdf2/Config.in b/package/python-pypdf2/Config.in
new file mode 100644
index 0000000000..9bf026aba3
--- /dev/null
+++ b/package/python-pypdf2/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_PYPDF2
+ bool "python-pypdf2"
+ help
+ A pure Python PDF library capable of splitting, merging, and editing PDFs.
+
+ https://pypi.org/project/PyPDF2/
\ No newline at end of file
diff --git a/package/python-pypdf2/python-pypdf2.hash b/package/python-pypdf2/python-pypdf2.hash
new file mode 100644
index 0000000000..c91ff45ad1
--- /dev/null
+++ b/package/python-pypdf2/python-pypdf2.hash
@@ -0,0 +1,3 @@
+# From https://pypi.org/pypi/pypdf2/3.0.1/json
+sha256 a74408f69ba6271f71b9352ef4ed03dc53a31aa404d29b5d31f53bfecfee1440 PyPDF2-3.0.1.tar.gz
+sha256 a97ac230e5f33ef10a5367a850eb01f91f1a0b064e34742c7794d2294557f524 LICENSE
\ No newline at end of file
diff --git a/package/python-pypdf2/python-pypdf2.mk b/package/python-pypdf2/python-pypdf2.mk
new file mode 100644
index 0000000000..45065e24ab
--- /dev/null
+++ b/package/python-pypdf2/python-pypdf2.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pypdf2
+#
+################################################################################
+
+PYTHON_PYPDF2_VERSION = 3.0.1
+PYTHON_PYPDF2_SOURCE = PyPDF2-$(PYTHON_PYPDF2_VERSION).tar.gz
+PYTHON_PYPDF2_SITE = https://files.pythonhosted.org/packages/source/p/pypdf2
+PYTHON_PYPDF2_SETUP_TYPE = setuptools
+PYTHON_PYPDF2_LICENSE = BSD-3-Clause
+PYTHON_PYPDF2_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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-28 17:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-28 17:21 [Buildroot] [PATCH 09/13] package/python-pypdf2: new package Alexandre Ondet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox