[MacPorts] #65903: python ports: inadvertent conflicts, due to files installed to ${python.prefix}: LICENSE, etc
MacPorts
noreply at macports.org
Mon Sep 26 15:45:45 UTC 2022
#65903: python ports: inadvertent conflicts, due to files installed to
${python.prefix}: LICENSE, etc
---------------------+---------------------------------------------
Reporter: mascguy | Owner: judaew
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: | Port: py-about-time py-pytest-datadir
---------------------+---------------------------------------------
Trying to install a smattering of Python ports - including those under the
umbrella of `py-pytest-xxx` - fails due to port-specific files installed
directly in `${python.prefix}`.
For example, `py-about-time` is one example:
{{{
$ port provides
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/LICENSE
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/LICENSE is
provided by: py310-about-time
}}}
Along with `py-pytest-datadir` (after first deactivating `py310-about-
time`, to allow activation):
{{{
$ port provides
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/LICENSE
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/LICENSE is
provided by: py310-pytest-datadir
}}}
Rather than placing the full onus on maintainers, though, we should check
for this in pg `python`. And cause the install to fail, if any such files
are found.
--
Ticket URL: <https://trac.macports.org/ticket/65903>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list