<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/ed5374b23427230770add864e6c5691aa7ab450b">https://github.com/macports/macports-ports/commit/ed5374b23427230770add864e6c5691aa7ab450b</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 ed5374b2342 py-clang/py-cytpeslib2: Update to latest.
</span>ed5374b2342 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit ed5374b23427230770add864e6c5691aa7ab450b
</span>Author: Eric A. Borisch <borisch.eric@mayo.edu>
AuthorDate: Wed Mar 10 14:52:45 2021 -0600

<span style='display:block; white-space:pre;color:#404040;'>    py-clang/py-cytpeslib2: Update to latest.
</span>---
 python/py-clang/Portfile      | 81 +++++++++++++++++++++++++++----------------
 python/py-ctypeslib2/Portfile | 13 ++++---
 2 files changed, 60 insertions(+), 34 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-clang/Portfile b/python/py-clang/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 56893c9935e..272bc999007 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-clang/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-clang/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,14 +2,14 @@
</span> 
 PortSystem              1.0
 PortGroup               python 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# meta-version; bump whenever underlying clangs are updated. Needed to support
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# portindex (variants can't have different versions.)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version                 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# meta-version; bump whenever underlying variants are updated. Needed to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# support portindex (variants can't have different versions.)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version                 5
</span> # Needed for change to meta-versioning
 epoch                   1
 name                    py-clang
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions         27 36 37 38
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.default_version  27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions         27 37 38 39
</span> platforms               darwin
 license                 NCSA
 maintainers             {eborisch @eborisch} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,14 +17,18 @@ maintainers             {eborisch @eborisch} \
</span> description             Python bindings for clang
 long_description        ${description}
 homepage \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    https://github.com/llvm-mirror/clang/tree/master/bindings/python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    https://github.com/llvm/llvm-project/tree/main/clang/bindings/python
