Skip to content

Commit

Permalink
Merge pull request Homebrew#201305 from Homebrew/mvt-venv
Browse files Browse the repository at this point in the history
mvt: use `virtualenv_install_with_resources`
  • Loading branch information
BrewTestBot authored Dec 16, 2024
2 parents ce01bc7 + b0cc0b9 commit 5f0f91a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Formula/m/mvt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,17 +134,14 @@ class Mvt < Formula
end

def install
venv = virtualenv_create(libexec, "python3.13")
venv.pip_install resources.reject { |r| r.name == "iosbackup" }
venv = virtualenv_install_with_resources without: "iosbackup"

# iosbackup is incompatible with build isolation: https://github.com/avibrazil/iOSbackup/pull/32
resource("iosbackup").stage do
inreplace "setup.py", "from iOSbackup import __version__", "__version__ = '#{resource("iosbackup").version}'"
venv.pip_install Pathname.pwd
end

venv.pip_install_and_link buildpath

%w[mvt-android mvt-ios].each do |script|
generate_completions_from_executable(bin/script, shells: [:fish, :zsh], shell_parameter_format: :click)
end
Expand Down

0 comments on commit 5f0f91a

Please sign in to comment.