<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/a54240e5148b8d8ee9ca67206d210ec6c7911448">https://github.com/macports/macports-ports/commit/a54240e5148b8d8ee9ca67206d210ec6c7911448</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 a54240e5148 fpm: update to 0.9.0
</span>a54240e5148 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit a54240e5148b8d8ee9ca67206d210ec6c7911448
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Tue Jun 6 01:30:10 2023 +0800

<span style='display:block; white-space:pre;color:#404040;'>    fpm: update to 0.9.0
</span>---
 devel/fpm/Portfile                 |  9 ++++-----
 devel/fpm/files/patch-install.diff | 35 +++++++++++------------------------
 2 files changed, 15 insertions(+), 29 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/fpm/Portfile b/devel/fpm/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index af88440e712..2c90c12f133 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/fpm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/fpm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup           compiler_blacklist_versions 1.0
</span> PortGroup           compilers 1.0
 PortGroup           github 1.0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup        fortran-lang fpm 0.8.2 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup        fortran-lang fpm 0.9.0 v
</span> revision            0
 categories          devel fortran
 license             MIT
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,9 +17,9 @@ long_description    Fortran Package Manager (fpm) is a package manager and build
</span>                     run the executables, tests and examples, and distribute it as a dependency \
                     to other Fortran projects.
 homepage            https://fpm.fortran-lang.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  e5666c04094939cc0137ddd9eec74e2af2576c93 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  7b83ea9e479ee1b4c2a37bb49c29b4588076877c766b3979ef7f2b2845ff5b2d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    199562
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  0b487b6a4b25379ae54940929650365b23742040 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  0042f22cc44d339ab05edc60ce4343dbd0db26e33eb5beb8584c0c32e2471eae \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    219697
</span> 
 depends_build-append \
                     port:curl
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,7 +44,6 @@ patchfiles          patch-install.diff
</span> post-patch {
     reinplace "s,@FC@,${configure.fc}," ${worksrcpath}/install.sh
     reinplace "s,@PREFIX@,${worksrcpath}${prefix}," ${worksrcpath}/install.sh
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    reinplace "s,@VERSION@,${version},g" ${worksrcpath}/install.sh
</span> 
     file attributes ${worksrcpath}/install.sh -permissions +x
 }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/fpm/files/patch-install.diff b/devel/fpm/files/patch-install.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index e4ee431d838..7626d095469 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/fpm/files/patch-install.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/fpm/files/patch-install.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,36 +1,23 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- install.sh.orig        2023-05-11 23:59:51.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ install.sh     2023-05-14 01:49:41.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -31,16 +31,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-     fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- install.sh.orig        2023-06-02 18:41:49.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ install.sh     2023-06-06 01:22:46.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -40,7 +40,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      sed -E 's/^v//'                                        # Remove heading "v" if present
</span>  }
  
<span style='display:block; white-space:pre;background:#ffe0e0;'>--# Return value of the latest published release on GitHub, with no heading "v" (e.g., "0.7.0")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--get_latest_release()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--{
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--     $2 "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--     grep '"tag_name":'        |                            # Get tag line
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--     sed -E 's/.*"([^"]+)".*/\1/' |                         # Pluck JSON value
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--     sed -E 's/^v//'                                        # Remove heading "v" if present
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span> -PREFIX="$HOME/.local"
 +PREFIX="@PREFIX@"
  
  while [ "$1" != "" ]; do
      PARAM=$(echo "$1" | awk -F= '{print $1}')
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -71,18 +62,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-   exit 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -75,14 +75,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Fallback to a latest known release if network timeout
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ -z "$LATEST_RELEASE" ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-   LATEST_RELEASE="0.8.0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++   LATEST_RELEASE="0.9.0"
</span>  fi
  
<span style='display:block; white-space:pre;background:#ffe0e0;'>--LATEST_RELEASE=$(get_latest_release "fortran-lang/fpm" "$FETCH")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if [ -z "$LATEST_RELEASE" ]; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--  echo "Could not fetch the latest release from GitHub. Install curl or wget, and ensure network connectivity."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--  exit 3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--SOURCE_URL="https://github.com/fortran-lang/fpm/releases/download/v${LATEST_RELEASE}/fpm-${LATEST_RELEASE}.F90"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+SOURCE_URL="https://github.com/fortran-lang/fpm/releases/download/v@VERSION@/fpm-@VERSION@.F90"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SOURCE_URL="https://github.com/fortran-lang/fpm/releases/download/v${LATEST_RELEASE}/fpm-${LATEST_RELEASE}.F90"
</span>  BOOTSTRAP_DIR="build/bootstrap"
  
  if [ -z ${FC+x} ]; then
</pre><pre style='margin:0'>

</pre>