[MacPorts] #29628: py-virtualenv @1.6 Fails due to trying to install license.txt
MacPorts
noreply at macports.org
Sun May 29 02:36:40 PDT 2011
#29628: py-virtualenv @1.6 Fails due to trying to install license.txt
----------------------------------+-----------------------------------------
Reporter: remy.blank@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: py-virtualenv
----------------------------------+-----------------------------------------
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:
{{{
#!diff
--- Portfile 2011-05-16 23:00:19.000000000 +0200
+++ Portfile.fixed 2011-05-29 11:29:34.000000000 +0200
@@ -24,7 +24,7 @@
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath}/docs index.txt license.txt \
+ xinstall -m 644 -W ${worksrcpath}/docs index.txt \
${destroot}${prefix}/share/doc/${name}
move ${destroot}${prefix}/bin/virtualenv \
}}}
--
Ticket URL: <https://trac.macports.org/ticket/29628>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list