|
12 | 12 | class Highfive(CMakePackage): |
13 | 13 | """HighFive - Header only C++ HDF5 interface""" |
14 | 14 |
|
15 | | - homepage = "https://github.com/BlueBrain/HighFive" |
16 | | - url = "https://github.com/BlueBrain/HighFive/archive/v1.2.tar.gz" |
17 | | - git = "https://github.com/BlueBrain/HighFive.git" |
| 15 | + homepage = "https://github.com/highfive-devs/highfive" |
| 16 | + git = "https://github.com/highfive-devs/highfive.git" |
| 17 | + |
18 | 18 | maintainers("1uc") |
19 | 19 |
|
20 | 20 | license("BSL-1.0") |
21 | 21 |
|
22 | 22 | version("develop", branch="master") |
| 23 | + version("3.2.0", sha256="01ea2eed7dbce1cf5dfff59476cfa113a7822b641aecbd99c674592fe7a4e630") |
| 24 | + version("3.1.1", sha256="622034f34badda41255d7793e1c5a3046954dcf0875b0bca076e7c77088a8890") |
| 25 | + version("3.0.0", sha256="cf9ad114b79bfa2c1deceefc6d4e710b882451ebaa81c063e2eb1de908e7c989") |
23 | 26 | version("2.10.1", sha256="60d66ba1315730494470afaf402bb40300a39eb6ef3b9d67263335a236069cce") |
24 | 27 | version("2.10.0", sha256="c29e8e1520e7298fabb26545f804e35bb3af257005c1c2df62e39986458d7c38") |
25 | 28 | version("2.9.0", sha256="6301def8ceb9f4d7a595988612db288b448a3c0546f6c83417dab38c64994d7e") |
@@ -66,3 +69,10 @@ def cmake_args(self): |
66 | 69 | self.define("HIGHFIVE_UNIT_TESTS", False), |
67 | 70 | self.define("HIGHFIVE_EXAMPLES", False), |
68 | 71 | ] |
| 72 | + |
| 73 | + def url_for_version(self, version): |
| 74 | + if version < Version("3.0.0"): |
| 75 | + url = "https://github.com/BlueBrain/HighFive/archive/v{0}.tar.gz" |
| 76 | + else: |
| 77 | + url = "https://github.com/highfive-devs/highfive/archive/v{0}.tar.gz" |
| 78 | + return url.format(version) |
0 commit comments