pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-Theano py-Theano: updated to 1.0.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6cbe2b11c77
branches:  trunk
changeset: 316678:f6cbe2b11c77
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Dec 16 14:54:39 2018 +0000

description:
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:

 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(-)

diffs (89 lines):

diff -r 02d1f9f80ea5 -r f6cbe2b11c77 math/py-Theano/ALTERNATIVES
--- a/math/py-Theano/ALTERNATIVES       Sun Dec 16 14:45:02 2018 +0000
+++ b/math/py-Theano/ALTERNATIVES       Sun Dec 16 14:54:39 2018 +0000
@@ -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 -r 02d1f9f80ea5 -r f6cbe2b11c77 math/py-Theano/Makefile
--- a/math/py-Theano/Makefile   Sun Dec 16 14:45:02 2018 +0000
+++ b/math/py-Theano/Makefile   Sun Dec 16 14:54:39 2018 +0000
@@ -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@localhost
 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}-scipy>=0.17.0:../../math/py-scipy
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-DEPENDS+=      ${PYPKGPREFIX}-scipy>=0.17.0:../../math/py-scipy
+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 -r 02d1f9f80ea5 -r f6cbe2b11c77 math/py-Theano/PLIST
--- a/math/py-Theano/PLIST      Sun Dec 16 14:45:02 2018 +0000
+++ b/math/py-Theano/PLIST      Sun Dec 16 14:54:39 2018 +0000
@@ -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 -r 02d1f9f80ea5 -r f6cbe2b11c77 math/py-Theano/distinfo
--- a/math/py-Theano/distinfo   Sun Dec 16 14:45:02 2018 +0000
+++ b/math/py-Theano/distinfo   Sun Dec 16 14:54:39 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index