https://bugs.kde.org/show_bug.cgi?id=419237

Pino Toscano <p...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/kig
                   |                            |/1fdeff25f5f113f4567ab100da
                   |                            |9df3f0f24c3ce8
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED
   Version Fixed In|                            |20.07.80

--- Comment #2 from Pino Toscano <p...@kde.org> ---
Git commit 1fdeff25f5f113f4567ab100da9df3f0f24c3ce8 by Pino Toscano.
Committed on 03/05/2020 at 08:08.
Pushed by pino into branch 'master'.

cmake: switch python & boost-python search to py3

Python 2 is EOL now, and Python 3 has been available in distros for
years already, so it is time to switch exclusively to Python 3.

The actual changes to the BoostPython module are:
- look for the python3 boost component (instead of python): while boost
  upstream does not provide it, most of the distros do; the alternative
  would be to look for the pythonXY components, which is not ideal...
- look for the python libraries >= 3, setting as additional versions
  for the cmake module all the non-EOL Python 3 versions
- set as Python versions for pkg-config all the non-EOL ones, using the
  embed version starting from Python 3.8 [1]

[1] https://bugs.python.org/issue36721
FIXED-IN: 20.07.80

M  +11   -9    cmake/modules/FindBoostPython.cmake

https://commits.kde.org/kig/1fdeff25f5f113f4567ab100da9df3f0f24c3ce8

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to