Ticket #50999: Portfile

File Portfile, 1.5 KB (added by hmeine (Hans Meine), 8 years ago)

simply version-bumped portfile

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 147046 2016-03-24 11:45:12Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-theano
8version             0.8.1
9revision            0
10categories-append   devel
11platforms           darwin
12license             BSD
13
14python.versions     27 33 34 35
15
16maintainers         stromnov openmaintainer
17
18description         Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs.
19long_description    ${description}
20
21homepage            http://deeplearning.net/software/theano/
22master_sites        pypi:T/Theano
23
24distname            Theano-${version}
25
26checksums           rmd160  38d7f4024158a4f41800e8721242a0a8a5ce4e15 \
27                    sha256  2f1d9ad7ecf136e7978a6720fa9286f7b02221c5599b935e9f7fa14cd29cb19d
28
29if {${name} ne ${subport}} {
30    depends_build-append \
31                        port:py${python.version}-setuptools
32    depends_lib-append  port:py${python.version}-numpy \
33                        port:py${python.version}-scipy
34
35    # Fix permissions (#43188)
36    post-extract {
37        fs-traverse item ${worksrcpath} {
38            if {[file isdirectory ${item}]} {
39                file attributes ${item} -permissions a+rx
40            } elseif {[file isfile ${item}]} {
41                file attributes ${item} -permissions a+r
42            }
43        }
44    }
45
46    livecheck.type      none
47} else {
48    livecheck.name      Theano
49    livecheck.type      pypi
50}