Skip to content

Commit 512a691

Browse files
authored
cli11: new version 2.6 and add maintainer (spack#2017)
* cli11: new version 2.6 and add maintainer * Replace with 2.6.1 which works on macos
1 parent 92ba93d commit 512a691

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

repos/spack_repo/builtin/packages/cli11/package.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ class Cli11(CMakePackage):
1313

1414
homepage = "https://cliutils.github.io/CLI11/book/"
1515
url = "https://github.com/CLIUtils/CLI11/archive/v1.9.1.tar.gz"
16-
maintainers("nightlark")
16+
maintainers("nightlark", "sethrj")
1717

1818
license("BSD-3-Clause")
1919

20+
version("2.6.1", sha256="377691f3fac2b340f12a2f79f523c780564578ba3d6eaf5238e9f35895d5ba95")
2021
version("2.5.0", sha256="17e02b4cddc2fa348e5dbdbb582c59a3486fa2b2433e70a0c3bacb871334fd55")
2122
version("2.4.2", sha256="f2d893a65c3b1324c50d4e682c0cdc021dd0477ae2c048544f39eed6654b699a")
2223
version("2.4.1", sha256="73b7ec52261ce8fe980a29df6b4ceb66243bb0b779451dbd3d014cfec9fdbb58")
@@ -39,9 +40,10 @@ class Cli11(CMakePackage):
3940

4041
depends_on("cxx", type="build")
4142

42-
depends_on("[email protected]:", type="build")
43-
depends_on("[email protected]:", type="build", when="@2.4:")
44-
depends_on("[email protected]:", type="build", when="@2.5:")
43+
depends_on("[email protected]:", type="build", when="@:2.3")
44+
depends_on("[email protected]:", type="build", when="@2.4")
45+
depends_on("[email protected]:", type="build", when="@2.5")
46+
depends_on("[email protected]:", type="build", when="@2.6:")
4547

4648
def cmake_args(self):
4749
args = [

0 commit comments

Comments
 (0)