homebrew-core/Formula/aws-elasticbeanstalk.rb
Stewart Webb ebfb8bfd2a aws-elasticbeanstalk 3.5.2
Update AWS EB CLI tool to v3.5.2

Closes Homebrew/homebrew#43687.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-09-08 14:48:54 +02:00

123 lines
4.7 KiB
Ruby

class AwsElasticbeanstalk < Formula
desc "Client for Amazon Elastic Beanstalk web service"
homepage "https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-reference-eb.html"
url "https://pypi.python.org/packages/source/a/awsebcli/awsebcli-3.5.2.tar.gz"
sha256 "a753dbff9a9888b50ba13b221e6e8126e4697a1d61ba871e37c4ac782686da5f"
bottle do
cellar :any
sha256 "158b7e2052a2629d783a7a5b8f985a2ca3be0cbabd2adf05c7dee70b31be3c2e" => :yosemite
sha256 "119f696de38202a8f0a16172d48ad1d5997aa2df2b11e6511522cf8da642f3fc" => :mavericks
sha256 "d1c6bfc3125a927047227403fb1b27a3b6866710ba0a93e9cbd115d4141ebb64" => :mountain_lion
end
depends_on :python if MacOS.version <= :snow_leopard
resource "pyyaml" do
url "https://pypi.python.org/packages/source/P/PyYAML/PyYAML-3.11.tar.gz"
sha256 "c36c938a872e5ff494938b33b14aaa156cb439ec67548fcab3535bb78b0846e8"
end
resource "cement" do
url "https://pypi.python.org/packages/source/c/cement/cement-2.4.0.tar.gz"
sha256 "81c46cd056cbc7e48ae2342b3a65afbae4732b09af5d1d3e2e079678d2ccd5bb"
end
resource "backports.ssl_match_hostname" do
url "https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-3.4.0.2.tar.gz"
sha256 "07410e7fb09aab7bdaf5e618de66c3dac84e2e3d628352814dc4c37de321d6ae"
end
resource "pathspec" do
url "https://pypi.python.org/packages/source/p/pathspec/pathspec-0.3.3.tar.gz"
sha256 "38d0613ee2ce75adbbad61a33895c3b88122c768a732fb14800e6f660cc1380b"
end
resource "docopt" do
url "https://pypi.python.org/packages/source/d/docopt/docopt-0.6.2.tar.gz"
sha256 "49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491"
end
resource "requests" do
url "https://pypi.python.org/packages/source/r/requests/requests-2.6.2.tar.gz"
sha256 "0577249d4b6c4b11fd97c28037e98664bfaa0559022fee7bcef6b752a106e505"
end
resource "texttable" do
url "https://pypi.python.org/packages/source/t/texttable/texttable-0.8.3.tar.gz"
sha256 "f333ac915e7c5daddc7d4877b096beafe74ea88b4b746f82a4b110f84e348701"
end
resource "websocket-client" do
url "https://pypi.python.org/packages/source/w/websocket-client/websocket_client-0.30.0.tar.gz"
sha256 "fab17bc3eb450a28c6edb7a23442a01353712f29240ea76cc9409571e58ed3e5"
end
resource "docker-py" do
url "https://pypi.python.org/packages/source/d/docker-py/docker-py-1.1.0.tar.gz"
sha256 "6a07eb56b234719e89d3038c24f9c870b6f1ee0b58080120e865e2752673cd94"
end
resource "dockerpty" do
url "https://pypi.python.org/packages/source/d/dockerpty/dockerpty-0.3.3.tar.gz"
sha256 "5b9bd23e4a5f0ad28ea702adeebc1bb8b153c4a19526f230792b0af57f7eb3be"
end
resource "python-dateutil" do
url "https://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.4.2.tar.gz"
sha256 "3e95445c1db500a344079a47b171c45ef18f57d188dffdb0e4165c71bea8eb3d"
end
resource "jmespath" do
url "https://pypi.python.org/packages/source/j/jmespath/jmespath-0.7.1.tar.gz"
sha256 "cd5a12ee3dfa470283a020a35e69e83b0700d44fe413014fd35ad5584c5f5fd1"
end
resource "six" do
url "https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz"
sha256 "e24052411fc4fbd1f672635537c3fc2330d9481b18c0317695b46259512c91d5"
end
resource "blessed" do
url "https://pypi.python.org/packages/source/b/blessed/blessed-1.9.5.tar.gz"
sha256 "b93b5c7600814638c0913c8325608327a24e3731977d9a4f003ecf37b08ca6e5"
end
resource "colorama" do
url "https://pypi.python.org/packages/source/c/colorama/colorama-0.3.3.tar.gz"
sha256 "eb21f2ba718fbf357afdfdf6f641ab393901c7ca8d9f37edd0bee4806ffa269c"
end
resource "botocore" do
url "https://pypi.python.org/packages/source/b/botocore/botocore-1.1.8.tar.gz"
sha256 "636d6d64537d5e2f3345587366533a1cc503b50a7d295998bffc89ecc3555f63"
end
resource "wcwidth" do
url "https://pypi.python.org/packages/source/w/wcwidth/wcwidth-0.1.4.tar.gz"
sha256 "906d3123045d77027b49fe912458e1a1e1d6ca1a51558a4bd9168d143b129d2b"
end
resource "docutils" do
url "https://pypi.python.org/packages/source/d/docutils/docutils-0.12.tar.gz"
sha256 "c7db717810ab6965f66c8cf0398a98c9d8df982da39b4cd7f162911eb89596fa"
end
def install
ENV.prepend_create_path "PYTHONPATH", libexec+"lib/python2.7/site-packages"
resources.each do |r|
r.stage { system "python", *Language::Python.setup_install_args(libexec) }
end
system "python", *Language::Python.setup_install_args(libexec)
bash_completion.install libexec/"bin/eb_completion.bash"
bin.install Dir[libexec/"bin/{eb,jp}"]
bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"])
end
test do
system "#{bin}/eb", "--version"
end
end