summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJeremy Fix <Jeremy.fix@gmail.com>2024-02-23 13:58:11 +0100
committerGitHub <noreply@github.com>2024-02-23 05:58:11 -0700
commit2278816cb3a503b1a696edbadc9eb91cfe302abe (patch)
tree1b1df20bf9eb0011b721fc1578dd94e7d090a926 /var
parent4bd305b6d3cda136dbe9374aba6669315d9ba6e6 (diff)
downloadspack-2278816cb3a503b1a696edbadc9eb91cfe302abe.tar.gz
spack-2278816cb3a503b1a696edbadc9eb91cfe302abe.tar.bz2
spack-2278816cb3a503b1a696edbadc9eb91cfe302abe.tar.xz
spack-2278816cb3a503b1a696edbadc9eb91cfe302abe.zip
py-jwcrypto: new package (#42783)
* adds the spack recipe for py-jwcrypto * split long line to fix E501 * Specify versions for py-cryptography and py-typing-extensions Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-jwcrypto/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-jwcrypto/package.py b/var/spack/repos/builtin/packages/py-jwcrypto/package.py
new file mode 100644
index 0000000000..4220f3aed4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-jwcrypto/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2023 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 PyJwcrypto(PythonPackage):
+ """
+ JWCrypto is an implementation of the Javascript Object Signing and Encryption (JOSE)
+ Web Standards as they are being developed in the JOSE IETF Working Group and related
+ technology.
+
+ JWCrypto uses the Cryptography package for all the crypto functions.
+ """
+
+ homepage = "https://jwcrypto.readthedocs.io/en/latest/"
+ pypi = "jwcrypto/jwcrypto-1.5.4.tar.gz"
+ git = "https://github.com/latchset/jwcrypto"
+
+ maintainers("jeremyfix")
+
+ license("LGPL-3.0")
+
+ version("1.5.4", sha256="0815fbab613db99bad85691da5f136f8860423396667728a264bcfa6e1db36b0")
+
+ depends_on("py-setuptools", type="build")
+
+ depends_on("py-cryptography@3.4:", type=("build", "run"))
+ depends_on("py-typing-extensions@4.5:", type=("build", "run"))