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

MacPorts noreply at macports.org
Wed Mar 15 01:31:09 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 dgilman):

 Confirmed it works, I'm seeing a sensible PYTHONPATH:

 `PYTHONPATH='/opt/local/var/macports/build/_Users_david_macports-ports-
 local_python_py-
 pyproject_hooks/py311-pyproject_hooks/work/pyproject_hooks-1.0.0/src'`

 This is the Portfile with `test.env PYTHONPATH=${worksrcpath}/src`.

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


More information about the macports-tickets mailing list