forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reinstantiate rust-bootstrap variant for py-cryptography
- Loading branch information
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ class PyCryptography(PythonPackage): | |
version("1.8.1", sha256="323524312bb467565ebca7e50c8ae5e9674e544951d28a2904a50012a8828190") | ||
|
||
variant("idna", default=False, when="@2.5:3.0", description="Deprecated U-label support") | ||
variant("rust_bootstrap", default=False, when="@3.4.3:", description="Use pre-compiled Rust") | ||
|
||
# distutils required in version <= 40 | ||
depends_on("python@:3.11", when="@:40", type=("build", "run")) | ||
|
@@ -52,10 +53,12 @@ class PyCryptography(PythonPackage): | |
depends_on("[email protected]:", when="@42", type=("build", "run")) | ||
depends_on("[email protected]:", when="@3.4.2:", type="build") | ||
depends_on("[email protected]:", when="@3.4:3.4.1", type=("build", "run")) | ||
depends_on("[email protected]:", when="@41:", type="build") | ||
depends_on("[email protected]:", when="@38:", type="build") | ||
depends_on("[email protected]:", when="@3.4.5:", type="build") | ||
depends_on("[email protected]:", when="@3.4.3:3.4.4", type="build") | ||
with when("~rust_bootstrap"): | ||
depends_on("[email protected]:", when="@41:", type="build") | ||
depends_on("[email protected]:", when="@38:", type="build") | ||
depends_on("[email protected]:", when="@3.4.5:", type="build") | ||
depends_on("[email protected]:", when="@3.4.3:3.4.4", type="build") | ||
depends_on("rust-bootstrap", when="+rust_bootstrap", type="build") | ||
depends_on("pkgconfig", when="@40:", type="build") | ||
|
||
depends_on("[email protected]:", when="@3.3:", type=("build", "run")) | ||
|