<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/34e694b7a64433bbd0804941682aad94e6a2a6be">https://github.com/macports/macports-ports/commit/34e694b7a64433bbd0804941682aad94e6a2a6be</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 34e694b7a64433bbd0804941682aad94e6a2a6be
</span>Author: nila <n_larsson@yahoo.com>
AuthorDate: Mon Oct 5 10:20:52 2020 +0200

<span style='display:block; white-space:pre;color:#404040;'>    grass7: hard code GRASS_PYTHON env variable
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    '/usr/bin/env python3' will be replaced during post-patch to selected Python version
</span>---
 gis/grass7/Portfile                  |  1 +
 gis/grass7/files/patch-grass.py.diff | 11 +++++++++++
 2 files changed, 12 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/grass7/Portfile b/gis/grass7/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 943aaac156f..aece7cc8b41 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/grass7/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/grass7/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,6 +43,7 @@ depends_lib         port:bzip2 \
</span> 
 patchfiles          patch-configure.diff \
                     patch-Install_make.diff  \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+                    patch-grass.py.diff \
</span>                     patch-libraster_gdal_c.diff
 
 configure.args-append \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/grass7/files/patch-grass.py.diff b/gis/grass7/files/patch-grass.py.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..f3837d9bfea
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/grass7/files/patch-grass.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/init/grass.py.orig 2020-09-25 14:18:25.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/init/grass.py      2020-09-25 14:20:34.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -95,7 +95,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WINDOWS = sys.platform == 'win32'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CYGWIN = "cygwin" in sys.platform
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MACOSX = "darwin" in sys.platform
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++os.environ['GRASS_PYTHON'] = "/usr/bin/env python3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ def decode(bytes_, encoding=ENCODING):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     """Decode bytes with default locale and return (unicode) string
</span></pre><pre style='margin:0'>

</pre>