Opened 13 years ago
Closed 13 years ago
#31925 closed defect (fixed)
py-matplotlib-basemap destroot fails
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | skymoo (Adam Mercer) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | py-matplotlib-basemap |
Description
Destroot of py-matplotlib-basemap fails with:
DEBUG: Executing org.macports.destroot (py-matplotlib-basemap) DEBUG: Executing proc-post-org.macports.destroot-destroot-0 DEBUG: Executing proc-post-org.macports.destroot-destroot-1 DEBUG: delete: /opt/local/var/macports/build/_Volumes_work_mports_dports_python_py-matplotlib-basemap/py-matplotlib-basemap/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/-.m/lib/python-.m/site-packages/mpl_toolkits/__init__.py Error: Target org.macports.destroot returned: /opt/local/var/macports/build/_Volumes_work_mports_dports_python_py-matplotlib-basemap/py-matplotlib-basemap/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/-.m/lib/python-.m/site-packages/mpl_toolkits/__init__.py: no such file or directory DEBUG: Backtrace: /opt/local/var/macports/build/_Volumes_work_mports_dports_python_py-matplotlib-basemap/py-matplotlib-basemap/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/-.m/lib/python-.m/site-packages/mpl_toolkits/__init__.py: no such file or directory while executing "$post $targetname" Warning: the following items did not execute (for py-matplotlib-basemap): org.macports.activate org.macports.destroot org.macports.install
There don't appear to be any ports with a dependency on py-matplotlib-basemap, so the problem is just if a user tries to install py-matplotlib-basemap directly. This should be fixed by restricting the port's post-destroot
block to when ${name} != ${subport}
.
Also, the livecheck should be restricted to when ${name} == ${subport}
.
Change History (3)
comment:1 Changed 13 years ago by skymoo (Adam Mercer)
Status: | new → assigned |
---|
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Ah yes, you're right, do set livecheck.type none
otherwise.
comment:3 Changed 13 years ago by skymoo (Adam Mercer)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
livecheck fixed in r86884
Note: See
TracTickets for help on using
tickets.
Thanks,
post-destroot
fixed in r86869.Regarding the livecheck, should
livecheck.type
be set tonone
otherwise?