Skip to content

Commit

Permalink
Add pyenv-virtualenv-migrate formula (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
bxsx committed Mar 5, 2024
1 parent 8f92487 commit 232b5ef
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Formula/pyenv-virtualenv-migrate.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
class PyenvVirtualenvMigrate < Formula
desc "Migrate all pyenv virtual environments from a Python compiler version to another"
homepage "https://github.com/ashwinvis/pyenv-virtualenv-migrate"
url "https://github.com/ashwinvis/pyenv-virtualenv-migrate/archive/refs/tags/0.0.2.tar.gz"
sha256 "c0166b0e6ccfa0a4d00d4fa43bfd97b99939d8cb8e708e6fccf8fa939c9c31fd"
license "MIT"
head "https://github.com/ashwinvis/pyenv-virtualenv-migrate.git", branch: "main"

depends_on "pyenv"
depends_on "pyenv-pip-migrate"
depends_on "pyenv-virtualenv"

def install
prefix.install Dir["*"]
end

test do
shell_output("eval \"$(pyenv init -)\" && pyenv help virtualenv-migrate")
end
end

0 comments on commit 232b5ef

Please sign in to comment.