<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/70f707ff4946f99fb8baf545d5aa54a23222823b">https://github.com/macports/macports-ports/commit/70f707ff4946f99fb8baf545d5aa54a23222823b</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 70f707ff494 lfortran: update to 0.28.0
</span>70f707ff494 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 70f707ff4946f99fb8baf545d5aa54a23222823b
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Fri Oct 27 10:03:51 2023 +0800

<span style='display:block; white-space:pre;color:#404040;'>    lfortran: update to 0.28.0
</span>---
 lang/lfortran/Portfile                 | 12 +++++++++---
 lang/lfortran/files/patch-version.diff | 10 ++++++++++
 2 files changed, 19 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/lfortran/Portfile b/lang/lfortran/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 37eb66b2b4f..c2c3ea9c237 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/lfortran/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/lfortran/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup               cmake 1.1
</span> PortGroup               compiler_blacklist_versions 1.0
 PortGroup               github 1.0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup            lfortran lfortran 0.23.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup            lfortran lfortran 0.28.0 v
</span> revision                0
 categories              lang fortran
 maintainers             {@barracuda156 gmail.com:vital.had} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,8 +17,12 @@ long_description        LFortran is a modern open-source interactive Fortran com
</span>                         with the goal to run user’s code on modern architectures such as multi-core CPUs and GPUs.
 homepage                https://lfortran.org
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums               rmd160  1718333a074337aa4ea389230a3417b0f515c127 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        sha256  664811b1fee5a7d1699d3f634b2f8350a7b1d5ce9bfbdd9dd4cb5f2559b1949d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        size    2423681
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from     archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Build system is a bit handicapped.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch.type              git
</span> cmake.out_of_source     no
 
 set port_libfmt         libfmt10
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,12 +41,14 @@ set py_ver_nodot        [string map {. {}} ${py_ver}]
</span> depends_lib-append      port:python${py_ver_nodot}
 
 # Install into meaningful locations:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append       patch-use-sane-install-dirs.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append       patch-use-sane-install-dirs.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        patch-version.diff
</span> # TODO: add CMake config files.
 
 configure.python        ${prefix}/bin/python${py_ver}
 
 post-patch {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace "s|@VERSION@|${version}|" ${worksrcpath}/ci/version.sh
</span>     reinplace "s|python src|${configure.python} src|g" ${worksrcpath}/build0.sh
     reinplace "s|/usr/bin/env python|${configure.python}|" ${worksrcpath}/run_tests.py
 }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/lfortran/files/patch-version.diff b/lang/lfortran/files/patch-version.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..3e318e93c39
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/lfortran/files/patch-version.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ci/version.sh  2023-10-26 20:56:56.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ci/version.sh  2023-10-27 09:59:39.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -13,6 +13,5 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set -ex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-version=$(git describe --tags --dirty)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-version="${version:1}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++version="@VERSION@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo $version > version
</span></pre><pre style='margin:0'>

</pre>