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