Skip to content

Commit 5b3d56d

Browse files
committed
Merge branch 'update-to-cmake-3.10.1'
* update-to-cmake-3.10.1: Update to CMake v3.10.1 script: Fix CMake version update script to support minor version with 2 digits
2 parents 3bf2184 + ceee403 commit 5b3d56d

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

CMakeUrls.cmake

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11

22
#-----------------------------------------------------------------------------
33
# CMake sources
4-
set(unix_source_url "https://cmake.org/files/v3.10/cmake-3.10.0.tar.gz")
5-
set(unix_source_sha256 "b3345c17609ea0f039960ef470aa099de9942135990930a57c14575aae884987")
4+
set(unix_source_url "https://cmake.org/files/v3.10/cmake-3.10.1.tar.gz")
5+
set(unix_source_sha256 "7be36ee24b0f5928251b644d29f5ff268330a916944ef4a75e23ba01e7573284")
66

7-
set(windows_source_url "https://cmake.org/files/v3.10/cmake-3.10.0.zip")
8-
set(windows_source_sha256 "1094abe1050e4b1b813dd22c91b5e64fc1d583b728b714883154a565065823d7")
7+
set(windows_source_url "https://cmake.org/files/v3.10/cmake-3.10.1.zip")
8+
set(windows_source_sha256 "4f1eb69d116574c0c2fddce618b04ce40f56b6920f5dff1b6ecb26a422e9d868")
99

1010
#-----------------------------------------------------------------------------
1111
# CMake binaries
1212

1313
set(linux32_binary_url "NA") # Linux 32-bit binaries not available
1414
set(linux32_binary_sha256 "NA")
1515

16-
set(linux64_binary_url "https://cmake.org/files/v3.10/cmake-3.10.0-Linux-x86_64.tar.gz")
17-
set(linux64_binary_sha256 "6b5ea290042fac96023fd5387cd65cc69fdf4f48bad91177eb8697ba37e3deb3")
16+
set(linux64_binary_url "https://cmake.org/files/v3.10/cmake-3.10.1-Linux-x86_64.tar.gz")
17+
set(linux64_binary_sha256 "f0f84761a254324ed9076c23fca502eb135ec49c0b752212a6298f317d303438")
1818

19-
set(macosx_binary_url "https://cmake.org/files/v3.10/cmake-3.10.0-Darwin-x86_64.tar.gz")
20-
set(macosx_binary_sha256 "1610b6bbc0f22659455e878be9f4be4c6ba57643dabf35d8dabeeb05e7213039")
19+
set(macosx_binary_url "https://cmake.org/files/v3.10/cmake-3.10.1-Darwin-x86_64.tar.gz")
20+
set(macosx_binary_sha256 "8684f9e084fe4a5565dd2b9538ba843832acb207955e71047a686219f928fb3d")
2121

22-
set(win32_binary_url "https://cmake.org/files/v3.10/cmake-3.10.0-win32-x86.zip")
23-
set(win32_binary_sha256 "dce666e897f95a88d3eed6cddd1faa3f44179d519b33ca6065b385bbc7072419")
22+
set(win32_binary_url "https://cmake.org/files/v3.10/cmake-3.10.1-win32-x86.zip")
23+
set(win32_binary_sha256 "6fe010cce1201d884cd7a9535db8a1f16d98b8965341251fde8f1c5069ee58c0")
2424

25-
set(win64_binary_url "https://cmake.org/files/v3.10/cmake-3.10.0-win64-x64.zip")
26-
set(win64_binary_sha256 "b530586b92241bc10aaaaa391bc9b8f1ae830a676050f9f5e6003d2ce6085abc")
25+
set(win64_binary_url "https://cmake.org/files/v3.10/cmake-3.10.1-win64-x64.zip")
26+
set(win64_binary_sha256 "8251f70c85b58f3ca1f24e4a3b0637e2d609b5e4a341d00b70e02e89244d5029")

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The suite of CMake tools were created by Kitware in response to the need
2020
for a powerful, cross-platform build environment for open-source projects
2121
such as ITK and VTK.
2222

23-
The CMake python wheels provide `CMake 3.10.0 <https://cmake.org/cmake/help/v3.10/index.html>`_.
23+
The CMake python wheels provide `CMake 3.10.1 <https://cmake.org/cmake/help/v3.10/index.html>`_.
2424

2525
This project is maintained by Jean-Christophe Fillion-Robin from Kitware Inc.
2626
It is covered by the `Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`_.

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The suite of CMake tools were created by Kitware in response to the need
1515
for a powerful, cross-platform build environment for open-source projects
1616
such as `ITK <https://www.itk.org>`_ and `VTK <http://www.vtk.org>`_.
1717

18-
The CMake python wheels provide `CMake 3.10.0 <https://cmake.org/cmake/help/v3.10/index.html>`_.
18+
The CMake python wheels provide `CMake 3.10.1 <https://cmake.org/cmake/help/v3.10/index.html>`_.
1919

2020
.. toctree::
2121
:maxdepth: 2

scripts/update_cmake_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def _update_file(filepath, regex, replacement):
148148

149149
def update_docs(version):
150150
pattern = re.compile(
151-
r"CMake \d.\d.\d <https://cmake.org/cmake/help/v\d.\d/index.html>")
151+
r"CMake \d.(\d)+.\d <https://cmake.org/cmake/help/v\d.(\d)+/index.html>")
152152
replacement = (
153153
"CMake %s <https://cmake.org/cmake/help/v%s/index.html>" % (
154154
version, _major_minor(version)))
@@ -157,7 +157,7 @@ def update_docs(version):
157157

158158

159159
def update_tests(version):
160-
pattern = re.compile(r'expected_version = "\d.\d.\d"')
160+
pattern = re.compile(r'expected_version = "\d.(\d)+.\d"')
161161
replacement = 'expected_version = "%s"' % version
162162
_update_file(os.path.join(
163163
ROOT_DIR, "tests/test_wheel.py"), pattern, replacement)

tests/test_wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def test_command_line(virtualenv, tmpdir):
1313

1414
virtualenv.run("pip install %s" % wheels[0])
1515

16-
expected_version = "3.10.0"
16+
expected_version = "3.10.1"
1717

1818
for executable_name in ["cmake", "cpack", "ctest"]:
1919
output = virtualenv.run(

0 commit comments

Comments
 (0)