Date: Sat, 9 Feb 2019 12:10:59 +0000 (UTC) From: Ruslan Makhmatkhanov <rm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492494 - in head/math/py-keras: . files Message-ID: <201902091210.x19CAxaR002033@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rm Date: Sat Feb 9 12:10:58 2019 New Revision: 492494 URL: https://svnweb.freebsd.org/changeset/ports/492494 Log: math/py-keras: fix runtime - add missing dependencies to fix keras runtime - add pkg-message to instruct user how to use keras in absence of tensorflow - bump PORTREVISION Approved by: portmgr (blanket approval) Added: head/math/py-keras/files/ head/math/py-keras/files/pkg-message.in (contents, props changed) Modified: head/math/py-keras/Makefile Modified: head/math/py-keras/Makefile ============================================================================== --- head/math/py-keras/Makefile Sat Feb 9 11:54:12 2019 (r492493) +++ head/math/py-keras/Makefile Sat Feb 9 12:10:58 2019 (r492494) @@ -2,7 +2,7 @@ PORTNAME= keras DISTVERSION= 2.2.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,12 +16,17 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.14:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}theano>=0.8.0:math/py-theano@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}h5py>=0:science/py-h5py@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}keras-applications>=1.0.6:math/py-keras-applications@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}keras-preprocessing>=1.0.5:math/py-keras-preprocessing@${PY_FLAVOR} USES= python USE_GITHUB= yes GH_ACCOUNT= keras-team USE_PYTHON= autoplist distutils + NO_ARCH= yes +SUB_FILES= pkg-message .include <bsd.port.mk> Added: head/math/py-keras/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-keras/files/pkg-message.in Sat Feb 9 12:10:58 2019 (r492494) @@ -0,0 +1,5 @@ +=== +There is no Tensorflow port currently in FreeBSD ports tree that is required +by Keras by default. To make Keras work with Theano backend, one need to modify +theirs $HOME/.keras/keras.json file and set "backend" option to "theano". +===
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902091210.x19CAxaR002033>