Skip to content

Commit 585d405

Browse files
committed
README: Mention 2.7.x patches related to MinGW support
1 parent b5241d1 commit 585d405

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

README.rst

+22-3
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,29 @@ Available branches
2828

2929
* `2.7.3-patches <https://github.com/python/cpython/compare/2.7...python-cmake-buildsystem:2.7.3-patches>`_:
3030

31-
* Fix build with GNU readline >= 6.3. - Apply to 2.7.3 and 2.7.4
31+
* Fix build with GNU readline >= 6.3.
32+
* Support for MinGW (building ``socket`` and ``ctypes`` modules is not supported).
33+
34+
*Apply to 2.7.3 and 2.7.4*
3235

3336
* `2.7.5-patches <https://github.com/python/cpython/compare/2.7...python-cmake-buildsystem:2.7.5-patches>`_:
3437

35-
* Fix build with GNU readline >= 6.3. - Apply to 2.7.5 and 2.7.6
38+
* Fix build with GNU readline >= 6.3.
39+
* Support for MinGW (building ``socket`` and ``ctypes`` modules is not supported).
40+
41+
*Apply to 2.7.5 and 2.7.6*
3642

3743
* `2.7.13-patches <https://github.com/python/cpython/compare/2.7...python-cmake-buildsystem:2.7.13-patches>`_:
3844

39-
* Support for VS2010 and VS2015. - Apply to 2.7.11, 2.7.12 and 2.7.14. See `PythonApplyPatches.cmake <https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/blob/master/cmake/PythonApplyPatches.cmake>`_
45+
* Support for VS2010 and VS2015.
46+
* Support for MinGW (building ``socket`` and ``ctypes`` modules is not supported).
47+
48+
*Apply to 2.7.11, 2.7.12 and 2.7.14*
4049

4150
* `2.7.15-patches <https://github.com/python/cpython/compare/2.7...python-cmake-buildsystem:2.7.15-patches>`_:
4251

4352
* Support for VS2010 and VS2015.
53+
* Support for MinGW (building ``socket`` and ``ctypes`` modules is not supported).
4454

4555
* `3.5.3-patches <https://github.com/python/cpython/compare/3.5...python-cmake-buildsystem:3.5.3-patches>`_:
4656

@@ -77,3 +87,12 @@ mentions that if code is going to end up in Python or the standard library,
7787
the PSF will require you to license code under "Academic Free License" or
7888
"Apache License 2.0".
7989

90+
How are the patches applied ?
91+
.............................
92+
93+
Patches associated with a given branches are generated using the ``git format-patch`` command and
94+
added to the relevant sub-directories of the ``python-cmake-buildsystem`` project. These are then
95+
automatically applied are configuration time using the `PythonApplyPatches <https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/blob/master/cmake/PythonApplyPatches.cmake>`_ CMake module.
96+
97+
Read more details at `python-cmake-buildsystem/patches/README.rst <https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/tree/master/patches>`_.
98+

0 commit comments

Comments
 (0)