Skip to content

Commit

Permalink
icu4c@76: revision bump for icu4c alias migration
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m committed Oct 31, 2024
1 parent 88852a8 commit 02c84f1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Aliases/icu4c
5 changes: 2 additions & 3 deletions Formula/i/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class Icu4cAT76 < Formula
version "76.1"
sha256 "dfacb46bfe4747410472ce3e1144bf28a102feeaa4e3875bac9b4c6cf30f4f3e"
license "ICU"
revision 1

# We allow the livecheck to detect new `icu4c` major versions in order to
# automate version bumps. To make sure PRs are created correctly, we output
Expand All @@ -26,9 +27,7 @@ class Icu4cAT76 < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "a0e8e698c09aee143fce7529fcdf776be98d15f3a000ed8c3e74dc387ce364ac"
end

# TODO: Switch keg_only reason after renaming `icu4c` formula to `icu4c@75` and updating alias to `icu4c@76`
# keg_only :provided_by_macos, "macOS provides libicucore.dylib (but nothing else)"
keg_only :versioned_formula
keg_only :shadowed_by_macos, "macOS provides libicucore.dylib (but nothing else)"

def install
odie "Major version bumps need a new formula!" if version.major.to_s != name[/@(\d+)$/, 1]
Expand Down
2 changes: 1 addition & 1 deletion audit_exceptions/versioned_keg_only_allowlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"gcc@13",
"[email protected]",
"[email protected]",
"icu4c@75",
"icu4c@76",
"libpeas@1",
"libsigc++@2",
"libxml++@3",
Expand Down

0 comments on commit 02c84f1

Please sign in to comment.