summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-09-16 13:05:37 -0500
committerGitHub <noreply@github.com>2019-09-16 13:05:37 -0500
commit4cce23d1d3b77aa9d6f16863917de8ad3174416d (patch)
tree1d2e02876acaf9ad85251c7833b87bddb79b00fa
parent0d64b12c586bb85f5318bf9eb35b1a8c49dad99c (diff)
downloadspack-4cce23d1d3b77aa9d6f16863917de8ad3174416d.tar.gz
spack-4cce23d1d3b77aa9d6f16863917de8ad3174416d.tar.bz2
spack-4cce23d1d3b77aa9d6f16863917de8ad3174416d.tar.xz
spack-4cce23d1d3b77aa9d6f16863917de8ad3174416d.zip
Add py-pyopenssl package (#12824)
-rw-r--r--var/spack/repos/builtin/packages/py-pyopenssl/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyopenssl/package.py b/var/spack/repos/builtin/packages/py-pyopenssl/package.py
new file mode 100644
index 0000000000..c829e00852
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyopenssl/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2019 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 PyPyopenssl(PythonPackage):
+ """High-level wrapper around a subset of the OpenSSL library.
+
+ Note: The Python Cryptographic Authority strongly suggests the use of
+ pyca/cryptography where possible. If you are using pyOpenSSL for anything
+ other than making a TLS connection you should move to cryptography and
+ drop your pyOpenSSL dependency."""
+
+ homepage = "https://pyopenssl.org/"
+ url = "https://pypi.io/packages/source/p/pyOpenSSL/pyOpenSSL-19.0.0.tar.gz"
+
+ version('19.0.0', sha256='aeca66338f6de19d1aa46ed634c3b9ae519a64b458f8468aec688e7e3c20f200')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-cryptography@2.3:', type=('build', 'run'))
+ depends_on('py-six@1.5.2:', type=('build', 'run'))