cfb8b4a92a
Package-Manager: Portage-2.3.53, Repoman-2.3.12 Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B Signed-off-by: Nils Freydank <holgersson@posteo.de>
35 lines
913 B
Bash
35 lines
913 B
Bash
# Copyright 2018 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python2_7 python3_6 )
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="A high-level neural networks API to several backends"
|
|
HOMEPAGE="https://keras.io"
|
|
SRC_URI="https://github.com/keras-team/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="
|
|
dev-python/h5py[${PYTHON_USEDEP}]
|
|
>=dev-python/numpy-1.9.1[${PYTHON_USEDEP}]
|
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
dev-python/six[${PYTHON_USEDEP}]
|
|
>=sci-libs/keras-applications-1.0.6[${PYTHON_USEDEP}]
|
|
>=sci-libs/keras-preprocessing-1.0.5[${PYTHON_USEDEP}]
|
|
sci-libs/scipy[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND=""
|
|
|
|
pkg_postinst(){
|
|
ewarn "To run keras you need one of the supported backends: TensorFlow, CNTK, or Theano."
|
|
ewarn "At least sci-libs/tensorflow is part of the main tree."
|
|
}
|