summaryrefslogtreecommitdiff
path: root/math/py-Theano
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-12-16 14:54:39 +0000
committeradam <adam@pkgsrc.org>2018-12-16 14:54:39 +0000
commit3f475f7c611d5e52998ce3eff9859c515f81b40b (patch)
tree19c1f044942132c9ada50e93296d21655a4da2e4 /math/py-Theano
parente3ac0f3ba0cb31bd7ecdf5060779db030b404ad2 (diff)
downloadpkgsrc-3f475f7c611d5e52998ce3eff9859c515f81b40b.tar.gz
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
Diffstat (limited to 'math/py-Theano')
-rw-r--r--math/py-Theano/ALTERNATIVES4
-rw-r--r--math/py-Theano/Makefile22
-rw-r--r--math/py-Theano/PLIST6
-rw-r--r--math/py-Theano/distinfo10
4 files changed, 20 insertions, 22 deletions
diff --git a/math/py-Theano/ALTERNATIVES b/math/py-Theano/ALTERNATIVES
index 587fceb3fa1..5e5c66072f9 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 c1c5849bce2..cea160e9c07 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 34bd47d90f5..e7738263207 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 7fc7ac8a9c6..331e3b45c65 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