<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/38d82e2cd07337ab2892d94b95638c33339a8a55">https://github.com/macports/macports-ports/commit/38d82e2cd07337ab2892d94b95638c33339a8a55</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 38d82e2cd07337ab2892d94b95638c33339a8a55
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Tue Jan 19 16:29:25 2021 -0500

<span style='display:block; white-space:pre;color:#404040;'>    py-onnx: update to 1.8.0, add py39 subport
</span><span style='display:block; white-space:pre;color:#404040;'>    - update license to MIT
</span><span style='display:block; white-space:pre;color:#404040;'>    - remove duplicated cmake dependency
</span>---
 python/py-onnx/Portfile                               | 19 +++++++------------
 .../py-onnx/files/patch-dllexport-not-recognised.diff | 11 -----------
 2 files changed, 7 insertions(+), 23 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 fb51104c04a..7c295f1af9f 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;'>@@ -4,15 +4,15 @@ PortSystem          1.0
</span> PortGroup           github 1.0
 PortGroup           python 1.0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup        onnx onnx 1.6.0 v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup        onnx onnx 1.8.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            0
</span> name                py-${github.project}
 categories-append   science
 
 platforms           darwin
 supported_archs     noarch
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license             BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license             MIT
</span> 
 maintainers         nomaintainer
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,11 +30,11 @@ long_description    Open Neural Network Exchange (ONNX) is an open\
</span> 
 homepage            https://onnx.ai/
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  b9490c7c76be0628a110ce08f4a589588f013b29 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  d27766862b9b117a223a5e96b80f2ceb4958ee9541ac5c522e2d5383f72a43fc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    2594363
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  8d2fc7d52238599388298fbe7e58f85d2ffcc96b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  42f2aa3982964511a880e0833d6cdc3faa8ea69158ce0701fcb0b07db4a95777 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    4930674
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions     36 37 38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions     36 37 38 39
</span> python.default_version 38
 
 if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,13 +43,8 @@ if {${name} ne ${subport}} {
</span> 
     compiler.cxx_standard 2011
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # https://github.com/onnx/onnx/issues/2481
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # https://github.com/onnx/onnx/pull/2482
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    patchfiles-append patch-dllexport-not-recognised.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span>     depends_build-append \
         port:cctools \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        path:bin/cmake:cmake \
</span>         port:py${python.version}-pytest-runner
 
     depends_lib-append \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-onnx/files/patch-dllexport-not-recognised.diff b/python/py-onnx/files/patch-dllexport-not-recognised.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index a99c052b5e5..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-onnx/files/patch-dllexport-not-recognised.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- CMakeLists.txt.orig    2020-02-21 09:55:57.000000000 +0000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ CMakeLists.txt 2020-02-21 09:56:52.000000000 +0000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -226,7 +226,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-         ${ONNX_DLLEXPORT_STR}${CMAKE_CURRENT_BINARY_DIR})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-     if(BUILD_ONNX_PYTHON)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-       list(APPEND PROTOC_ARGS --python_out
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--                  ${ONNX_DLLEXPORT_STR}${CMAKE_CURRENT_BINARY_DIR})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+                  ${CMAKE_CURRENT_BINARY_DIR})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-       if(ONNX_GEN_PB_TYPE_STUBS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-         # Haven't figured out how to generate mypy stubs on Windows yet
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-         if(NOT WIN32)
</span></pre><pre style='margin:0'>

</pre>