-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
certifi: drop support for
[email protected]
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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), "." | ||
|
@@ -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 | ||
|