<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/64880aef56c35fec3f13b15867bb356a27091576">https://github.com/macports/macports-ports/commit/64880aef56c35fec3f13b15867bb356a27091576</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 64880aef56c35fec3f13b15867bb356a27091576
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sat Feb 25 10:35:34 2023 +1100
<span style='display:block; white-space:pre;color:#404040;'> py-tensorflow-metal: use standard destroot
</span>---
python/py-tensorflow-metal/Portfile | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tensorflow-metal/Portfile b/python/py-tensorflow-metal/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a5571883917..a05f7b560f1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-tensorflow-metal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tensorflow-metal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,6 @@ name py-tensorflow-metal
</span> version 0.7.1
revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> categories-append lang
license MIT
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,8 +30,10 @@ extract.only
</span> # run `port clean --all py*-tensorflow-metal` afterwards
python.versions 38 39 310
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set minimum_supported_major_version 21
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.pep517 yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.pep517_backend
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set minimum_supported_major_version 21
</span> if {${os.arch} ni [list arm i386]
|| ${os.platform} eq {darwin}
&& ${os.major} < ${minimum_supported_major_version}} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -96,24 +97,12 @@ if {${name} ne ${subport}} {
</span> }
distname tensorflow_metal-${version}-cp${python.version}-cp${python.version}-macosx_12_0_${build_arch}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-pip \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-wheel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_run-append \
port:py${python.version}-tensorflow-macos
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- use_configure no
</span>
build {}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot.cmd pip-${python.branch}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot.args --ignore-installed \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --no-cache-dir \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --no-dependencies \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --root ${destroot} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${distpath}/${distfiles}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot.post_args
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.target ${distpath}/${distfiles}
</span>
livecheck.type none
}
</pre><pre style='margin:0'>
</pre>