[MacPorts] #67055: python portgroup overwrites PYTHONPATH in test.env

MacPorts noreply at macports.org
Mon Mar 13 07:45:59 UTC 2023


#67055: python portgroup overwrites PYTHONPATH in test.env
----------------------+------------------------
  Reporter:  dgilman  |      Owner:  reneeotten
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:           |
----------------------+------------------------

Comment (by jmroot):

 Replying to [comment:7 reneeotten]:
 > However, if the globbing is empty and thus as a result {{{PYTHONPATH}}}
 is so as well; this is set as {{{test.env-append}}} in the {{{pre-test}}}
 phase, which then overriden in the Portfile

 The main body of the Portfile is executed before any phases are run, so
 it's the other way round: the portgroup overrides the value set in the
 Portfile.

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


More information about the macports-tickets mailing list