From 650660ff4146fbce6fdb6e2149675558750b0b78 Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Wed, 8 Jan 2020 11:31:06 +0000 Subject: [PATCH] pre-commit: revision bump for python@3.8 --- Formula/pre-commit.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Formula/pre-commit.rb b/Formula/pre-commit.rb index 3efb22728f..fe9c238570 100644 --- a/Formula/pre-commit.rb +++ b/Formula/pre-commit.rb @@ -5,6 +5,7 @@ class PreCommit < Formula homepage "https://pre-commit.com/" url "https://github.com/pre-commit/pre-commit/archive/v1.21.0.tar.gz" sha256 "9cdc791bfad86b3648a5801518bbfb3ad7cb66f74a4681b10d8dd34d4032cb59" + revision 1 bottle do cellar :any_skip_relocation @@ -13,7 +14,7 @@ class PreCommit < Formula sha256 "f101582126b30f6e4c2752c4b8437ca82afe9f6918f614b9493c9ccc6725da9c" => :high_sierra end - depends_on "python" + depends_on "python@3.8" def install venv = virtualenv_create(libexec, "python3") @@ -33,8 +34,6 @@ class PreCommit < Formula rm f ln_s realpath, f end - inreplace lib_python_path/"orig-prefix.txt", - Formula["python3"].opt_prefix, Formula["python3"].prefix.realpath end test do