1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 2013-2022 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 PyCryptography(PythonPackage):
"""cryptography is a package which provides cryptographic recipes
and primitives to Python developers"""
homepage = "https://github.com/pyca/cryptography"
pypi = "cryptography/cryptography-1.8.1.tar.gz"
version('36.0.1', sha256='53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638')
version('35.0.0', sha256='9933f28f70d0517686bd7de36166dda42094eac49415459d9bdf5e7df3e0086d')
version('3.4.8', sha256='94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c')
version('3.4.7', sha256='3d10de8116d25649631977cb37da6cbdd2d6fa0e0281d014a5b7d337255ca713')
version('3.2.1', sha256='d3d5e10be0cf2a12214ddee45c6bd203dab435e3d83b4560c03066eda600bfe3')
version('2.7', sha256='e6347742ac8f35ded4a46ff835c60e68c22a536a8ae5c4422966d06946b6d4c6')
version('2.3.1', sha256='8d10113ca826a4c29d5b85b2c4e045ffa8bad74fb525ee0eceb1d38d4c70dfd6')
version('1.8.1', sha256='323524312bb467565ebca7e50c8ae5e9674e544951d28a2904a50012a8828190')
variant('idna', default=False, when='@2.5:3.0', description='Deprecated U-label support')
depends_on('python@3.6:', when='@3.4:', type=('build', 'run'))
depends_on('python@2.7:2.8,3.4:', when='@2.3.1:', type=('build', 'run'))
depends_on('python@2.6:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools@40.6:', when='@2.7:', type='build')
depends_on('py-setuptools@18.5:', when='@2.2:2.6', type='build')
depends_on('py-setuptools@11.3:', when='@:2.1', type='build')
depends_on('py-setuptools-rust@0.11.4:', when='@3.4:', type=('build', 'run'))
depends_on('py-cffi@1.12:', when='@3.3:', type=('build', 'run'))
depends_on('py-cffi@1.8:1.11.2,1.11.4:', when='@2.5:3.2', type=('build', 'run'))
depends_on('py-cffi@1.7:1.11.2,1.11.4:', when='@1.9:2.4.2', type=('build', 'run'))
depends_on('py-cffi@1.4.1:', type=('build', 'run'))
depends_on('py-asn1crypto@0.21.0:', type=('build', 'run'), when='@:2.7')
depends_on('py-six@1.4.1:', type=('build', 'run'), when='@:3.3')
depends_on('py-idna@2.1:', type=('build', 'run'), when='@:2.4') # deprecated
depends_on('py-idna@2.1:', type=('build', 'run'), when='@2.5: +idna') # deprecated
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')
|