Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uvw: add version 3.4.0 #23977

Merged
merged 3 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions recipes/uvw/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"3.4.0":
url: "https://github.com/skypjack/uvw/archive/v3.4.0_libuv_v1.48.tar.gz"
sha256: "c16600573871a5feeb524234b378ab832c8971b2a68d030c6bd0e3077d416ade"
"3.3.0":
url: "https://github.com/skypjack/uvw/archive/v3.3.0_libuv_v1.47.tar.gz"
sha256: "aabb17d3d8f0b3481b44e981c889dd4a2a6a3f1a96a4d01055e669f4b7d37d0e"
Expand All @@ -16,4 +19,12 @@
sha256: "3af4efa2842299490ec764f2148f85f4426dfb4f8d8aa436cc2d049db2b7b514"
"2.10.0":
url: "https://github.com/skypjack/uvw/archive/v2.10.0_libuv_v1.42.tar.gz"
sha256: "30b0ba97a94d5e652490c6b1b32c95e608263f21cf3bc606308d09b3e3a114bf"
libuv_version_mapping:
"3.4.0": "1.48.0"
"3.3.0": "1.47.0"
"3.2.0": "1.46.0"
"3.1.0": "1.45.0"
"2.12.1": "1.44.2"
"2.11.0": "1.43.0"
"2.10.0": "1.42.0"

Check failure on line 30 in recipes/uvw/all/conandata.yml

View workflow job for this annotation

GitHub Actions / Lint changed files (YAML files)

conandata.yml schema error

Schema outlined in https://github.com/conan-io/conan-center-index/blob/master/docs/adding_packages/conandata_yml_format.md#patches-fields is not followed. unexpected key not in schema 'libuv_version_mapping' in libuv_version_mapping: ^ (line: 23)
9 changes: 1 addition & 8 deletions recipes/uvw/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,7 @@ def _compilers_minimum_version(self):

@property
def _required_libuv_version(self):
return {
"3.3.0": "1.47.0",
"3.2.0": "1.46.0",
"3.1.0": "1.45.0",
"2.12.1": "1.44.2",
"2.11.0": "1.43.0",
"2.10.0": "1.42.0",
}[self.version]
return self.conan_data["libuv_version_mapping"][self.version]

def layout(self):
basic_layout(self, src_folder="src")
Expand Down
2 changes: 2 additions & 0 deletions recipes/uvw/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"3.4.0":
folder: "all"
"3.3.0":
folder: "all"
"3.2.0":
Expand Down