Skip to content

Commit

Permalink
afflib: migrate to [email protected]
Browse files Browse the repository at this point in the history
Closes #63357.

Signed-off-by: FX Coudert <[email protected]>
  • Loading branch information
fxcoudert committed Oct 23, 2020
1 parent a7a3d7e commit 70c3fce
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Formula/afflib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ class Afflib < Formula
homepage "https://github.com/sshock/AFFLIBv3"
url "https://github.com/sshock/AFFLIBv3/archive/v3.7.19.tar.gz"
sha256 "d358b07153dd08df3f35376bab0202c6103808686bab5e8486c78a18b24e2665"
revision 1

bottle do
cellar :any
Expand All @@ -16,13 +17,19 @@ class Afflib < Formula
depends_on "libtool" => :build
depends_on "pkg-config" => :build
depends_on "[email protected]"
depends_on "python@3.8"
depends_on "python@3.9"

uses_from_macos "curl"
uses_from_macos "expat"

# Fix for Python 3.9, remove in next version
patch do
url "https://github.com/sshock/AFFLIBv3/commit/aeb444da.patch?full_index=1"
sha256 "90cbb0b55a6e273df986b306d20e0cfb77a263cb85e272e01f1b0d8ee8bd37a0"
end

def install
ENV["PYTHON"] = Formula["python@3.8"].opt_bin/"python3"
ENV["PYTHON"] = Formula["python@3.9"].opt_bin/"python3"

args = %w[
--enable-s3
Expand Down

0 comments on commit 70c3fce

Please sign in to comment.