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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-theano |
---|
8 | version 0.8.1 |
---|
9 | revision 0 |
---|
10 | categories-append devel |
---|
11 | platforms darwin |
---|
12 | license BSD |
---|
13 | |
---|
14 | python.versions 27 33 34 35 |
---|
15 | |
---|
16 | maintainers stromnov openmaintainer |
---|
17 | |
---|
18 | description Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs. |
---|
19 | long_description ${description} |
---|
20 | |
---|
21 | homepage http://deeplearning.net/software/theano/ |
---|
22 | master_sites pypi:T/Theano |
---|
23 | |
---|
24 | distname Theano-${version} |
---|
25 | |
---|
26 | checksums rmd160 38d7f4024158a4f41800e8721242a0a8a5ce4e15 \ |
---|
27 | sha256 2f1d9ad7ecf136e7978a6720fa9286f7b02221c5599b935e9f7fa14cd29cb19d |
---|
28 | |
---|
29 | if {${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 | } |
---|