homebrew-core/Formula/mackup.rb

36 lines
1.6 KiB
Ruby

class Mackup < Formula
include Language::Python::Virtualenv
desc "Keep your Mac's application settings in sync"
homepage "https://github.com/lra/mackup"
url "https://files.pythonhosted.org/packages/2d/f3/44d0c845a297a15c8a53c69bad2583ba7c18e005c774ed3c8d96285276d0/mackup-0.8.36.tar.gz"
sha256 "052d8a46b918d8711fd50f103ad905403466feed6bd3d6676fa9805e8c13661b"
license "GPL-3.0-or-later"
head "https://github.com/lra/mackup.git", branch: "master"
bottle do
sha256 cellar: :any_skip_relocation, arm64_monterey: "417f7d7bef0e7732f7d9205db0a99ab122c47291b8da826f0005fd0914a890cc"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "417f7d7bef0e7732f7d9205db0a99ab122c47291b8da826f0005fd0914a890cc"
sha256 cellar: :any_skip_relocation, monterey: "d55beb8d54a1b3f4973103068afcf4a72fab8503b5339287aee4d3da1944e2c1"
sha256 cellar: :any_skip_relocation, big_sur: "d55beb8d54a1b3f4973103068afcf4a72fab8503b5339287aee4d3da1944e2c1"
sha256 cellar: :any_skip_relocation, catalina: "d55beb8d54a1b3f4973103068afcf4a72fab8503b5339287aee4d3da1944e2c1"
sha256 cellar: :any_skip_relocation, x86_64_linux: "bf8cbde4acbdb5b64794ab9d878d210ad726bae230c1f35fd2f7b66fedfd7462"
end
depends_on "python@3.10"
depends_on "six"
resource "docopt" do
url "https://files.pythonhosted.org/packages/a2/55/8f8cab2afd404cf578136ef2cc5dfb50baa1761b68c9da1fb1e4eed343c9/docopt-0.6.2.tar.gz"
sha256 "49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491"
end
def install
virtualenv_install_with_resources
end
test do
system "#{bin}/mackup", "--help"
end
end