[137340] trunk/dports/python

hum at macports.org hum at macports.org
Tue Jun 9 08:29:12 PDT 2015


Revision: 137340
          https://trac.macports.org/changeset/137340
Author:   hum at macports.org
Date:     2015-06-09 08:29:12 -0700 (Tue, 09 Jun 2015)
Log Message:
-----------
New port: py-chainer @ 1.0.0 - A flexible framework of neural networks

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

Added: trunk/dports/python/py-chainer/Portfile
===================================================================
--- trunk/dports/python/py-chainer/Portfile	                        (rev 0)
+++ trunk/dports/python/py-chainer/Portfile	2015-06-09 15:29:12 UTC (rev 137340)
@@ -0,0 +1,42 @@
+# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           python 1.0
+PortGroup           github 1.0
+
+github.setup        pfnet chainer 1.0.0 v
+name                py-chainer
+maintainers         hum openmaintainer
+license             MIT
+
+description         A flexible framework of neural networks
+long_description    ${description}
+
+homepage            http://chainer.org/
+platforms           darwin
+
+python.versions     27
+
+if {${name} ne ${subport}} {
+    checksums           rmd160  35d1698023c20d6fc40ae2e68901320c8dd05ca4 \
+                        sha256  03249ee877ea715c20027db08e3a68d66ee678aae72b0cfe9c283d979d8147e9
+
+    depends_lib-append  port:py${python.version}-numpy \
+                        port:py${python.version}-scikit-learn
+
+    post-destroot {
+        # install additional documents
+        set docdir ${prefix}/share/doc/${subport}
+        xinstall -d ${destroot}${docdir}
+        xinstall -W ${worksrcpath} \
+            LICENSE README.md \
+            ${destroot}${docdir}
+        # install examples
+        set exroot ${prefix}/share/examples
+        xinstall -d ${destroot}${exroot}
+        copy ${worksrcpath}/examples ${destroot}${exroot}/${subport}
+    }
+
+    livecheck.type      none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150609/ff83b9b6/attachment.html>


More information about the macports-changes mailing list