[MacPorts] #48035: py27-chainer fails destroot

MacPorts noreply at macports.org
Fri Jun 12 12:08:26 PDT 2015


#48035: py27-chainer fails destroot
-----------------------------+----------------------
  Reporter:  mschamschula@…  |      Owner:  hum@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.3
Resolution:                  |   Keywords:  haspatch
      Port:  py-chainer      |
-----------------------------+----------------------

Comment (by mschamschula@…):

 Replying to [comment:4 larryv@…]:
 > The `python-1.0` portgroup creates the “examples” directory in a pre-
 destroot script. I think this would work.
 > {{{
 > #!diff
 > diff --git a/dports/python/py-chainer/Portfile b/dports/python/py-
 chainer/Portfile
 > index 0f4cbee..158ae7e 100644
 > --- a/dports/python/py-chainer/Portfile
 > +++ b/dports/python/py-chainer/Portfile
 > @@ -35,7 +35,7 @@ if {${name} ne ${subport}} {
 >              LICENSE README.md \
 >              ${destroot}${docdir}
 >          # install examples
 > -        copy ${worksrcpath}/examples ${destroot}${docdir}
 > +        copy -force ${worksrcpath}/examples ${destroot}${docdir}
 >      }
 >
 >      livecheck.type      none
 > }}}

 When experimenting I tried this very syntax, and it failed with the same
 error in the log.

-- 
Ticket URL: <https://trac.macports.org/ticket/48035#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list