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
This commit is contained in:
adam 2018-12-16 14:54:39 +00:00
parent 8e1b6c4b39
commit a8e1409398
4 changed files with 20 additions and 22 deletions

View file

@ -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@

View file

@ -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"

View file

@ -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

View file

@ -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