blob: af0226dfca85d57d8488e571d1a5a70e5d2e0342 (
plain)
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
|
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
PORTNAME= theano
DISTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Theano-${DISTVERSION}
MAINTAINER= demon@FreeBSD.org
COMMENT= Optimizing compiler for evaluating math expressions on CPUs and GPUs
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>=0.8.0:science/py-scipy@${PY_FLAVOR}
USES= compiler:openmp python
USE_PYTHON= concurrent distutils autoplist
NO_ARCH= yes
SUB_FILES= pkg-message
SUB_LIST= CXX=${CXX}
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|; s|python |${PYTHON_CMD} |' \
${WRKSRC}/theano/misc/check_blas_many.sh
.include <bsd.port.mk>
|