py-cryptography: add 38.0.1 (#32809)

* py-cryptography: add 38.0.1

* Fix rust dependency
This commit is contained in:
Manuela Kuhn 2022-09-26 18:38:01 +02:00 committed by GitHub
parent b1fda5dd64
commit f8e23b4fbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,7 @@ class PyCryptography(PythonPackage):
homepage = "https://github.com/pyca/cryptography"
pypi = "cryptography/cryptography-1.8.1.tar.gz"
version("38.0.1", sha256="1db3d807a14931fa317f96435695d9ec386be7b84b618cc61cfa5d08b0ae33d7")
version("36.0.1", sha256="53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638")
version("35.0.0", sha256="9933f28f70d0517686bd7de36166dda42094eac49415459d9bdf5e7df3e0086d")
version("3.4.8", sha256="94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c")
@ -28,10 +29,14 @@ class PyCryptography(PythonPackage):
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@40.6:60.8,60.9.1:", when="@37:", type="build")
depends_on("py-setuptools@40.6:", when="@2.7:36", 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("rust@1.48:", when="@38:", type="build")
depends_on("rust@1.41:", when="@3.4.5:", type="build")
depends_on("rust@1.45:", when="@3.4.3:3.4.4", type="build")
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"))