<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/ade209e8c5ca61b3654f83f59610a9f267a01a55">https://github.com/macports/macports-ports/commit/ade209e8c5ca61b3654f83f59610a9f267a01a55</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 ade209e8c5c xrootd: Update to 5.6.4, fix python selection
</span>ade209e8c5c is described below

<span style='display:block; white-space:pre;color:#808000;'>commit ade209e8c5ca61b3654f83f59610a9f267a01a55
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Mon Jan 15 10:24:13 2024 +0000

<span style='display:block; white-space:pre;color:#404040;'>    xrootd: Update to 5.6.4, fix python selection
</span>---
 science/xrootd/Portfile | 52 ++++++++++++++++++++++++-------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/xrootd/Portfile b/science/xrootd/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 075cf62a9af..18eaa23d5c1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/xrootd/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/xrootd/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,12 +6,12 @@ PortGroup           compiler_blacklist_versions  1.0
</span> PortGroup           github                       1.0
 PortGroup           legacysupport                1.1
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup        xrootd xrootd 5.6.3 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup        xrootd xrootd 5.6.4 v
</span> revision            0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  b503bc46cfe25e37bd17b4b22101cc5a070bc2a2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  eef8c4b8e7cc767b0810539e1ce14971146433e008cdcc2c418dedceb64b4f04 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    3296467
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  51c2d400caf932828082382deaa4e5904c56c1a8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  49d2871bb10ff7401f845f4f6b46211d97250aa83f0a94d5cea18a337f6c9e2d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    6742205
</span> 
 categories          science
 maintainers         {jonesc @cjones051073} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -59,37 +59,37 @@ configure.args-append -DENABLE_CRYPTO=False \
</span> 
 set python_vs        {3.8 3.9 3.10 3.11 3.12}
 set variant_set      no
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set selected_py_v    3.11
</span> foreach python_v ${python_vs} {
     set python_v_nodot  [string map {. {}} $python_v]
     variant python${python_v_nodot} description "Enable python ${python_v} bindings" { }
     if {[variant_isset python${python_v_nodot}]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        set variant_set  yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set variant_set    yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set selected_py_v  ${python_v}
</span>     }
 }
 if { ${variant_set} eq no} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    default_variants-append +python311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    default_variants-append +python[string map {. {}} $selected_py_v]
</span> }
 proc setup_py_variants {} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    global python_vs prefix configure.python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    foreach python_v ${python_vs} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        set python_v_nodot  [string map {. {}} $python_v]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        if {[variant_isset python${python_v_nodot}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            configure.python        ${prefix}/bin/python${python_v}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            depends_lib-append      port:python${python_v_nodot}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            depends_build-append    port:py${python_v_nodot}-setuptools \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                port:py${python_v_nodot}-setuptools_scm \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                port:py${python_v_nodot}-pip
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            configure.args-replace -DENABLE_PYTHON=FALSE  -DENABLE_PYTHON=TRUE
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            configure.args-append  -DPYTHON_EXECUTABLE=${configure.python}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                # Fix python install location
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                set python_framework ${frameworks_dir}/Python.framework/Versions/${python_v}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                reinplace "s|\${CMAKE_INSTALL_PREFIX}|${python_framework}|g" ${worksrcpath}/bindings/python/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            post-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                # Do not attempt to remove old pip installs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                reinplace "s|pip\ install|pip\ install\ \-I|g" ${workpath}/build/bindings/python/cmake_install.cmake
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    global python_vs prefix configure.python selected_py_v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set selected_py_v_nodot [string map {. {}} ${selected_py_v}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {[variant_isset python${selected_py_v_nodot}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.python        ${prefix}/bin/python${selected_py_v}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_lib-append      port:python${selected_py_v_nodot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_build-append    port:py${selected_py_v_nodot}-setuptools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                                port:py${selected_py_v_nodot}-setuptools_scm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                                port:py${selected_py_v_nodot}-pip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.args-replace -DENABLE_PYTHON=FALSE  -DENABLE_PYTHON=TRUE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.args-append  -DPython_EXECUTABLE=${configure.python}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            # Fix python install location
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            set python_framework ${frameworks_dir}/Python.framework/Versions/${selected_py_v}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            reinplace "s|\${CMAKE_INSTALL_PREFIX}|${python_framework}|g" ${worksrcpath}/bindings/python/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        post-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            # Do not attempt to remove old pip installs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            reinplace "s|pip\ install|pip\ install\ \-I|g" ${workpath}/build/bindings/python/cmake_install.cmake
</span>         }
     }
 }
</pre><pre style='margin:0'>

</pre>