Skip to content

Commit

Permalink
add mepo
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 committed Aug 9, 2024
1 parent 8aeb9f3 commit 65aa65e
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions Formula/m/mepo.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
class Mepo < Formula
include Language::Python::Virtualenv

desc "Tool to manage (m)ultiple git r(epo)sitories"
homepage "https://github.com/GEOS-ESM/mepo"
url "https://github.com/GEOS-ESM/mepo/archive/refs/tags/v2.0.0rc4.tar.gz"
sha256 "a45d340255765485e24acf4e7f11cd3210b80dd2c62aa369955dfaa37e806f41"
license "Apache-2.0"

depends_on "libyaml"
depends_on "[email protected]"

resource "colorama" do
url "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz"
sha256 "08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"
end

resource "pyyaml" do
url "https://files.pythonhosted.org/packages/54/ed/79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17/pyyaml-6.0.2.tar.gz"
sha256 "d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"
end

def install
virtualenv_install_with_resources
end

test do
system bin/"mepo", "clone", "https://github.com/GMAO-SI-Team/mepo-test.git"
cd testpath/"mepo-test" do
system bin/"mepo", "clone"
system bin/"mepo", "status"
end
end
end

0 comments on commit 65aa65e

Please sign in to comment.