Skip to content

Commit

Permalink
(#15262) coin-osi : added 0.108.7
Browse files Browse the repository at this point in the history
* coin-osi : added 0.108.7

* coin-osi : requirement version management in conanfile
conandata 'requirements' is not allowed by conan-center hooks
  • Loading branch information
oleurodecision authored Jan 30, 2023
1 parent 5fafbab commit d276fd8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions recipes/coin-osi/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ sources:
"0.108.6":
url: "https://github.com/coin-or/Osi/archive/releases/0.108.6.tar.gz"
sha256: "984a5886825e2da9bf44d8a665f4b92812f0700e451c12baf9883eaa2315fad5"
"0.108.7":
url: "https://github.com/coin-or/Osi/archive/releases/0.108.7.tar.gz"
sha256: "f1bc53a498585f508d3f8d74792440a30a83c8bc934d0c8ecf8cd8bc0e486228"
patches:
"0.108.6":
- patch_file: "patches/0001-no-pkg-config-check.patch"
base_path: "source_subfolder"
"0.108.7":
- patch_file: "patches/0001-no-pkg-config-check.patch"
base_path: "source_subfolder"
5 changes: 4 additions & 1 deletion recipes/coin-osi/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ def configure(self):
del self.options.fPIC

def requirements(self):
self.requires("coin-utils/2.11.4")
if self.version == "0.108.6":
self.requires("coin-utils/2.11.4")
else:
self.requires("coin-utils/2.11.6")

def build_requirements(self):
self.build_requires("gnu-config/cci.20201022")
Expand Down
2 changes: 2 additions & 0 deletions recipes/coin-osi/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
versions:
"0.108.6":
folder: "all"
"0.108.7":
folder: "all"

0 comments on commit d276fd8

Please sign in to comment.