#29628 closed defect (fixed)
py-virtualenv @1.6 Fails due to trying to install license.txt
Reported by: | remy.blank@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | saispo@… | |
Port: | py-virtualenv |
Description
Upgrading py-virtualenv to @1.6 fails with the following error:
xinstall: index.txt -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-virtualenv/work/destroot/opt/local/share/doc/py-virtualenv/index.txt Error: Target org.macports.destroot returned: xinstall: Cannot stat: license.txt, No such file or directory Warning: the following items did not execute (for py-virtualenv): org.macports.destroot Log for py-virtualenv is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-virtualenv/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets>
This is due to trying to install license.txt, which doesn't seem to be there anymore. The py25-virtualenv and following ports have been fixed for that, so I assume the following patch should fix the issue:
-
Portfile
old new 24 24 25 25 post-destroot { 26 26 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 27 xinstall -m 644 -W ${worksrcpath}/docs index.txt license.txt\27 xinstall -m 644 -W ${worksrcpath}/docs index.txt \ 28 28 ${destroot}${prefix}/share/doc/${name} 29 29 30 30 move ${destroot}${prefix}/bin/virtualenv \
Change History (3)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | saispo@… added |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Thanks. Fixed in r79002.