Skip to content

Commit

Permalink
certifi: drop support for [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m committed Dec 11, 2024
1 parent dbc1039 commit 5109ac7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Formula/c/certifi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class Certifi < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "1f1fc985a1c89bd40c73b17e3dfbf5483cb0417c8d4d12e2be66158a503ab169"
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 +24,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 +36,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 5109ac7

Please sign in to comment.