summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2021-11-16 22:40:33 -0800
committerJason Zaman <perfinion@gentoo.org>2021-11-16 22:40:46 -0800
commitad3df1f1741ceb5db695a0aff1c7b5b32b1f7292 (patch)
treec609f9327c29fa26effe609386a2b2efb3280634 /sci-libs/tensorflow-estimator
parentdev-ruby/hashr: cleanup (diff)
downloadgentoo-ad3df1f1741ceb5db695a0aff1c7b5b32b1f7292.tar.gz
gentoo-ad3df1f1741ceb5db695a0aff1c7b5b32b1f7292.tar.bz2
gentoo-ad3df1f1741ceb5db695a0aff1c7b5b32b1f7292.zip
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@gentoo.org>
Diffstat (limited to 'sci-libs/tensorflow-estimator')
-rw-r--r--sci-libs/tensorflow-estimator/tensorflow-estimator-2.7.0.ebuild4
1 files changed, 3 insertions, 1 deletions
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