Revert "sci-libs/tensorflow: drop unneeded dep for zip"
authorJason Zaman <perfinion@gentoo.org>
Wed, 11 Dec 2019 05:28:33 +0000 (13:28 +0800)
committerJason Zaman <perfinion@gentoo.org>
Wed, 11 Dec 2019 08:54:56 +0000 (16:54 +0800)
This reverts commit 48e9fe547f482a4500d7aa5e080703f85de636f3.

These ones need to be the exact archives specified in the WORKSPACE
file.

Bazel fetches distfiles and verifies the hashes match. Switching zips to
tarballs will mean the filenames and hashes are wrong so bazel will fall
back to fetching from the internet, which breaks with network-sandbox.

Signed-off-by: Jason Zaman <perfinion@gentoo.org>
sci-libs/tensorflow/tensorflow-1.15.0.ebuild
sci-libs/tensorflow/tensorflow-2.0.0.ebuild
sci-libs/tensorflow/tensorflow-2.1.0_rc0.ebuild

index 34f6deb7f78965142ce094ded1826576249383e5..5508bef6fa223992940aabd7235e487ad72dd05b 100644 (file)
@@ -101,6 +101,7 @@ PDEPEND="python? (
                =sci-libs/tensorflow-estimator-1*[${PYTHON_USEDEP}]
        )"
 BDEPEND="
+       app-arch/unzip
        >=dev-libs/protobuf-3.6.0
        dev-java/java-config
        dev-python/mock
index bdc3e475883f3afa297d0a051971bbcf6879d1ff..e70af54032ea4fdeda084ba0dbdf179794a80df6 100644 (file)
@@ -101,6 +101,7 @@ PDEPEND="python? (
                >=sci-libs/tensorflow-estimator-2.0.0[${PYTHON_USEDEP}]
        )"
 BDEPEND="
+       app-arch/unzip
        >=dev-libs/protobuf-3.6.0
        dev-java/java-config
        dev-python/mock
index d936f061120e00e4cb8d63567836f68ae92ca5d4..1cd5f24b761002f3bb6ab2cee505923752bd1fd3 100644 (file)
@@ -106,6 +106,7 @@ PDEPEND="python? (
                >=sci-libs/tensorflow-estimator-2.0.0[${PYTHON_USEDEP}]
        )"
 BDEPEND="
+       app-arch/unzip
        >=dev-libs/protobuf-3.8.0
        dev-java/java-config
        dev-lang/swig