Skip to content

Commit

Permalink
dtrx: apply patch to allow migration to python@3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m committed Nov 1, 2024
1 parent efa2372 commit 54830af
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Formula/d/dtrx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,21 @@ class Dtrx < Formula

# Include a few common decompression handlers in addition to the python dep
depends_on "p7zip"
depends_on "python@3.11"
depends_on "python@3.13"
depends_on "xz"

uses_from_macos "zip" => :test
uses_from_macos "bzip2"
uses_from_macos "unzip"

# Apply commit from open PR to fix `--flat` on Python 3.12+
# Issue ref: https://github.com/dtrx-py/dtrx/issues/58
# PR ref: https://github.com/dtrx-py/dtrx/pull/59
patch do
url "https://github.com/dtrx-py/dtrx/commit/4f2868c87e7d2eef97c9dbcbea4d1738e947463d.patch?full_index=1"
sha256 "f81b0ed271ddfa22ee0e1d26f9ac3c5ea3e979497918594e8fc266b24b561a51"
end

def install
virtualenv_install_with_resources
end
Expand Down

0 comments on commit 54830af

Please sign in to comment.