From f70a82044469aa23afc372133f24f24650feea8b Mon Sep 17 00:00:00 2001 From: Guillaume Egles Date: Tue, 3 Dec 2024 11:16:29 -0800 Subject: [PATCH] restinio: add version `0.7.3` --- recipes/restinio/config.yml | 2 ++ recipes/restinio/v0.7/conandata.yml | 3 +++ recipes/restinio/v0.7/conanfile.py | 9 +++++++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/recipes/restinio/config.yml b/recipes/restinio/config.yml index 385096b41a86b..ddbd46afd0c28 100644 --- a/recipes/restinio/config.yml +++ b/recipes/restinio/config.yml @@ -1,4 +1,6 @@ versions: + "0.7.3": + folder: "v0.7" "0.7.2": folder: "v0.7" "0.7.1": diff --git a/recipes/restinio/v0.7/conandata.yml b/recipes/restinio/v0.7/conandata.yml index 7eae58a5c9bb2..085f751d2addf 100644 --- a/recipes/restinio/v0.7/conandata.yml +++ b/recipes/restinio/v0.7/conandata.yml @@ -1,4 +1,7 @@ sources: + "0.7.3": + url: "https://github.com/Stiffstream/restinio/archive/v.0.7.3.tar.gz" + sha256: "6d9fcaf485bdd06d4a744896c6f0047d2c60914dcea3aabd9f476686f528b2f3" "0.7.2": url: "https://github.com/Stiffstream/restinio/archive/v.0.7.2.tar.gz" sha256: "8d48dcf0e01a30562d7357f95048f43fa7c08db69eabef00540d60a3278523cb" diff --git a/recipes/restinio/v0.7/conanfile.py b/recipes/restinio/v0.7/conanfile.py index 37231d374be65..caa4c63fc797d 100644 --- a/recipes/restinio/v0.7/conanfile.py +++ b/recipes/restinio/v0.7/conanfile.py @@ -36,8 +36,13 @@ def layout(self): def requirements(self): self.requires("llhttp/9.1.3") - self.requires("fmt/11.0.2") - self.requires("expected-lite/0.8.0") + + if Version(self.version) >= "0.7.3": + self.requires("fmt/11.0.2") + self.requires("expected-lite/0.8.0") + else: + self.requires("fmt/10.2.1") + self.requires("expected-lite/0.6.3") if self.options.asio == "standalone": self.requires("asio/1.31.0")