Skip to content

Commit

Permalink
go: update to 1.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
herbygillot committed Aug 9, 2023
1 parent 9d27654 commit f6a3555
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions lang/go/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ epoch 3
# tested the candidate version using the `go-devel` port, to verify how it
# builds against current and older versions of macOS.

# Go 1.20 does not build on macOS 10.12 and older
# Go 1.21 does not build on macOS 10.12 and older
if {${os.platform} eq "darwin" && ${os.major} < 17} {
version 1.17.13
set unsupported_macos true
} else {
version 1.20.7
version 1.21.0
set unsupported_macos false
}

Expand Down Expand Up @@ -98,22 +98,22 @@ if {$subport eq "${name}-devel"} {
size 137060546

notes-append "
Please note: Go 1.20 does not build on macOS 10.12 and older, so Go ${version} has been installed.
Please note: Go 1.21 does not build on macOS 10.12 and older, so Go ${version} has been installed.
"
} else {
# 1.20
# 1.21
checksums ${go_src_dist} \
rmd160 935bf2cec1b7cc68962d4922b290d45480c23704 \
sha256 2c5ee9c9ec1e733b0dbbc2bdfed3f62306e51d8172bf38f4f4e542b27520f597 \
size 26192928 \
rmd160 a561beb34f6d48f840c65b62d4fb79628f128f1e \
sha256 818d46ede85682dd551ad378ef37a4d247006f12ec59b5b755601d2ce114369a \
size 26942359 \
${go_armbin_dist} \
rmd160 1c1049e3aa2b5c8f6e6f4456efa1461062e446d4 \
sha256 eea1e7e4c2f75c72629050e6a6c7c46c446d64056732a7787fb3ba16ace1982e \
size 96616124 \
rmd160 85719a7deea1c09c16e642b66bd71db6c307bb1d \
sha256 3aca44de55c5e098de2f406e98aba328898b05d509a2e2a356416faacf2c4566 \
size 64957854 \
${go_amdbin_dist} \
rmd160 1e0685fb1ccdf56a976d07af14e3111096c5dccf \
sha256 785170eab380a8985d53896808b0a71336d0ea60e0a26099b4ccec77798b1cf4 \
size 99874225
rmd160 562dd9e135e84f43b282335c234b047a60c1cd82 \
sha256 b314de9f704ab122c077d2ec8e67e3670affe8865479d1f01991e7ac55d65e70 \
size 67141250
}

livecheck.regex {go([0-9.]+)\.src\.tar\.gz}
Expand Down

0 comments on commit f6a3555

Please sign in to comment.