[MacPorts] #58004: py-backports and py-backports.weakref conflict
MacPorts
noreply at macports.org
Sat Feb 2 18:47:09 UTC 2019
#58004: py-backports and py-backports.weakref conflict
------------------------------------------------+--------------------
Reporter: mfacorcoran | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: py-backports py-backports.weakref |
------------------------------------------------+--------------------
Comment (by reneeotten):
yes, all {{{py-backports-*}}} port should probably have the code like
this:
{{{
depends_lib-append \
port:py${python.version}-backports
post-destroot {
foreach f {__init__.py __init__.pyc __init__.pyo __pycache__} {
set fp "${destroot}${python.pkgd}/backports/$f"
if {[file exists ${fp}]} {
file delete -force ${fp}
}
}
}}}
which is present in most of them, but indeed not in {{{py-
backports.weakref}}}, {{{py-backports.csv}}} and {{{py-backports_abc}}}.
It's probably good to see whether these ports are indeed affected by this,
and make this change when needed.
--
Ticket URL: <https://trac.macports.org/ticket/58004#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list