From owner-svn-ports-head@freebsd.org Sat Feb 9 12:10:59 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C930014E04B1; Sat, 9 Feb 2019 12:10:59 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D33969A96; Sat, 9 Feb 2019 12:10:59 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 622A46D1; Sat, 9 Feb 2019 12:10:59 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x19CAxkt002035; Sat, 9 Feb 2019 12:10:59 GMT (envelope-from rm@FreeBSD.org) Received: (from rm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x19CAxaR002033; Sat, 9 Feb 2019 12:10:59 GMT (envelope-from rm@FreeBSD.org) Message-Id: <201902091210.x19CAxaR002033@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rm set sender to rm@FreeBSD.org using -f From: Ruslan Makhmatkhanov Date: Sat, 9 Feb 2019 12:10:59 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: rm X-SVN-Commit-Paths: in head/math/py-keras: . files X-SVN-Commit-Revision: 492494 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 6D33969A96 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_SHORT(-0.95)[-0.947,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2019 12:11:00 -0000 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 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". +===