[137987] trunk/dports/python/py-chainer/Portfile

hum at macports.org hum at macports.org
Wed Jun 24 03:13:21 PDT 2015


Revision: 137987
          https://trac.macports.org/changeset/137987
Author:   hum at macports.org
Date:     2015-06-24 03:13:20 -0700 (Wed, 24 Jun 2015)
Log Message:
-----------
py-chainer: update to 1.0.1; fix to copy examples

Modified Paths:
--------------
    trunk/dports/python/py-chainer/Portfile

Modified: trunk/dports/python/py-chainer/Portfile
===================================================================
--- trunk/dports/python/py-chainer/Portfile	2015-06-24 07:32:30 UTC (rev 137986)
+++ trunk/dports/python/py-chainer/Portfile	2015-06-24 10:13:20 UTC (rev 137987)
@@ -5,9 +5,8 @@
 PortGroup           python 1.0
 PortGroup           github 1.0
 
-github.setup        pfnet chainer 1.0.0 v
+github.setup        pfnet chainer 1.0.1 v
 name                py-chainer
-revision            1
 maintainers         hum openmaintainer
 license             MIT
 supported_archs     noarch
@@ -21,8 +20,8 @@
 python.versions     27
 
 if {${name} ne ${subport}} {
-    checksums           rmd160  35d1698023c20d6fc40ae2e68901320c8dd05ca4 \
-                        sha256  03249ee877ea715c20027db08e3a68d66ee678aae72b0cfe9c283d979d8147e9
+    checksums           rmd160  2aa11e25b888d9467613c282362c1ae155293e74 \
+                        sha256  48ff78a2ae8c3932fa8d1e1721f3fcabb48aaeb80950a0f6b377d490e5d69329
 
     depends_lib-append  port:py${python.version}-numpy \
                         port:py${python.version}-scikit-learn
@@ -35,7 +34,9 @@
             LICENSE README.md \
             ${destroot}${docdir}
         # install examples
-        copy ${worksrcpath}/examples ${destroot}${docdir}
+        foreach f [glob -directory ${worksrcpath}/examples *] {
+            copy $f ${destroot}${docdir}/examples/[file tail $f]
+        }
     }
 
     livecheck.type      none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150624/d4095996/attachment.html>


More information about the macports-changes mailing list