[MacPorts] #63356: meson PortGroup: find an easier method to set the desired python rather than patch-and-reinplace python in every port

MacPorts noreply at macports.org
Wed Aug 11 19:16:22 UTC 2021


#63356: meson PortGroup: find an easier method to set the desired python rather
than patch-and-reinplace python in every port
--------------------------+---------------------------------------------
  Reporter:  Lord-Kamina  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Low          |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  meson python python_select path
      Port:  meson        |
--------------------------+---------------------------------------------

Comment (by Lord-Kamina):

 Replying to [comment:4 kencu]:
 > It is unfortunate this is needed, and then has to be updated in many
 ports when the blessed python changes. But it is what we do.

 Do take note of something, though...

 From https://mesonbuild.com/Python-module.html#find_installation

 `That argument is optional, if not provided then the returned python
 installation will be the one used to run Meson.`

 I guess, for many ports just patching or running `reinplace` to change the
 call to `find_installation` could be enough.

-- 
Ticket URL: <https://trac.macports.org/ticket/63356#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list