Skip to content

Commit

Permalink
austin: migrate to python@3.9
Browse files Browse the repository at this point in the history
Closes #62244.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
  • Loading branch information
fxcoudert committed Oct 7, 2020
1 parent 4bfd818 commit ae410b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Formula/austin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Austin < Formula
url "https://github.com/P403n1x87/austin/archive/v1.0.1.tar.gz"
sha256 "f86804f777f2f466ddede5d530d3ca67582b2a1467d000662d81272d6e9c5639"
license "GPL-3.0"
revision 1
head "https://github.com/P403n1x87/austin.git"

bottle do
Expand All @@ -15,7 +16,7 @@ class Austin < Formula

depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "python@3.8" => :test
depends_on "python@3.9" => :test

def install
system "autoreconf", "--install"
Expand All @@ -26,6 +27,6 @@ def install
end

test do
shell_output("#{bin}/austin #{Formula["python@3.8"].opt_bin}/python3 -c \"print('Test')\"", 33)
shell_output("#{bin}/austin #{Formula["python@3.9"].opt_bin}/python3 -c \"print('Test')\"", 33)
end
end

0 comments on commit ae410b0

Please sign in to comment.