summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libssh2/package.py
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-08-08 09:29:49 -0500
committerGitHub <noreply@github.com>2023-08-08 09:29:49 -0500
commit361632fc4be915651fe5751bf499c069b3ca168c (patch)
treec6637d8cc0067ab5e1e1b26cca0d83376df8f647 /var/spack/repos/builtin/packages/libssh2/package.py
parent6576655137b847af102ebcea20278a6d4f9f09e7 (diff)
downloadspack-361632fc4be915651fe5751bf499c069b3ca168c.tar.gz
spack-361632fc4be915651fe5751bf499c069b3ca168c.tar.bz2
spack-361632fc4be915651fe5751bf499c069b3ca168c.tar.xz
spack-361632fc4be915651fe5751bf499c069b3ca168c.zip
Ensure that all variants have a description (#39025)
* Ensure that all variants have a description * Update mock packages too * Fix test invocations * Black fix * mgard: update variant descriptions * flake8 fix * black fix * Add to audit tests * Relax type hints * Older Python support * Undo all changes to mock packages * Flake8 fix
Diffstat (limited to 'var/spack/repos/builtin/packages/libssh2/package.py')
-rw-r--r--var/spack/repos/builtin/packages/libssh2/package.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/libssh2/package.py b/var/spack/repos/builtin/packages/libssh2/package.py
index 49619345e6..512087a1c7 100644
--- a/var/spack/repos/builtin/packages/libssh2/package.py
+++ b/var/spack/repos/builtin/packages/libssh2/package.py
@@ -23,7 +23,12 @@ class Libssh2(AutotoolsPackage, CMakePackage):
build_system("autotools", "cmake", default="autotools")
- variant("crypto", default="openssl", values=("openssl", conditional("mbedtls", when="@1.8:")))
+ variant(
+ "crypto",
+ default="openssl",
+ description="The backend to use for cryptography",
+ values=("openssl", conditional("mbedtls", when="@1.8:")),
+ )
variant("shared", default=True, description="Build shared libraries")
with when("build_system=cmake"):