Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

certifi: drop support for [email protected] #200740

Merged
merged 2 commits into from
Dec 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading