[MacPorts] #63356: meson 0.58; trouble finding python.
MacPorts
noreply at macports.org
Wed Aug 11 15:09:57 UTC 2021
#63356: meson 0.58; trouble finding python.
--------------------------+---------------------------------------------
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:2 kencu]:
> almost every port we have that uses meson has a small patch to
meson.build and a reinplace after to spec the python you want. check any
for an example -- the glib2 I updated yesterday being the last one I did.
>
> this is kinda standard MP stuff.
>
> upstream expects a user to make "python3" mean something in their
system. MacPorts rejects requirement that requirement for port building,
although individual users can do that with python_select for their own
use.
>
> If you use python_select on your development machine to select a
python3, your portfile might build, but they will then error out on the
buildbots anyway until you do the patch-and-reinplace.
Got it. It just FEELS hacky, so I wanted to make sure that was the way to
go before I went that way.
--
Ticket URL: <https://trac.macports.org/ticket/63356#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list