[py-tensorflow-hub] applied patch for newer version of zlib (#30664)
* [py-tensorflow-hub] applied patch for newer version of zlib * [py-tensorflow-hub] patch also applies to 0.11.0 * [py-tensorflow-hub] Audit fix 1. patch URL in package py-tensorflow-hub must end with ?full_index=1
This commit is contained in:
parent
f9aa7c611c
commit
b1ef5a75f0
@ -28,6 +28,10 @@ class PyTensorflowHub(Package):
|
|||||||
depends_on('py-numpy@1.12.0:', type=('build', 'run'))
|
depends_on('py-numpy@1.12.0:', type=('build', 'run'))
|
||||||
depends_on('py-protobuf@3.8.0:', type=('build', 'run'))
|
depends_on('py-protobuf@3.8.0:', type=('build', 'run'))
|
||||||
|
|
||||||
|
patch("https://github.com/tensorflow/hub/commit/049192a7edd3e80eebf1735b93f57c7965381bdb.patch?full_index=1",
|
||||||
|
sha256="a825b2dd96d8f1ff1aaf2e4c9e2cbb52d3d75609909fce960e1cfa681040c4c3",
|
||||||
|
when="@:0.12")
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
tmp_path = tempfile.mkdtemp(prefix='spack')
|
tmp_path = tempfile.mkdtemp(prefix='spack')
|
||||||
env['TEST_TMPDIR'] = tmp_path
|
env['TEST_TMPDIR'] = tmp_path
|
||||||
|
Loading…
Reference in New Issue
Block a user