-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
44 lines (35 loc) · 1.44 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-theano
python.rootname Theano
version 1.0.5
revision 0
categories-append devel
license BSD
platforms {darwin any}
supported_archs noarch
python.versions 38
maintainers {stromnov @stromnov} openmaintainer
description Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs.
long_description {*}${description}
homepage http://deeplearning.net/software/theano/
checksums rmd160 b6203279973a6fda756ff5b62ffc2d8a5582e850 \
sha256 6e9439dd53ba995fcae27bf20626074bfc2fff446899dc5c53cb28c1f9202e89 \
size 2842778
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-setuptools \
port:py${python.version}-numpy \
port:py${python.version}-scipy \
port:py${python.version}-six
# Fix permissions (#43188)
post-extract {
fs-traverse item ${worksrcpath} {
if {[file isdirectory ${item}]} {
file attributes ${item} -permissions a+rx
} elseif {[file isfile ${item}]} {
file attributes ${item} -permissions a+r
}
}
}
}