36 lines
1.3 KiB
Ruby
36 lines
1.3 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://github.com/lra/mackup/archive/0.8.26.tar.gz"
|
|
sha256 "e74d8cfd235a70dea26f0f3fcf4f60a78313e51c1a01ae3edd2558bf5c62dd7a"
|
|
head "https://github.com/lra/mackup.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "d5105339cabfe3a5457e744ef2bafc47377ce64a6598c295fc639a474d37b85a" => :mojave
|
|
sha256 "2b85832604263f7afe5893308dd03ec8125f30d56395be0edce1ec4eafcb8f55" => :high_sierra
|
|
sha256 "59f759b8a0a3160e2ad04e026ff84e1a56a18254d3c248c9585e262f0d6af1a8" => :sierra
|
|
end
|
|
|
|
depends_on "python"
|
|
|
|
resource "docopt" do
|
|
url "https://files.pythonhosted.org/packages/a2/55/8f8cab2afd404cf578136ef2cc5dfb50baa1761b68c9da1fb1e4eed343c9/docopt-0.6.2.tar.gz"
|
|
sha256 "49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491"
|
|
end
|
|
|
|
resource "six" do
|
|
url "https://files.pythonhosted.org/packages/dd/bf/4138e7bfb757de47d1f4b6994648ec67a51efe58fa907c1e11e350cddfca/six-1.12.0.tar.gz"
|
|
sha256 "d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73"
|
|
end
|
|
|
|
def install
|
|
virtualenv_install_with_resources
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/mackup", "--help"
|
|
end
|
|
end
|