Skip to content

Commit

Permalink
Merge pull request #200740 from Homebrew/certifi-no-py311
Browse files Browse the repository at this point in the history
certifi: drop support for `[email protected]`
  • Loading branch information
BrewTestBot authored Dec 11, 2024
2 parents 42d7eee + 899992f commit 5f9558b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Formula/c/certifi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,10 @@ class Certifi < Formula
revision 1

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "1f1fc985a1c89bd40c73b17e3dfbf5483cb0417c8d4d12e2be66158a503ab169"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "1f1fc985a1c89bd40c73b17e3dfbf5483cb0417c8d4d12e2be66158a503ab169"
sha256 cellar: :any_skip_relocation, arm64_ventura: "1f1fc985a1c89bd40c73b17e3dfbf5483cb0417c8d4d12e2be66158a503ab169"
sha256 cellar: :any_skip_relocation, sonoma: "1f1667b45b868ff09a3eb9f672c20299d7b49add64a1c6cf8d675b6b3ff5d5ba"
sha256 cellar: :any_skip_relocation, ventura: "1f1667b45b868ff09a3eb9f672c20299d7b49add64a1c6cf8d675b6b3ff5d5ba"
sha256 cellar: :any_skip_relocation, x86_64_linux: "1f1fc985a1c89bd40c73b17e3dfbf5483cb0417c8d4d12e2be66158a503ab169"
rebuild 1
sha256 cellar: :any_skip_relocation, all: "f9369ee71eff19d9072af588bf640947ff6219129ac7fb63fe90a37fbbff9e0c"
end

depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]
depends_on "ca-certificates"
Expand All @@ -25,6 +20,9 @@ def pythons
end

def install
# Avoid difference in generated METADATA files across bottles
inreplace "README.rst", "/usr/local", HOMEBREW_PREFIX

pythons.each do |python|
python_exe = python.opt_libexec/"bin/python"
system python_exe, "-m", "pip", "install", *std_pip_args(build_isolation: true), "."
Expand All @@ -34,6 +32,9 @@ def install
rm prefix/site_packages/"certifi/cacert.pem"
(prefix/site_packages/"certifi").install_symlink Formula["ca-certificates"].pkgetc/"cert.pem" => "cacert.pem"
end

# Revert first inreplace to avoid difference in README.rst across bottles
inreplace "README.rst", HOMEBREW_PREFIX, "/usr/local"
end

test do
Expand Down

0 comments on commit 5f9558b

Please sign in to comment.