From a8e140939831a447e0ac1c1ba70aaf9ddf12a917 Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 16 Dec 2018 14:54:39 +0000 Subject: [PATCH] py-Theano: updated to 1.0.3 Theano 1.0.3: - Theano is now compatible with Python 3.7 - Broadcasting for sparse dot products works correctly - Subtensor grads do not return int anymore --- math/py-Theano/ALTERNATIVES | 4 ++-- math/py-Theano/Makefile | 22 ++++++++++------------ math/py-Theano/PLIST | 6 +++--- math/py-Theano/distinfo | 10 +++++----- 4 files changed, 20 insertions(+), 22 deletions(-) diff --git a/math/py-Theano/ALTERNATIVES b/math/py-Theano/ALTERNATIVES index 587fceb3fa16..5e5c66072f92 100644 --- a/math/py-Theano/ALTERNATIVES +++ b/math/py-Theano/ALTERNATIVES @@ -1,2 +1,2 @@ -bin/theano-cache @PREFIX@/bin/theano-cache@PYVERSSUFFIX@ -bin/theano-nose @PREFIX@/bin/theano-nose@PYVERSSUFFIX@ +bin/theano-cache @PREFIX@/bin/theano-cache-@PYVERSSUFFIX@ +bin/theano-nose @PREFIX@/bin/theano-nose-@PYVERSSUFFIX@ diff --git a/math/py-Theano/Makefile b/math/py-Theano/Makefile index c1c5849bce2f..cea160e9c07b 100644 --- a/math/py-Theano/Makefile +++ b/math/py-Theano/Makefile @@ -1,39 +1,37 @@ -# $NetBSD: Makefile,v 1.2 2018/09/27 23:50:54 tnn Exp $ +# $NetBSD: Makefile,v 1.3 2018/12/16 14:54:39 adam Exp $ -DISTNAME= Theano-1.0.2 +DISTNAME= Theano-1.0.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= math python -MASTER_SITES= ${MASTER_SITE_GITHUB:=Theano/} -GITHUB_PROJECT= Theano -GITHUB_TAG= rel-${PKGVERSION_NOREV} +MASTER_SITES= ${MASTER_SITE_PYPI:=T/Theano/} MAINTAINER= jihbed.research@gmail.com HOMEPAGE= http://deeplearning.net/software/theano/ COMMENT= Optimizing compiler for evaluating mathematical expressions LICENSE= modified-bsd -DEPENDS+= ${PYPKGPREFIX}-nose>=1.3.7:../../devel/py-nose -DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six DEPENDS+= ${PYPKGPREFIX}-scipy>=0.17.0:../../math/py-scipy +DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six +TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8 +TEST_DEPENDS+= ${PYPKGPREFIX}-nose>=1.3.0:../../devel/py-nose +TEST_DEPENDS+= ${PYPKGPREFIX}-parameterized-[0-9]*:../../devel/py-parameterized USE_TOOLS+= bash USE_LANGUAGES= c c++ -PY_PATCHPLIST= yes - REPLACE_INTERPRETER+= bash REPLACE.bash.old= .*/bin/bash REPLACE.bash.new= ${SH} REPLACE_FILES.bash= theano/misc/check_blas_many.sh do-test: - ${RUN} cd {WRKSRC}/theano/tests && \ - ${SETENV} {TEST_ENV} ${PYTHONBIN} main.py + ${RUN} cd ${WRKSRC}/theano/tests && \ + ${SETENV} ${TEST_ENV} ${PYTHONBIN} main.py post-install: .for cmd in theano-cache theano-nose ${MV} ${DESTDIR}${PREFIX}/bin/${cmd} \ - ${DESTDIR}${PREFIX}/bin/${cmd}${PYVERSSUFFIX} + ${DESTDIR}${PREFIX}/bin/${cmd}-${PYVERSSUFFIX} || ${TRUE} .endfor .include "../../lang/python/egg.mk" diff --git a/math/py-Theano/PLIST b/math/py-Theano/PLIST index 34bd47d90f5b..e77382632071 100644 --- a/math/py-Theano/PLIST +++ b/math/py-Theano/PLIST @@ -1,6 +1,6 @@ -@comment $NetBSD: PLIST,v 1.1 2018/07/06 03:36:58 minskim Exp $ -bin/theano-cache${PYVERSSUFFIX} -bin/theano-nose${PYVERSSUFFIX} +@comment $NetBSD: PLIST,v 1.2 2018/12/16 14:54:39 adam Exp $ +bin/theano-cache-${PYVERSSUFFIX} +bin/theano-nose-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt diff --git a/math/py-Theano/distinfo b/math/py-Theano/distinfo index 7fc7ac8a9c66..331e3b45c657 100644 --- a/math/py-Theano/distinfo +++ b/math/py-Theano/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2018/07/06 03:36:58 minskim Exp $ +$NetBSD: distinfo,v 1.2 2018/12/16 14:54:39 adam Exp $ -SHA1 (Theano-1.0.2.tar.gz) = 906b9e1c75fe0f068f358d409bf15e3a37886ecc -RMD160 (Theano-1.0.2.tar.gz) = ca27d476104ba2e1d6f240986473d6e13d7e03ea -SHA512 (Theano-1.0.2.tar.gz) = 02bcb13fc69ff445a9d893e1fe3935bcd6f5e1efc8b4ab2f2ecfe19234a68f8a4b8e701444d619dc90d2414aa54f485aa86d09e2f08a753f179bd9607985920b -Size (Theano-1.0.2.tar.gz) = 13056284 bytes +SHA1 (Theano-1.0.3.tar.gz) = 213d2a5588dcd5166085e6a2a4f4167dd99fa499 +RMD160 (Theano-1.0.3.tar.gz) = 13beef29a656d6b314a9236f0f168527996d7ad2 +SHA512 (Theano-1.0.3.tar.gz) = e6cd0d4cbbeb654d3a289e9c2ed0cd1fedbfbe47d1a44a6e604104ad9fcfd01622bd8d0af622783c28d17fd31786b206f0456f8eeed332721eca66e7afba1f0b +Size (Theano-1.0.3.tar.gz) = 2831862 bytes