<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/fb8a6ed93328c9d8c74967a8a858a48498710e95">https://github.com/macports/macports-ports/commit/fb8a6ed93328c9d8c74967a8a858a48498710e95</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 fb8a6ed9332 py-tables: update to 3.8.0
</span>fb8a6ed9332 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit fb8a6ed93328c9d8c74967a8a858a48498710e95
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sat May 27 12:05:43 2023 +1000

<span style='display:block; white-space:pre;color:#404040;'>    py-tables: update to 3.8.0
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Keeping at latest supported versions for 27 through 37, which still
</span><span style='display:block; white-space:pre;color:#404040;'>    have dependents.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/66624
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/64482
</span>---
 python/py-tables/Portfile                   | 107 ++++++++++++++++------------
 python/py-tables/files/pyproject.toml.patch |  15 ++++
 2 files changed, 75 insertions(+), 47 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tables/Portfile b/python/py-tables/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5fcf82dd40f..b071d4b399a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-tables/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tables/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,13 +5,11 @@ PortGroup           python 1.0
</span> PortGroup           mpi 1.0
 
 name                py-tables
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version             3.6.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version             3.8.0
</span> categories-append   science
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms           darwin
</span> license             BSD
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions     27 36 37 38 39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions     27 35 36 37 38 39 310 311
</span> 
 maintainers         nomaintainer
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,78 +18,93 @@ long_description    PyTables is a package for managing hierarchical datasets \
</span>                     and designed to efficiently and easily cope with \
                     extremely large amounts of data
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage            https://pytables.github.io/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage            http://www.pytables.org/
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  05833282f4c44e48f6f39afada9cb2684aa3249a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  49a972b8a7c27a8a173aeb05f67acb45fe608b64cd8e9fa667c0962a60b71b49 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    4641089
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           md5 83b2e54523cd83f7a9efbfbb8aa37227 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    rmd160 dfdd6649c665416e919e221084c18c24421d74e8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256 34f3fa2366ce20b18f1df573a77c1d27306ce1f2a41d9f9eff621b5192ea8788
</span> 
 mpi.setup
 
 if {${name} ne ${subport}} {
     # Last version that supports python 2.7
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {${python.version} eq 27} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        version        3.5.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        revision       7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        distname       ${python.rootname}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        checksums      rmd160  9e5aa9f3b270888c853eb5f30cd6461a362bb1c1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                       sha256  b220e32262bab320aa41d33125a7851ff898be97c0de30b456247508e2cc33c2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                       size    7825372
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${python.version} == 27} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        version     3.5.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        revision    7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        checksums   rmd160 9e5aa9f3b270888c853eb5f30cd6461a362bb1c1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256 b220e32262bab320aa41d33125a7851ff898be97c0de30b456247508e2cc33c2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size   7825372
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    } elseif {${python.version} == 35} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        version     3.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        revision    5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        checksums   md5 fe8daa05dd05f9ab07698c30ee48a029 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    rmd160 05833282f4c44e48f6f39afada9cb2684aa3249a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256 49a972b8a7c27a8a173aeb05f67acb45fe608b64cd8e9fa667c0962a60b71b49
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    } elseif {${python.version} <= 37} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        version     3.7.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        revision    0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        checksums   md5 d67a870ee90748a260e3ab3d6774533a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    rmd160 19f19a990839ac70ceb0a3c779c56fa7b764ef76 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256 e92a887ad6f2a983e564a69902de4a7645c30069fc01abd353ec5da255c5e1fe
</span>     }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    build.target        build_ext
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    build.args          --inplace \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        --hdf5=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        --bzip2=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        --lzo=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        --blosc=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    destroot.args       --hdf5=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        --bzip2=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        --lzo=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        --blosc=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    pre-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        # need to wrap this in a pre-destroot phase so that ${mpi.cc} expands to the right value
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        if {[mpi_variant_isset]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            destroot.cmd       env CC=${mpi.cc} ${destroot.cmd}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${python.version} >= 36} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        python.pep517   yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if {${python.version} >= 38} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            patchfiles  pyproject.toml.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # https://trac.macports.org/ticket/67136
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            reinplace "s|oldest-supported-numpy|numpy|" ${worksrcpath}/pyproject.toml
</span>         }
     }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    build.env-append    BLOSC_DIR=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        BZIP2_DIR=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        HDF5_DIR=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        LZO_DIR=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    destroot.env-append BLOSC_DIR=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        BZIP2_DIR=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        HDF5_DIR=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        LZO_DIR=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:py${python.version}-cython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        port:py${python.version}-cython \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        port:py${python.version}-setuptools
</span> 
     mpi.enforce_variant hdf5
     depends_lib-append  port:hdf5 \
                         port:py${python.version}-numpy \
                         port:py${python.version}-numexpr \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:py${python.version}-cython \
</span>                         port:zlib \
                         port:bzip2 \
                         port:lzo2 \
                         port:blosc
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        # Fix permissions
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        fs-traverse item ${worksrcpath} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            if {[file isdirectory ${item}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                file attributes ${item} -permissions a+rx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            } elseif {[file isfile ${item}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                file attributes ${item} -permissions a+r
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${python.version} >= 38} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_lib-append  port:py${python.version}-blosc2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            port:py${python.version}-cpuinfo
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        file rename ${worksrcpath}/src/utils.h ${worksrcpath}/src/xxx_utils.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        build.env-append    BLOSC2_DIR=${python.prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        destroot.env-append BLOSC2_DIR=${python.prefix}
</span>     }
 
     post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        delete {*}[glob ${worksrcpath}/tables/*.c]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        file rename ${worksrcpath}/src/utils.h ${worksrcpath}/src/xxx_utils.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set cfiles [glob -nocomplain -directory ${worksrcpath}/tables *.c]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if {$cfiles ne ""} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            delete {*}$cfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        }
</span>         reinplace -q {s:utils\.h:xxx_utils.h:} {*}[glob ${worksrcpath}/{src,tables}/*.{c,pxd,pyx}]
     }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    post-destroot    {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    post-destroot {
</span>         xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.rst \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            RELEASE_NOTES.txt THANKS VERSION \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set docfiles [list LICENSE.txt README.rst THANKS]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if {${python.version} <= 35} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            lappend docfiles RELEASE_NOTES.txt VERSION
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        xinstall -m 644 -W ${worksrcpath} {*}${docfiles} \
</span>             ${destroot}${prefix}/share/doc/${subport}
     }
 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tables/files/pyproject.toml.patch b/python/py-tables/files/pyproject.toml.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..35a4128d366
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tables/files/pyproject.toml.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pyproject.toml.orig    2022-12-23 21:42:14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pyproject.toml 2023-05-27 16:39:26
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2,10 +2,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ requires = [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     "setuptools >=42.0",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     "wheel",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    "oldest-supported-numpy",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    "numpy",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     "packaging",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     "py-cpuinfo",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     "Cython >=0.29.21",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    "blosc2 ~=2.0.0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    "blosc2 >=2.0.0,!=2.2.1,!=2.2.2"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build-backend = "setuptools.build_meta"
</span></pre><pre style='margin:0'>

</pre>