Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2018 07:04:29 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462993 - head/math/py-theano
Message-ID:  <201802260704.w1Q74TiT036561@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802260704.w1Q74TiT036561>