Skip to content

Commit 0612b2e

Browse files
authored
Merge pull request #191251 from Homebrew/python-build-all
python-build: build an `:all` bottle
2 parents c0a7fca + 11f30d0 commit 0612b2e

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

Formula/p/python-build.rb

+5-8
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,8 @@ class PythonBuild < Formula
99
head "https://github.com/pypa/build.git", branch: "main"
1010

1111
bottle do
12-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "d4a9e1c5df3fb300ca785a9aa478e78ee86c0c91d0acedbaba29e67a10bfcc31"
13-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "058b5a61e8df225c99753f870b5f23801dccd34d79bc2193f7e8c2b0f8cc3895"
14-
sha256 cellar: :any_skip_relocation, arm64_ventura: "058b5a61e8df225c99753f870b5f23801dccd34d79bc2193f7e8c2b0f8cc3895"
15-
sha256 cellar: :any_skip_relocation, arm64_monterey: "058b5a61e8df225c99753f870b5f23801dccd34d79bc2193f7e8c2b0f8cc3895"
16-
sha256 cellar: :any_skip_relocation, sonoma: "d4ea94bfdc112f2ae7026b4eef2353969fca988ea4d80f57a76ef28b0796cf1c"
17-
sha256 cellar: :any_skip_relocation, ventura: "d4ea94bfdc112f2ae7026b4eef2353969fca988ea4d80f57a76ef28b0796cf1c"
18-
sha256 cellar: :any_skip_relocation, monterey: "d4ea94bfdc112f2ae7026b4eef2353969fca988ea4d80f57a76ef28b0796cf1c"
19-
sha256 cellar: :any_skip_relocation, x86_64_linux: "058b5a61e8df225c99753f870b5f23801dccd34d79bc2193f7e8c2b0f8cc3895"
12+
rebuild 1
13+
sha256 cellar: :any_skip_relocation, all: "3af731d79dae765ec4189d4b411ef8f86b20fe27ff997e99a2870a156459beab"
2014
end
2115

2216
depends_on "[email protected]"
@@ -33,6 +27,9 @@ class PythonBuild < Formula
3327

3428
def install
3529
virtualenv_install_with_resources
30+
31+
# Ensure uniform bottles by replacing a `/usr/local` reference in a comment.
32+
inreplace libexec/"lib/python3.12/site-packages/build/env.py", "/usr/local", HOMEBREW_PREFIX
3633
end
3734

3835
test do

0 commit comments

Comments
 (0)