Skip to content

Commit 1d8c0f8

Browse files
cpp-sort: add version 2.0.0 (#28562)
* cpp-sort: add version 2.0.0 * cpp-sort 2.0.0 requires cppstd 17 * use correct version number
1 parent c592247 commit 1d8c0f8

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

recipes/cpp-sort/all/conandata.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
sources:
2+
"2.0.0":
3+
url: "https://github.com/Morwenn/cpp-sort/archive/refs/tags/v2.0.0.tar.gz"
4+
sha256: "050c32d397c095b76b6f6583d4a49266b9965db51064c00b8bb0e8c4c4437037"
25
"1.17.0":
36
url: "https://github.com/Morwenn/cpp-sort/archive/1.17.0.tar.gz"
47
sha256: "df6cbb805ff71e1b0a30fc1ed55696a2d8c70c3ab87447bee2b749e02415432e"

recipes/cpp-sort/all/conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class CppSortConan(ConanFile):
2323

2424
@property
2525
def _min_cppstd(self):
26-
return 14
26+
return 17 if Version(self.version) >= "2.0.0" else 14
2727

2828
@property
2929
def _compilers_minimum_version(self):

recipes/cpp-sort/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
versions:
2+
"2.0.0":
3+
folder: all
24
"1.17.0":
35
folder: all
46
"1.16.0":

0 commit comments

Comments
 (0)