diff options
author | Jen Herting <jen@herting.cc> | 2022-05-18 16:21:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-18 13:21:21 -0700 |
commit | b1ef5a75f0f46130b19ee0b6662626164a98f772 (patch) | |
tree | b384f2c5c6e89a5fcff9be7d5966442f122b4c8c | |
parent | f9aa7c611cfa084a5237381389c9b169f61b094a (diff) | |
download | spack-b1ef5a75f0f46130b19ee0b6662626164a98f772.tar.gz spack-b1ef5a75f0f46130b19ee0b6662626164a98f772.tar.bz2 spack-b1ef5a75f0f46130b19ee0b6662626164a98f772.tar.xz spack-b1ef5a75f0f46130b19ee0b6662626164a98f772.zip |
[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
-rw-r--r-- | var/spack/repos/builtin/packages/py-tensorflow-hub/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-tensorflow-hub/package.py b/var/spack/repos/builtin/packages/py-tensorflow-hub/package.py index 07391321e0..3f57826bf8 100644 --- a/var/spack/repos/builtin/packages/py-tensorflow-hub/package.py +++ b/var/spack/repos/builtin/packages/py-tensorflow-hub/package.py @@ -28,6 +28,10 @@ class PyTensorflowHub(Package): depends_on('py-numpy@1.12.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): tmp_path = tempfile.mkdtemp(prefix='spack') env['TEST_TMPDIR'] = tmp_path |