summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJoshua S Brown <joshbro42867@yahoo.com>2020-12-24 21:54:23 -0700
committerGitHub <noreply@github.com>2020-12-24 22:54:23 -0600
commit4c8b773a427e4a0be69d86c63d7969d47799f870 (patch)
treef45ee0f5b588364a3d5ad09553a787a7f784f197 /var
parent0a32e57e51a591e48ff5c02229ee5e108d780ad1 (diff)
downloadspack-4c8b773a427e4a0be69d86c63d7969d47799f870.tar.gz
spack-4c8b773a427e4a0be69d86c63d7969d47799f870.tar.bz2
spack-4c8b773a427e4a0be69d86c63d7969d47799f870.tar.xz
spack-4c8b773a427e4a0be69d86c63d7969d47799f870.zip
Add pem package file (#20447)
* Add pem package file * Cleanup formatting * Replace homepage with url to ReadtheDocs * Simplify package description
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pem/package.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pem/package.py b/var/spack/repos/builtin/packages/py-pem/package.py
new file mode 100644
index 0000000000..90f023f3b9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pem/package.py
@@ -0,0 +1,29 @@
+# Copyright 2013-2020 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 import *
+
+
+class PyPem(PythonPackage):
+ """
+ pem is an MIT-licensed Python module for parsing and splitting of PEM
+ files, i.e. Base64 encoded DER keys and certificates.
+ """
+
+ homepage = "https://pem.readthedocs.io/en/stable/"
+ url = "https://github.com/hynek/pem/archive/20.1.0.tar.gz"
+
+ version('20.1.0', sha256='140df7388f72bdf95d5a40e152cfda4fd62856b8320a9a808ffdc2bee37d5c36')
+ version('19.3.0', sha256='22c526314db05559d5a6b0661aa6a21f26a1ad9f6f10a6ba2d386534ad12b175')
+ version('19.2.0', sha256='93772e1574c8ff3442e553025fe42ed66cea3abff7ce75363baffa8eb606e596')
+ version('19.1.0', sha256='da4035ce675c0bd572e9e1b75e30c38553610a7d861460299ee18d72928379de')
+ version('18.2.0', sha256='18d8440b62ae264343da72b0f6df934291c2fcdaffbeaf249150a3fe76751ed5')
+ version('18.1.0', sha256='6bcb3474d112c9dc4aca6900e6b4967cbc1db11f693c8e535f728be2f5620604')
+ version('17.1.0', sha256='f33191c11e0bcba2c3d36dc5cfeefe5cc692778a4d33e2a51e56ed7c2c22a4ce')
+ version('16.1.0', sha256='5204e85da8561e98f96fa0be9aec6e15ee9fd40499fb4ec533e0513a42effa0b')
+ version('16.0.0', sha256='a7a00aa4e1e82d39ae78f7705b0e5dfc7d7b2cf8a16ee073c24af330f75b421e')
+ version('15.0.0', sha256='e93e3cfc017fca98223e9842f9ce5df1ad58bf5b4fb1fe82092fd1b778c187e1')
+
+ depends_on('py-setuptools', type='build')