Skip to content

Commit 04caa02

Browse files
Nekto89AbrilRBS
andauthored
zlib-ng: add version 2.3.3 (conan-io#29507)
* zlib-ng: add version 2.3.3 * Removed old patch version, moved zlib compat version to conandata to avoid new revisions in future releases --------- Co-authored-by: Abril Rincón Blanco <5364255+AbrilRBS@users.noreply.github.com>
1 parent ecb667e commit 04caa02

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

recipes/zlib-ng/all/conandata.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
sources:
2-
"2.3.2":
3-
url: "https://github.com/zlib-ng/zlib-ng/archive/refs/tags/2.3.2.tar.gz"
4-
sha256: "6a0561b50b8f5f6434a6a9e667a67026f2b2064a1ffa959c6b2dae320161c2a8"
2+
"2.3.3":
3+
url: "https://github.com/zlib-ng/zlib-ng/archive/refs/tags/2.3.3.tar.gz"
4+
sha256: "f9c65aa9c852eb8255b636fd9f07ce1c406f061ec19a2e7d508b318ca0c907d1"
55
"2.2.5":
66
url: "https://github.com/zlib-ng/zlib-ng/archive/refs/tags/2.2.5.tar.gz"
77
sha256: "5b3b022489f3ced82384f06db1e13ba148cbce38c7941e424d6cb414416acd18"
8+
zlib_compat:
9+
"2.3.3": "1.3.1"
10+
"2.2.5": "1.3.1"

recipes/zlib-ng/all/conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _is_windows(self):
4949

5050
@property
5151
def _zlib_compat_version(self):
52-
return {"2.2.5": "1.3.1", "2.3.2": "1.3.1"}.get(self.version)
52+
return self.conan_data["zlib_compat"][self.version]
5353

5454
def config_options(self):
5555
if self._is_windows:

recipes/zlib-ng/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
versions:
2-
"2.3.2":
2+
"2.3.3":
33
folder: all
44
"2.2.5":
55
folder: all

0 commit comments

Comments
 (0)