<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/be911800c2495070734852905b992a32d0001d47">https://github.com/macports/macports-ports/commit/be911800c2495070734852905b992a32d0001d47</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit be911800c2495070734852905b992a32d0001d47
</span>Author: Nicklas Larsson <n_larsson@yahoo.com>
AuthorDate: Tue Jan 9 09:09:01 2024 +0100

<span style='display:block; white-space:pre;color:#404040;'>    py-gdal: simplify gdal-select
</span>---
 python/py-gdal/Portfile         |  6 +++++-
 python/py-gdal/files/py-gdal    | 18 ++++++++++++++++++
 python/py-gdal/files/py310-gdal | 18 ------------------
 python/py-gdal/files/py311-gdal | 18 ------------------
 python/py-gdal/files/py38-gdal  | 18 ------------------
 python/py-gdal/files/py39-gdal  | 18 ------------------
 6 files changed, 23 insertions(+), 73 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-gdal/Portfile b/python/py-gdal/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bbd2d53c34c..a95622a5a79 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-gdal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-gdal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,8 +41,12 @@ if {${name} ne ${subport}} {
</span>         set docdir ${prefix}/share/doc/${subport}
         xinstall -d ${destroot}${docdir}
         xinstall -m 0644 -W ${worksrcpath} README.rst ${destroot}${docdir}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set destroot_sel_dir ${destroot}${prefix}/etc/select/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        reinplace -q "s|@PYVER@|${python.branch}|" ${destroot_sel_dir}/gdal/py-gdal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        move ${destroot_sel_dir}/gdal/py-gdal ${destroot_sel_dir}/gdal/py${python.version}-gdal
</span>     }
 
     select.group    gdal
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    select.file     ${filespath}/py${python.version}-gdal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    select.file     ${filespath}/py-gdal
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-gdal/files/py-gdal b/python/py-gdal/files/py-gdal
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..f97421c66aa
</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-gdal/files/py-gdal
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/gdalcompare.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/ogrmerge.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/gdal_edit.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/gdalattachpct.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/gdal_pansharpen.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/rgb2pct.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/pct2rgb.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/gdal_polygonize.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/gdal2xyz.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/gdal_fillnodata.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/gdal_calc.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/ogr_layer_algebra.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/gdal2tiles.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/gdal_retile.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/gdal_merge.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/gdal_sieve.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/gdalmove.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/@PYVER@/bin/gdal_proximity.py
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-gdal/files/py310-gdal b/python/py-gdal/files/py310-gdal
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 6915d524a7d..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-gdal/files/py310-gdal
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,18 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/gdalcompare.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/ogrmerge.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/gdal_edit.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/gdalattachpct.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/gdal_pansharpen.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/rgb2pct.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/pct2rgb.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/gdal_polygonize.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/gdal2xyz.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/gdal_fillnodata.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/gdal_calc.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/ogr_layer_algebra.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/gdal2tiles.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/gdal_retile.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/gdal_merge.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/gdal_sieve.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/gdalmove.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.10/bin/gdal_proximity.py
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-gdal/files/py311-gdal b/python/py-gdal/files/py311-gdal
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 9f197bb0193..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-gdal/files/py311-gdal
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,18 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/gdalcompare.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/ogrmerge.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/gdal_edit.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/gdalattachpct.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/gdal_pansharpen.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/rgb2pct.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/pct2rgb.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/gdal_polygonize.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/gdal2xyz.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/gdal_fillnodata.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/gdal_calc.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/ogr_layer_algebra.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/gdal2tiles.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/gdal_retile.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/gdal_merge.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/gdal_sieve.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/gdalmove.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.11/bin/gdal_proximity.py
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-gdal/files/py38-gdal b/python/py-gdal/files/py38-gdal
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index d7b5a0efd17..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-gdal/files/py38-gdal
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,18 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/gdalcompare.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/ogrmerge.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/gdal_edit.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/gdalattachpct.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/gdal_pansharpen.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/rgb2pct.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/pct2rgb.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/gdal_polygonize.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/gdal2xyz.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/gdal_fillnodata.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/gdal_calc.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/ogr_layer_algebra.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/gdal2tiles.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/gdal_retile.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/gdal_merge.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/gdal_sieve.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/gdalmove.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.8/bin/gdal_proximity.py
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-gdal/files/py39-gdal b/python/py-gdal/files/py39-gdal
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 13b04e704be..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-gdal/files/py39-gdal
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,18 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/gdalcompare.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/ogrmerge.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/gdal_edit.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/gdalattachpct.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/gdal_pansharpen.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/rgb2pct.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/pct2rgb.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/gdal_polygonize.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/gdal2xyz.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/gdal_fillnodata.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/gdal_calc.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/ogr_layer_algebra.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/gdal2tiles.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/gdal_retile.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/gdal_merge.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/gdal_sieve.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/gdalmove.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${frameworks_dir}/Python.framework/Versions/3.9/bin/gdal_proximity.py
</span></pre><pre style='margin:0'>

</pre>