Skip to content

Commit

Permalink
watchman: migrate to python@3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
fxcoudert committed Oct 7, 2020
1 parent ddd4f0b commit 1db7cb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/watchman.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class Watchman < Formula
desc "Watch files and take action when they change"
homepage "https://github.com/facebook/watchman"
license "Apache-2.0"
revision 4
revision 5
head "https://github.com/facebook/watchman.git"

stable do
Expand Down Expand Up @@ -35,7 +35,7 @@ class Watchman < Formula
depends_on "pkg-config" => :build
depends_on "openssl@1.1"
depends_on "pcre"
depends_on "python@3.8"
depends_on "python@3.9"

def install
system "./autogen.sh"
Expand All @@ -49,7 +49,7 @@ def install
system "make", "install"

# Homebrew specific python application installation
python3 = Formula["python@3.8"].opt_bin/"python3"
python3 = Formula["python@3.9"].opt_bin/"python3"
xy = Language::Python.major_minor_version python3
ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python#{xy}/site-packages"
cd "python" do
Expand Down

0 comments on commit 1db7cb1

Please sign in to comment.