7a4dabfc1a
This restores 1.8 hash rockets because they look nicer with e.g. `depends_on :foo => :bar`
52 lines
1.7 KiB
Ruby
52 lines
1.7 KiB
Ruby
class Weboob < Formula
|
|
include Language::Python::Virtualenv
|
|
|
|
desc "Web Outside of Browsers"
|
|
homepage "http://weboob.org/"
|
|
url "https://symlink.me/attachments/download/324/weboob-1.1.tar.gz"
|
|
sha256 "cbc0d8a88e402ec71a79f0cf09594fd3a969122111f5cd695f4a4ca67961661c"
|
|
revision 1
|
|
|
|
head "https://git.symlink.me/pub/weboob/stable.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "b9fb8cac12026ef91420ab1b1d6b6d0583bd34ce842e468f02882c70e0d910ad" => :el_capitan
|
|
sha256 "77cc15e88b0d9f28a410e79c8f29f30a66f2eb6080dbeeea3f1fb32746410780" => :yosemite
|
|
sha256 "3ed894d3eccc62ee18b4e73a9a2134ea74915d149ecece425a593520eaf4c1d0" => :mavericks
|
|
end
|
|
|
|
depends_on :python if MacOS.version <= :snow_leopard
|
|
depends_on "libyaml"
|
|
depends_on "pyqt"
|
|
depends_on :gpg => :run
|
|
|
|
resource "termcolor" do
|
|
url "https://pypi.python.org/packages/source/t/termcolor/termcolor-1.1.0.tar.gz"
|
|
sha256 "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b"
|
|
end
|
|
|
|
resource "requests" do
|
|
url "https://pypi.python.org/packages/source/r/requests/requests-2.7.0.tar.gz"
|
|
sha256 "398a3db6d61899d25fd4a06c6ca12051b0ce171d705decd7ed5511517b4bb93d"
|
|
end
|
|
|
|
resource "mechanize" do
|
|
url "https://pypi.python.org/packages/source/m/mechanize/mechanize-0.2.5.tar.gz"
|
|
sha256 "2e67b20d107b30c00ad814891a095048c35d9d8cb9541801cebe85684cc84766"
|
|
end
|
|
|
|
resource "prettytable" do
|
|
url "https://pypi.python.org/packages/source/P/PrettyTable/prettytable-0.7.2.tar.bz2"
|
|
sha256 "853c116513625c738dc3ce1aee148b5b5757a86727e67eff6502c7ca59d43c36"
|
|
end
|
|
|
|
def install
|
|
virtualenv_install_with_resources
|
|
end
|
|
|
|
test do
|
|
system bin/"weboob-config", "update"
|
|
system bin/"weboob-config", "applications"
|
|
end
|
|
end
|