summaryrefslogtreecommitdiff
path: root/math/py-Theano/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-06-15 18:01:47 +0000
committeradam <adam@pkgsrc.org>2019-06-15 18:01:47 +0000
commit36bad9d44a6e90d6a81e75bb4f6ebca46b26baf5 (patch)
tree6d1e46fa19c49a4b7fe61048e2669681cfa2f8f8 /math/py-Theano/Makefile
parent2c47661c058e8ce49c511cf8ba02f99dafb443bd (diff)
downloadpkgsrc-36bad9d44a6e90d6a81e75bb4f6ebca46b26baf5.tar.gz
py-Theano: updated to 1.0.4
Theano 1.0.4: This is a maintenance release of Theano, version 1.0.4, with no new features, but some important bug fixes.
Diffstat (limited to 'math/py-Theano/Makefile')
-rw-r--r--math/py-Theano/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/math/py-Theano/Makefile b/math/py-Theano/Makefile
index cea160e9c07..e414687a49f 100644
--- a/math/py-Theano/Makefile
+++ b/math/py-Theano/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2018/12/16 14:54:39 adam Exp $
+# $NetBSD: Makefile,v 1.4 2019/06/15 18:01:47 adam Exp $
-DISTNAME= Theano-1.0.3
+DISTNAME= Theano-1.0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=T/Theano/}
@@ -24,15 +24,16 @@ 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
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-scipy
+
+zz-do-test:
+ 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} || ${TRUE}
-.endfor
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} theano-cache theano-cache-${PYVERSSUFFIX} && \
+ ${MV} theano-nose theano-nose-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../math/py-numpy/buildlink3.mk"