1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/math/py-theano/Makefile
Ruslan Makhmatkhanov ecd6662216 math/py-theano: update to 1.0.4
Changelog:
- Theano is now compatible with NumPy 1.16

PR:		236052
Approved by:	demon (maintainer)
2019-02-26 13:44:32 +00:00

33 lines
832 B
Makefile

# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
PORTNAME= theano
DISTVERSION= 1.0.4
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
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@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
USES= compiler:openmp python
USE_PYTHON= concurrent distutils autoplist
NO_ARCH= yes
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>