From b0cc0b95446be630cfdfb1c7551991e94398aeef Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Sun, 15 Dec 2024 19:29:05 -0500 Subject: [PATCH] mvt: use `virtualenv_install_with_resources` --- Formula/m/mvt.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Formula/m/mvt.rb b/Formula/m/mvt.rb index 519a8c1388966..2185af1e041bf 100644 --- a/Formula/m/mvt.rb +++ b/Formula/m/mvt.rb @@ -134,8 +134,7 @@ 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 @@ -143,8 +142,6 @@ def install 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