Skip to content

Commit 798f80f

Browse files
authored
Merge pull request Homebrew#168015 from Homebrew/bump-uutils-findutils-0.5.0
uutils-findutils 0.5.0
2 parents e77ae75 + bb18169 commit 798f80f

File tree

2 files changed

+12
-29
lines changed

2 files changed

+12
-29
lines changed

.github/autobump.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1904,6 +1904,7 @@ universal-ctags
19041904
usb.ids
19051905
usbredir
19061906
uutils-coreutils
1907+
uutils-findutils
19071908
uuu
19081909
uv
19091910
uvicorn

Formula/u/uutils-findutils.rb

+11-29
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,34 @@
11
class UutilsFindutils < Formula
22
desc "Cross-platform Rust rewrite of the GNU findutils"
33
homepage "https://github.com/uutils/findutils"
4-
url "https://github.com/uutils/findutils/archive/refs/tags/0.4.2.tar.gz"
5-
sha256 "b02fce9219393b47384229b397c7fbe479435ae8ccf8947f4b6cf7ac159d80f9"
4+
url "https://github.com/uutils/findutils/archive/refs/tags/0.5.0.tar.gz"
5+
sha256 "609ab3fdbf5a3ec8c3a3f014715d3f930e55a217915871a2861e0567c7be76d5"
66
license "MIT"
77
head "https://github.com/uutils/findutils.git", branch: "main"
88

99
bottle do
10-
rebuild 2
11-
sha256 cellar: :any, arm64_sonoma: "c9b20a92a27ec6e59d85ea2c7504c7b6b742a8fbce18584add667691bd8ed3a7"
12-
sha256 cellar: :any, arm64_ventura: "8be60da1dbce8c62f921e9906b76a9f3384b0f6e7d912a26afd633ac694889a2"
13-
sha256 cellar: :any, arm64_monterey: "a6a59cb7c7e765c4df4135ddcd8766f676e70d5c08dc004f744e598bfba3481f"
14-
sha256 cellar: :any, sonoma: "9b65bda73278dfffcb6977d9e5771bb0134050937b1b181bcee4a2308817e9d2"
15-
sha256 cellar: :any, ventura: "a3bc5fead8a81e9c9cf771ac931f204b4fa258be83a14ffd3648c9e5267784e5"
16-
sha256 cellar: :any, monterey: "ca68615f9cdca938f9a3d45833207603fd8a2fc9217c86fe0e79857e00c6ed8b"
17-
sha256 cellar: :any_skip_relocation, x86_64_linux: "c81b5f592d7e87310bbf175f5890e0e18a0177d2c819447021576bf8691f22a6"
10+
sha256 cellar: :any, arm64_sonoma: "12b5ed3eac76496fa83f17702d24b11780c8c4031ad0b7f533f2d1417cbe59d2"
11+
sha256 cellar: :any, arm64_ventura: "2efbfd98b7bd2f911537e1678efdebbd220301c5f9a432add77e03a2dd3b06a4"
12+
sha256 cellar: :any, arm64_monterey: "77f731f7daf405a9c353383908404522b28696f044d1ca4f5b350a7ec2395ffe"
13+
sha256 cellar: :any, sonoma: "0aa0883840290ac57612e718cb96757bc455f563be3124d01fbd8b86dea6d28e"
14+
sha256 cellar: :any, ventura: "74aef463704c438d36d16da8673a575e9d154143282fb17644f6b3f8097f312e"
15+
sha256 cellar: :any, monterey: "53c8dd5b4120465a9befd73b93894d35d5534e2d8d1c44acdfd82df4b167e382"
16+
sha256 cellar: :any_skip_relocation, x86_64_linux: "786493398d788145040daa91d3f72f1cf53184bb318edb070c8fc88df5fba2a0"
1817
end
1918

20-
# Use `llvm@15` to work around build failure with Clang 16 described in
21-
# https://github.com/rust-lang/rust-bindgen/issues/2312.
22-
# TODO: Switch back to `uses_from_macos "llvm" => :build` when `bindgen` is
23-
# updated to 0.62.0 or newer. There is a check in the `install` method.
24-
depends_on "llvm@15" => :build # for libclang
2519
depends_on "pkg-config" => :build
2620
depends_on "rust" => :build
2721
depends_on "oniguruma"
2822

23+
uses_from_macos "llvm" => :build
24+
2925
def unwanted_bin_link?(cmd)
3026
%w[
3127
testing-commandline
3228
].include? cmd
3329
end
3430

3531
def install
36-
bindgen_version = Version.new(
37-
(buildpath/"Cargo.lock").read
38-
.match(/name = "bindgen"\nversion = "(.*)"/)[1],
39-
)
40-
if bindgen_version >= "0.62.0"
41-
odie "`bindgen` crate is updated to 0.62.0 or newer! Please remove " \
42-
'this check and try switching to `uses_from_macos "llvm" => :build`.'
43-
end
44-
45-
# Work around an Xcode 15 linker issue which causes linkage against LLVM's
46-
# libunwind due to it being present in a library search path.
47-
ENV.remove "HOMEBREW_LIBRARY_PATHS", Formula["llvm@15"].opt_lib
48-
49-
ENV["LIBCLANG_PATH"] = Formula["llvm@15"].opt_lib.to_s
5032
ENV["RUSTONIG_DYNAMIC_LIBONIG"] = "1"
5133
ENV["RUSTONIG_SYSTEM_LIBONIG"] = "1"
5234

0 commit comments

Comments
 (0)