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)
This commit is contained in:
Yuri Victorovich 2018-02-26 07:04:28 +00:00
parent a674b951fe
commit 5d37d55c1f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462993

View file

@ -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>