source: trunk/dports/python/py-chainer/Portfile @ 143105

Last change on this file since 143105 was 138874, checked in by hum@…, 4 years ago

py-chainer: update to 1.1.1

File size: 1.3 KB
Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7
8github.setup        pfnet chainer 1.1.1 v
9name                py-chainer
10maintainers         hum openmaintainer
11license             MIT
12supported_archs     noarch
13
14description         A flexible framework of neural networks
15long_description    ${description}
16
17homepage            http://chainer.org/
18platforms           darwin
19
20python.versions     27 34
21
22if {${name} ne ${subport}} {
23    checksums           rmd160  d09dcb82a97bffeb14fd53ab271679c891eb95cb \
24                        sha256  e68a17eea76d3de6cb29cf228ad76dea1491c3b03724000feaedf60e1a6a8edd
25
26    depends_lib-append  port:py${python.version}-numpy \
27                        port:py${python.version}-scikit-learn
28
29    post-destroot {
30        # install additional documents
31        set docdir ${prefix}/share/doc/${subport}
32        xinstall -d ${destroot}${docdir}
33        xinstall -W ${worksrcpath} \
34            LICENSE README.md \
35            ${destroot}${docdir}
36        # install examples
37        foreach f [glob -directory ${worksrcpath}/examples *] {
38            copy $f ${destroot}${docdir}/examples/[file tail $f]
39        }
40    }
41
42    livecheck.type      none
43}
Note: See TracBrowser for help on using the repository browser.