commit:     ad3df1f1741ceb5db695a0aff1c7b5b32b1f7292
Author:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 17 06:40:33 2021 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Wed Nov 17 06:40:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad3df1f1

sci-libs/tensorflow-estimator: Add keras dep

tf-estimator and keras are both in PDEPEND in tensorflow but
tf-estimator fails API generation if TF cannot import keras so depend on
it here to make sure keras is installed first.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>

 sci-libs/tensorflow-estimator/tensorflow-estimator-2.7.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-libs/tensorflow-estimator/tensorflow-estimator-2.7.0.ebuild 
b/sci-libs/tensorflow-estimator/tensorflow-estimator-2.7.0.ebuild
index f6b9563e4cf6..f5176e8c9bc9 100644
--- a/sci-libs/tensorflow-estimator/tensorflow-estimator-2.7.0.ebuild
+++ b/sci-libs/tensorflow-estimator/tensorflow-estimator-2.7.0.ebuild
@@ -25,7 +25,9 @@ bazel_external_uris="
 SRC_URI="https://github.com/tensorflow/${MY_PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz
        ${bazel_external_uris}"
 
-RDEPEND="sci-libs/tensorflow[python,${PYTHON_USEDEP}]"
+RDEPEND="
+       sci-libs/tensorflow[python,${PYTHON_USEDEP}]
+       sci-libs/keras[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}"
 BDEPEND="
        app-arch/unzip

Reply via email to