diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2019-02-09 12:10:58 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2019-02-09 12:10:58 +0000 |
commit | 1f395301fb730315b812c70c590a99d52abdbab6 (patch) | |
tree | b3e7989cbee94d871b88c9d1793b22b3f916986a | |
parent | Keras Preprocessing is the data preprocessing and data augmentation module of (diff) |
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)
Notes
Notes:
svn path=/head/; revision=492494
-rw-r--r-- | math/py-keras/Makefile | 9 | ||||
-rw-r--r-- | math/py-keras/files/pkg-message.in | 5 |
2 files changed, 12 insertions, 2 deletions
diff --git a/math/py-keras/Makefile b/math/py-keras/Makefile index 448ab3b16b34..512d85f4026f 100644 --- a/math/py-keras/Makefile +++ b/math/py-keras/Makefile @@ -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> diff --git a/math/py-keras/files/pkg-message.in b/math/py-keras/files/pkg-message.in new file mode 100644 index 000000000000..03b53c1eced3 --- /dev/null +++ b/math/py-keras/files/pkg-message.in @@ -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". +=== |