</span> 
 supported_archs         noarch
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url           https://github.com/llvm/llvm-project/tags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Update this to the most recent clang supported
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.version       11.1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex         {releases\/tag\/llvmorg-([\d.]+)\"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {${name} ne ${subport}} {
     # Share llvm's downloads
     dist_subdir             llvm
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    livecheck.url           https://llvm.org/
</span>     use_xz                  yes
 
     checksums \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,14 +50,17 @@ if {${name} ne ${subport}} {
</span>      clang-9.0.1.src.tar.xz \
       rmd160  424b98b3b6252f119fc06c8dfbc8fb1344531e88 \
       sha256  5778512b2e065c204010f88777d44b95250671103e434f9dc7363ab2e3804253 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-     clang-10.0.0.src.tar.xz \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-      rmd160  7a2a0b3fd1b6b0d9c59a506f99d628417a565724 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-      sha256  885b062b00e903df72631c5f98b9579ed1ed2790f74e5646b4234fa084eacb21 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     clang-10.0.1.src.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      rmd160  15b8a3b6c6f1a2896146006b30fbcf104be7c2b6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      sha256  f99afc382b88e622c689b6d96cadfa6241ef55dca90e87fc170352e12ddb2b24 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     clang-11.1.0.src.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      rmd160  6da46dc07e6ce8bf33c6342812e3c89498bb2b27 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      sha256  0a8288f065d1f57cb6d96da4d2965cbea32edc572aa972e466e954d17148558b
</span> 
     depends_build-append    port:py${python.version}-setuptools
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    set clanglist       {37    50    60    70    80    90    10}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    set clangvlist      {3.7.1 5.0.2 6.0.1 7.0.1 8.0.1 9.0.1 10.0.0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set clanglist       {37    50    60    70    80    90    10     11}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set clangvlist      {3.7.1 5.0.2 6.0.1 7.0.1 8.0.1 9.0.1 10.0.1 11.1.0}
</span> 
     foreach cvnum $clanglist {
         # Explictly use (and depend on) the libclang we select during install
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -82,8 +89,10 @@ if {${name} ne ${subport}} {
</span>             depends_lib-append  port:clang-${cvstr}
             distfiles           ${diststub}-${clang_version}.src.tar.xz
             worksrcdir          ${diststub}-${clang_version}.src/bindings/python
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            post-patch {reinplace {s^library_path = None^$substr^} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                                  clang/cindex.py}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                reinplace {s^library_path = None^$substr^} clang/cindex.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                reinplace {s/version=.*/version=\"${clang_version}\",/} setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            }
</span>             livecheck.version   ${clang_version}
             # Yes, I didn't bother escaping the '.'s
             livecheck.regex \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -91,26 +100,32 @@ if {${name} ne ${subport}} {
</span>         "
     }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {![variant_isset clang37] && 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ![variant_isset clang50] && 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ![variant_isset clang60] && 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ![variant_isset clang70] && 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ![variant_isset clang80] && 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ![variant_isset clang90] && 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ![variant_isset clang10]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        default_variants +clang90
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    test.run            yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    test.cmd            ${python.bin}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    test.target         -m unittest discover -v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {![variant_isset clang37] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ![variant_isset clang50] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ![variant_isset clang60] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ![variant_isset clang70] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ![variant_isset clang80] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ![variant_isset clang90] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ![variant_isset clang10] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ![variant_isset clang11]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        default_variants +clang11
</span>     }
 
     pre-extract {
         # Will never hit this when installing from packages, which is OK, as
         # they will have the default variant set above.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        if {![variant_isset clang37] && 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            ![variant_isset clang50] && 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            ![variant_isset clang60] && 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            ![variant_isset clang70] && 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            ![variant_isset clang80] && 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            ![variant_isset clang90] && 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            ![variant_isset clang10]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if {![variant_isset clang37] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            ![variant_isset clang50] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            ![variant_isset clang60] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            ![variant_isset clang70] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            ![variant_isset clang80] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            ![variant_isset clang90] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            ![variant_isset clang10] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            ![variant_isset clang11]} {
</span>             ui_error "At least one of the clangNN variants must be active."
             return -code error "Unsupported (no) variants selected."
         }
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -132,3 +147,11 @@ if {${name} ne ${subport}} {
</span>         cindex.set_library_(path|file)().
     }
 }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach {old} {36} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    subport py${old}-${python.rootname} "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        replaced_by py${python.default_version}-${python.rootname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        PortGroup obsolete 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-ctypeslib2/Portfile b/python/py-ctypeslib2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b30133262bc..aff709611fa 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-ctypeslib2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-ctypeslib2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,10 +3,11 @@
</span> PortSystem              1.0
 PortGroup               python 1.0
 PortGroup               github 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> github.setup            trolldbois ctypeslib 2.2.2
 name                    py-ctypeslib2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions         27 36 37 38
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.default_version  27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions         27 37 38 39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.default_version  39
</span> platforms               darwin
 license                 MIT
 maintainers             {eborisch @eborisch} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,7 +22,8 @@ long_description        This fork of ctypeslib is mainly about using the \
</span> 
 checksums \
     rmd160  f99e20769f606d44ddb34aff6e20183fd186aaa2 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    sha256  e968d0c60101fdebbd51f392bd6402e5bad415fa62dff23de79cc467d24c1eee
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    sha256  e968d0c60101fdebbd51f392bd6402e5bad415fa62dff23de79cc467d24c1eee \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    size    76273
</span> 
 if {${name} ne ${subport}} {
     depends_build-append    port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,9 +38,10 @@ if {${name} ne ${subport}} {
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach {old new} {34 36 35 36} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach {old} {34 35 36} {
</span>     subport py${old}-${python.rootname} "
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        replaced_by py${new}-${python.rootname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        replaced_by py${python.default_version}-${python.rootname}
</span>         PortGroup obsolete 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     "
 }
</pre><pre style='margin:0'>

</pre>