pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-Theano



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Dec 16 14:54:39 UTC 2018

Modified Files:
        pkgsrc/math/py-Theano: ALTERNATIVES Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/math/py-Theano/ALTERNATIVES \
    pkgsrc/math/py-Theano/PLIST pkgsrc/math/py-Theano/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/py-Theano/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-Theano/ALTERNATIVES
diff -u pkgsrc/math/py-Theano/ALTERNATIVES:1.1 pkgsrc/math/py-Theano/ALTERNATIVES:1.2
--- pkgsrc/math/py-Theano/ALTERNATIVES:1.1      Fri Jul  6 03:36:58 2018
+++ pkgsrc/math/py-Theano/ALTERNATIVES  Sun Dec 16 14:54:39 2018
@@ -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@
Index: pkgsrc/math/py-Theano/PLIST
diff -u pkgsrc/math/py-Theano/PLIST:1.1 pkgsrc/math/py-Theano/PLIST:1.2
--- pkgsrc/math/py-Theano/PLIST:1.1     Fri Jul  6 03:36:58 2018
+++ pkgsrc/math/py-Theano/PLIST Sun Dec 16 14:54:39 2018
@@ -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
Index: pkgsrc/math/py-Theano/distinfo
diff -u pkgsrc/math/py-Theano/distinfo:1.1 pkgsrc/math/py-Theano/distinfo:1.2
--- pkgsrc/math/py-Theano/distinfo:1.1  Fri Jul  6 03:36:58 2018
+++ pkgsrc/math/py-Theano/distinfo      Sun Dec 16 14:54:39 2018
@@ -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

Index: pkgsrc/math/py-Theano/Makefile
diff -u pkgsrc/math/py-Theano/Makefile:1.2 pkgsrc/math/py-Theano/Makefile:1.3
--- pkgsrc/math/py-Theano/Makefile:1.2  Thu Sep 27 23:50:54 2018
+++ pkgsrc/math/py-Theano/Makefile      Sun Dec 16 14:54:39 2018
@@ -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}-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"



Home | Main Index | Thread Index | Old Index