<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/76ad7402cb3972ee0e53acb4876044306c602ee7">https://github.com/macports/macports-ports/commit/76ad7402cb3972ee0e53acb4876044306c602ee7</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 76ad7402cb3 py-onnx: fix build, update to 1.14.1
</span>76ad7402cb3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 76ad7402cb3972ee0e53acb4876044306c602ee7
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Fri Oct 13 10:25:01 2023 +1100
<span style='display:block; white-space:pre;color:#404040;'> py-onnx: fix build, update to 1.14.1
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Switch to release tarballs, correct license, remove unneeded deps,
</span><span style='display:block; white-space:pre;color:#404040;'> remove pointless portgroup use.
</span>---
python/py-onnx/Portfile | 44 ++++++++++----------------------------------
1 file changed, 10 insertions(+), 34 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-onnx/Portfile b/python/py-onnx/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3eae9baf41e..f9469a53848 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-onnx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-onnx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,21 +1,18 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup github 1.0
</span> PortGroup python 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup compiler_blacklist_versions 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup onnx onnx 1.10.2 v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-onnx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.14.1
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 1082eebe49ea5f9144b48f5c63eab6619ba6ba5f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 007199674f9a7058dc01a25fa678ca0061ad93f0002bf1fd025e02399b3c440a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 9413896
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 2ae765ea11027f44228b4f012b256cd3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 189124ae50eb0f3a8f3aaeeb51497a3cce8e96ef \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 70903afe163643bd71195c78cedcc3f4fa05a2af651fd950ef3acbb15175b2d1
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name py-${github.project}
</span> categories-append science
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Apache-2
</span>
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,46 +32,25 @@ homepage https://onnx.ai/
</span>
python.versions 37 38 39 310 311
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Needed to fix: constexpr constructor never produces a constant expression
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {clang < 900}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> compiler.cxx_standard 2011
depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:cctools \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-pytest-runner
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/cmake:cmake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-pytest-runner \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pybind11
</span>
depends_lib-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:protobuf-c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:protobuf3-cpp \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-future \
</span> port:py${python.version}-numpy \
port:py${python.version}-protobuf3 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-setuptools \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-six \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-typing_extensions \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:pybind11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-typing_extensions
</span>
depends_test-append \
port:py${python.version}-nbval \
port:py${python.version}-pytest \
port:py${python.version}-tabulate
<span style='display:block; white-space:pre;background:#ffe0e0;'>- use_configure no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.env-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pybind11_DIR=${prefix}/share/cmake/pybind11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.dir ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.post_args
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot.dir ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot.target install
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
</pre><pre style='margin:0'>
</pre>