[MacPorts] #65721: app portgroup: create new 1.1 version, utilizing callback mechanism
MacPorts
noreply at macports.org
Thu Sep 22 19:43:25 UTC 2022
#65721: app portgroup: create new 1.1 version, utilizing callback mechanism
--------------------------+-----------------------
Reporter: mascguy | Owner: mascguy
Type: enhancement | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: fixed | Keywords: portgroup
Port: gramps |
--------------------------+-----------------------
Comment (by jmroot):
Replying to [comment:10 mascguy]:
> * Set `app.executable` to the real binary, per Ryan's previous
suggestion. But this option is less simple than it could be, as it has to
be done within a phase. (Simply because `python.bin` isn't set correctly
until later.) For example:
>
> {{{
> post-build {
> # Can't do this outside of a phase, as `python.bin` isn't set to
selected Python version until later
> app.executable ${python.bin}/${name}
> }
> }}}
Why can't `app.executable` be set right after `python.default_version`?
BTW, it would have been helpful to reference #65716 in these laters
tickets and PRs, so someone who came in late could know what the actual
problem prompting all this was.
--
Ticket URL: <https://trac.macports.org/ticket/65721#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list