svn commit: r462993 - head/math/py-theano
Yuri Victorovich
yuri at FreeBSD.org
Mon Feb 26 07:04:29 UTC 2018
Author: yuri
Date: Mon Feb 26 07:04:28 2018
New Revision: 462993
URL: https://svnweb.freebsd.org/changeset/ports/462993
Log:
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)
Modified:
head/math/py-theano/Makefile
Modified: head/math/py-theano/Makefile
==============================================================================
--- head/math/py-theano/Makefile Mon Feb 26 05:59:30 2018 (r462992)
+++ head/math/py-theano/Makefile Mon Feb 26 07:04:28 2018 (r462993)
@@ -12,6 +12,9 @@ DISTNAME= Theano-${DISTVERSION}
MAINTAINER= demon at 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}
@@ -20,5 +23,9 @@ 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>
More information about the svn-ports-all
mailing list