[MacPorts] #48035: py27-chainer fails destroot

MacPorts noreply at macports.org
Fri Jun 12 11:34:13 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 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
 }}}

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


More information about the macports-tickets mailing list