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

MacPorts noreply at macports.org
Mon Mar 6 17:47:57 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):

 If a *.env option is set to something like `FOO=a FOO=b`, the actual FOO
 environment variable will be set to each value in succession, so
 effectively only the last occurrence of each variable counts. Since the
 portgroup is adding its value in pre-test, it will usually be the one that
 counts, and so it must be setting an empty value in this particular case.

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


More information about the macports-tickets mailing list