diff options
author | yuri <yuri@FreeBSD.org> | 2018-02-26 15:04:28 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2018-02-26 15:04:28 +0800 |
commit | 484243e63ec677563fc1a46fd88c098873204872 (patch) | |
tree | 0a10414d4f87e1a8b478dceb52e0e236388461c3 | |
parent | 2775b17ec9736f08cf19219b24284e4c0bf52a5b (diff) | |
download | freebsd-ports-gnome-484243e63ec677563fc1a46fd88c098873204872.tar.gz freebsd-ports-gnome-484243e63ec677563fc1a46fd88c098873204872.tar.zst freebsd-ports-gnome-484243e63ec677563fc1a46fd88c098873204872.zip |
math/py-theano: Unbroke the port.
Port changes:
* Fixed shebang and pythn intepreter in theano/misc/check_blas_many.sh
* While here, added LICENSE/LICENSE_FILE
Approved by: portmgr (port compliance, infrastructure)
Approved by: tcberner (mentor, implicit)
-rw-r--r-- | math/py-theano/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/math/py-theano/Makefile b/math/py-theano/Makefile index 8dabc6a1cd6e..fc6e5ba7baa7 100644 --- a/math/py-theano/Makefile +++ b/math/py-theano/Makefile @@ -12,6 +12,9 @@ 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@${FLAVOR} @@ -21,4 +24,8 @@ USE_PYTHON= concurrent distutils autoplist 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> |