summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2024-09-13 10:56:47 -0400
committerGitHub <noreply@github.com>2024-09-13 09:56:47 -0500
commit60104f916d63fa8a66f80c3bc945c18067b853d5 (patch)
tree2c448f7b105b8963e1ff328dcd1ed11d7350c767
parentd04358c36990b049cab684681c4132b019735c3f (diff)
downloadspack-60104f916d63fa8a66f80c3bc945c18067b853d5.tar.gz
spack-60104f916d63fa8a66f80c3bc945c18067b853d5.tar.bz2
spack-60104f916d63fa8a66f80c3bc945c18067b853d5.tar.xz
spack-60104f916d63fa8a66f80c3bc945c18067b853d5.zip
py-pypdf: new package (#46303)
* [py-pypdf] New package * [py-pypdf] added webpage
-rw-r--r--var/spack/repos/builtin/packages/py-pypdf/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pypdf/package.py b/var/spack/repos/builtin/packages/py-pypdf/package.py
new file mode 100644
index 0000000000..7a9896d17d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pypdf/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack.package import *
+
+
+class PyPypdf(PythonPackage):
+ """A pure-python PDF library capable of splitting, merging, cropping, and
+ transforming PDF files"""
+
+ homepage = "https://github.com/py-pdf/pypdf"
+ pypi = "pypdf/pypdf-4.3.1.tar.gz"
+
+ license("BSD-3-Clause", checked_by="qwertos")
+
+ version("4.3.1", sha256="b2f37fe9a3030aa97ca86067a56ba3f9d3565f9a791b305c7355d8392c30d91b")
+
+ depends_on("py-flit-core@3.9:3", type="build")
+ depends_on("py-typing-extensions@4:", when="^python@:3.10", type=("build", "run"))