<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b250c46828a58649b9c2b21bf0c64cd110db3f12">https://github.com/macports/macports-ports/commit/b250c46828a58649b9c2b21bf0c64cd110db3f12</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b250c46828a58649b9c2b21bf0c64cd110db3f12
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Tue Apr 13 21:16:49 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> py-tensor2tensor: Add path style dependency for tensorflow_addons
</span>---
python/py-tensor2tensor/Portfile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tensor2tensor/Portfile b/python/py-tensor2tensor/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f686bae4466..6b56111844b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-tensor2tensor/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tensor2tensor/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -55,13 +55,20 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-scipy \
port:py${python.version}-six \
port:py${python.version}-sympy \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- path:${python.pkgd}/tensorflow:py${python.version}-tensorflow \
</span> port:py${python.version}-tensorflow-datasets \
port:py${python.version}-tensorflow-gan \
port:py${python.version}-tensorflow-probability \
port:py${python.version}-tf-slim \
port:py${python.version}-tqdm
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # tensorflow and tensorflow addons either provided by a number of ports,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # either py-tensorflow + py-tensorflow-addons, or py-tensorflow_macos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # So use a path style dependency for these that checks for a site-packages dir.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:${python.pkgd}/tensorflow:py${python.version}-tensorflow \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:${python.pkgd}/tensorflow_addons:py${python.version}-tensorflow-addons \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
</pre><pre style='margin:0'>
</pre>