<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/30d11901cc9927c643c8bc2f29557d67d7fae98c">https://github.com/macports/macports-ports/commit/30d11901cc9927c643c8bc2f29557d67d7fae98c</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 30d11901cc9 openjdk17-graalvm: update to 17.0.7
</span>30d11901cc9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 30d11901cc9927c643c8bc2f29557d67d7fae98c
</span>Author: Nils Breunese <nils@breun.nl>
AuthorDate: Wed Jun 14 01:52:24 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> openjdk17-graalvm: update to 17.0.7
</span>---
java/openjdk17-graalvm/Portfile | 75 +++++++++++------------------------------
1 file changed, 19 insertions(+), 56 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk17-graalvm/Portfile b/java/openjdk17-graalvm/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index be333493aa3..79731550368 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/java/openjdk17-graalvm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/openjdk17-graalvm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,34 +14,29 @@ universal_variant no
</span> # https://github.com/graalvm/graalvm-ce-builds/releases
supported_archs x86_64 arm64
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${configure.build_arch} eq "arm64"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # There is no macOS aarch64 build for 22.3.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- version 22.3.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- version 22.3.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 17.0.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+epoch 1
</span>
description GraalVM Community Edition based on OpenJDK 17
long_description GraalVM is a universal virtual machine for running applications written in JavaScript, Python, Ruby, R,\
JVM-based languages like Java, Scala, Groovy, Kotlin, Clojure, and LLVM-based languages such as C and C++.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-${version}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-${version}/
</span>
if {${configure.build_arch} eq "x86_64"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- distname graalvm-ce-java17-darwin-amd64-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 c0dd0bbf1c976a1b89a749d5f28d03befde5f364 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 470d538e34dc168255ee8ceadca74aab4b028ec6c699c4bd8e0226b0a7d3f155 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 261116951
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname graalvm-community-jdk-${version}_macos-x64_bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 080bee211eb78ee8187a80daa1427ef6979bab4f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7b38776fc9259af5b9b02ffa21d8c7bf3991fa29bc689d6d1a10a305cd8f50af \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 284463055
</span> } elseif {${configure.build_arch} eq "arm64"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- distname graalvm-ce-java17-darwin-aarch64-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 2243e23de57909f7cb6f88b51d51e623b4f0ca87 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 e3307c29e71423038960c38a6f8c0525f7c6f430c494d9c16935335c291c7ce1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 258360745
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname graalvm-community-jdk-${version}_macos-aarch64_bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 f98daabd32205fd8573d5b401e5372475dd76669 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 05d9a51786c578cea346760b3ec3af3721780afb850b739407a2a123f5d081fd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 280334645
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir graalvm-ce-java17-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir graalvm-community-openjdk-${version}+7.1
</span>
homepage https://www.graalvm.org
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -94,46 +89,14 @@ by adding the following line to your shell profile:
</span> "
subport ${name}-native-image {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib port:${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description Native Image component for GraalVM
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- long_description ${description}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${configure.build_arch} eq "x86_64"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set jar_file native-image-installable-svm-java17-darwin-amd64-${version}.jar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- distfiles ${jar_file}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 889bbd69a50db60314d2e23d4aa69a6f9c744f74 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 f3325ba7fbbcb865c3cc38ee531398482344fae2dd364073391568b0e5b0a77a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 30685976
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif {${configure.build_arch} eq "arm64"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set jar_file native-image-installable-svm-java17-darwin-aarch64-${version}.jar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- distfiles ${jar_file}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 c1fe4d16e586fd7302271c8f2a5f8bd22dd10f81 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 f69cc832db03db6698b41346bbee0a58ef4a5277971b6f7629d82a8f3ae98726 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 30569608
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set java_home ${target}/Contents/Home
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Former Native Image component for GraalVM
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Native Image support is now included in ${name}. Please uninstall ${subport}.
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.violate_mtree no
</span> destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 0755 ${destroot}${prefix}/share/java/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${distpath}/${jar_file} ${destroot}${prefix}/share/java/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-activate {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Graal Updater doesn't signal errors if the component is already installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Unfortunately, we require root privileges to invoke Graal Updater.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "sudo ${java_home}/bin/gu -L install ${prefix}/share/java/${subport}/${jar_file}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-deactivate {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # This helps prevent breakage if the user removed native-image themselves
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # and wants to deactivate or uninstall this port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[regexp {(?i)native-image} [exec ${java_home}/bin/gu list] match]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "sudo ${java_home}/bin/gu remove native-image"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${destroot}${prefix}/share/doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/README.${subport}.txt"
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- notes "The Native Image component of GraalVM has been installed for you"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes "${long_description}"
</span> }
</pre><pre style='margin:0'>
</pre>