summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMichael Kuhn <suraia@ikkoku.de>2018-11-15 18:27:29 +0100
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-11-15 18:27:29 +0100
commitd4f8bd5b8d95f74089161176584d2851f632cdf6 (patch)
tree9c440a2f253a2d68bfde28d4c3746c948a2dce5a /var
parent480951c23178e4e56a00c79e06a35d3a7f7d3195 (diff)
downloadspack-d4f8bd5b8d95f74089161176584d2851f632cdf6.tar.gz
spack-d4f8bd5b8d95f74089161176584d2851f632cdf6.tar.bz2
spack-d4f8bd5b8d95f74089161176584d2851f632cdf6.tar.xz
spack-d4f8bd5b8d95f74089161176584d2851f632cdf6.zip
py-cryptography: add 2.3.1 (#9785)
Required for openssl@1.1 compatibility.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-cryptography/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-cryptography/package.py b/var/spack/repos/builtin/packages/py-cryptography/package.py
index d03bf4fb43..bf2ae8fb62 100644
--- a/var/spack/repos/builtin/packages/py-cryptography/package.py
+++ b/var/spack/repos/builtin/packages/py-cryptography/package.py
@@ -14,6 +14,7 @@ class PyCryptography(PythonPackage):
homepage = "https://pypi.python.org/pypi/cryptography"
url = "https://pypi.io/packages/source/c/cryptography/cryptography-1.8.1.tar.gz"
+ version('2.3.1', '8d10113ca826a4c29d5b85b2c4e045ffa8bad74fb525ee0eceb1d38d4c70dfd6')
version('1.8.1', '9f28a9c141995cd2300d0976b4fac3fb')
# dependencies taken from https://github.com/pyca/cryptography/blob/master/setup.py
@@ -24,4 +25,5 @@ class PyCryptography(PythonPackage):
depends_on('py-idna@2.1:', type=('build', 'run'))
depends_on('py-enum34', type=('build', 'run'), when='^python@:3.4')
depends_on('py-ipaddress', type=('build', 'run'), when='^python@:3.3')
+ depends_on('openssl@:1.0', when='@:1.8.1')
depends_on('openssl')