<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1234858f081dfbbd8c1e09d40afdb04b71acb90c">https://github.com/macports/macports-ports/commit/1234858f081dfbbd8c1e09d40afdb04b71acb90c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1234858f081dfbbd8c1e09d40afdb04b71acb90c
</span>Author: nilason <n_larsson@yahoo.com>
AuthorDate: Tue Aug 1 15:45:17 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> rsgislib_select: new select port for rsgislib
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> added to enable default selection of Python executables
</span>---
gis/rsgislib/Portfile | 8 ++++++++
gis/rsgislib/files/py-rsgislib | 18 ++++++++++++++++++
gis/rsgislib_select/Portfile | 26 ++++++++++++++++++++++++++
gis/rsgislib_select/files/base | 18 ++++++++++++++++++
gis/rsgislib_select/files/none | 18 ++++++++++++++++++
5 files changed, 88 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/rsgislib/Portfile b/gis/rsgislib/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 03e9e14b57c..8ac4451b0cb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/rsgislib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/rsgislib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -86,6 +86,7 @@ set python_versions {38 39 310 311}
</span> foreach v ${python_versions} {
subport py${v}-${github.project} {
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup select 1.0
</span>
categories gis python
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -140,5 +141,12 @@ if {[string match "py*" ${subport}]} {
</span> }
delete ${destroot}${prefix}/include
delete ${destroot}${prefix}/lib
<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/${github.project}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q "s|__PYVER__|${python.branch}|" ${destroot_sel_dir}/py-rsgislib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot_sel_dir}/py-rsgislib ${destroot_sel_dir}/py${python.version}-rsgislib
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select.group ${github.project}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select.file ${filespath}/py-rsgislib
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/rsgislib/files/py-rsgislib b/gis/rsgislib/files/py-rsgislib
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..63ee527f4f1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/rsgislib/files/py-rsgislib
</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/rsgisapplycmd.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgisbatchconvert2cog.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgisbatchconvert2tif.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgisbuildimglut.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgiscalcimgstats.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgischkgdalfile.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgiscopybandnames.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgisfilehash.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgisfilelut.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgisimg2kmz.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgisimg2webtiles.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgisimginfo.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgisproj.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgisshepsegment.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgistranslate2cog.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgistranslate2tif.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgisuserpassfile.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/__PYVER__/bin/rsgisvectools.py
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/rsgislib_select/Portfile b/gis/rsgislib_select/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7480476d45f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/rsgislib_select/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,26 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup stub 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup select 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name rsgislib_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories gis python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms any
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@nilason} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description common files for selecting default Python version bindings for RSGISLib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ This port installs files that allow 'port select' to be used to \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ create links to the preferred default Python version bindings for \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ RSGISLib.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select::install rsgislib ${filespath}/base
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select::install rsgislib ${filespath}/none
</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;'>+livecheck.type none
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/rsgislib_select/files/base b/gis/rsgislib_select/files/base
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8c1fa8baf44
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/rsgislib_select/files/base
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgisapplycmd.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgisbatchconvert2cog.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgisbatchconvert2tif.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgisbuildimglut.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgiscalcimgstats.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgischkgdalfile.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgiscopybandnames.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgisfilehash.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgisfilelut.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgisimg2kmz.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgisimg2webtiles.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgisimginfo.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgisproj.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgisshepsegment.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgistranslate2cog.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgistranslate2tif.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgisuserpassfile.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/rsgisvectools.py
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/rsgislib_select/files/none b/gis/rsgislib_select/files/none
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0a23837c722
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/rsgislib_select/files/none
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</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;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;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;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;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;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span></pre><pre style='margin:0'>
</pre>