tl-expected: add v1.1.0; deprecated custom calver version (#46036)

* tl-expected: add v1.1.0; deprecated calver version
* tl-expected: fix url
This commit is contained in:
Wouter Deconinck 2024-09-12 14:08:37 -05:00 committed by GitHub
parent d4bc1b8be2
commit 94af1d2dfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,13 +10,15 @@ class TlExpected(CMakePackage):
"""C++11/14/17 std::expected with functional-style extensions.""" """C++11/14/17 std::expected with functional-style extensions."""
homepage = "https://tl.tartanllama.xyz/en/latest/" homepage = "https://tl.tartanllama.xyz/en/latest/"
url = "https://github.com/TartanLlama/expected/archive/1.0.0.tar.gz" url = "https://github.com/TartanLlama/expected/archive/refs/tags/v1.0.0.tar.gz"
git = "https://github.com/TartanLlama/expected.git" git = "https://github.com/TartanLlama/expected.git"
maintainers("charmoniumQ") maintainers("charmoniumQ")
license("CC0-1.0") license("CC0-1.0", checked_by="wdconinc")
version("1.1.0", sha256="1db357f46dd2b24447156aaf970c4c40a793ef12a8a9c2ad9e096d9801368df6")
with default_args(deprecated=True):
# Note that the 1.0.0 has this issue: # Note that the 1.0.0 has this issue:
# https://github.com/TartanLlama/expected/issues/114 # https://github.com/TartanLlama/expected/issues/114
# But no new patch version has been released, # But no new patch version has been released,
@ -24,4 +26,4 @@ class TlExpected(CMakePackage):
version("2022-11-24", commit="b74fecd4448a1a5549402d17ddc51e39faa5020c") version("2022-11-24", commit="b74fecd4448a1a5549402d17ddc51e39faa5020c")
version("1.0.0", sha256="8f5124085a124113e75e3890b4e923e3a4de5b26a973b891b3deb40e19c03cee") version("1.0.0", sha256="8f5124085a124113e75e3890b4e923e3a4de5b26a973b891b3deb40e19c03cee")
depends_on("cxx", type="build") # generated depends_on("cxx", type="build")