92 lines
4.1 KiB
Ruby
92 lines
4.1 KiB
Ruby
|
class Sceptre < Formula
|
||
|
include Language::Python::Virtualenv
|
||
|
|
||
|
desc "Build better AWS infrastructure"
|
||
|
homepage "https://sceptre.cloudreach.com"
|
||
|
url "https://github.com/cloudreach/sceptre/archive/v1.2.1.tar.gz"
|
||
|
sha256 "45c82d8521b7025aaad14ead88708dbf50e91aa8bb87c12126247189d451f0af"
|
||
|
|
||
|
resource "boto3" do
|
||
|
url "https://files.pythonhosted.org/packages/b6/7c/b9caa157b514e0a456286172862428a83814e4eda114ea1e80267de85378/boto3-1.4.7.tar.gz"
|
||
|
sha256 "f79f77dca2280f7780f39d72a5088f4cf2b626c0921e7185ed6ac17abfdd7e6c"
|
||
|
end
|
||
|
|
||
|
resource "botocore" do
|
||
|
url "https://files.pythonhosted.org/packages/48/b8/c3ad76df412b1f61fe8bfb4464fdd3081d2f995cd503df3c8457c6300c15/botocore-1.7.10.tar.gz"
|
||
|
sha256 "816c4522bd5da4738fe6c249baa53926c2ea345a4233bcca0fc1cc3b92518071"
|
||
|
end
|
||
|
|
||
|
resource "click" do
|
||
|
url "https://files.pythonhosted.org/packages/7a/00/c14926d8232b36b08218067bcd5853caefb4737cda3f0a47437151344792/click-6.6.tar.gz"
|
||
|
sha256 "cc6a19da8ebff6e7074f731447ef7e112bd23adf3de5c597cf9989f2fd8defe9"
|
||
|
end
|
||
|
|
||
|
resource "colorama" do
|
||
|
url "https://files.pythonhosted.org/packages/f0/d0/21c6449df0ca9da74859edc40208b3a57df9aca7323118c913e58d442030/colorama-0.3.7.tar.gz"
|
||
|
sha256 "e043c8d32527607223652021ff648fbb394d5e19cba9f1a698670b338c9d782b"
|
||
|
end
|
||
|
|
||
|
resource "docutils" do
|
||
|
url "https://files.pythonhosted.org/packages/84/f4/5771e41fdf52aabebbadecc9381d11dea0fa34e4759b4071244fa094804c/docutils-0.14.tar.gz"
|
||
|
sha256 "51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274"
|
||
|
end
|
||
|
|
||
|
resource "futures" do
|
||
|
url "https://files.pythonhosted.org/packages/cc/26/b61e3a4eb50653e8a7339d84eeaa46d1e93b92951978873c220ae64d0733/futures-3.1.1.tar.gz"
|
||
|
sha256 "51ecb45f0add83c806c68e4b06106f90db260585b25ef2abfcda0bd95c0132fd"
|
||
|
end
|
||
|
|
||
|
resource "Jinja2" do
|
||
|
url "https://files.pythonhosted.org/packages/f2/2f/0b98b06a345a761bec91a079ccae392d282690c2d8272e708f4d10829e22/Jinja2-2.8.tar.gz"
|
||
|
sha256 "bc1ff2ff88dbfacefde4ddde471d1417d3b304e8df103a7a9437d47269201bf4"
|
||
|
end
|
||
|
|
||
|
resource "jmespath" do
|
||
|
url "https://files.pythonhosted.org/packages/e5/21/795b7549397735e911b032f255cff5fb0de58f96da794274660bca4f58ef/jmespath-0.9.3.tar.gz"
|
||
|
sha256 "6a81d4c9aa62caf061cb517b4d9ad1dd300374cd4706997aff9cd6aedd61fc64"
|
||
|
end
|
||
|
|
||
|
resource "MarkupSafe" do
|
||
|
url "https://files.pythonhosted.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz"
|
||
|
sha256 "a6be69091dac236ea9c6bc7d012beab42010fa914c459791d627dad4910eb665"
|
||
|
end
|
||
|
|
||
|
resource "packaging" do
|
||
|
url "https://files.pythonhosted.org/packages/c6/70/bb32913de251017e266c5114d0a645f262fb10ebc9bf6de894966d124e35/packaging-16.8.tar.gz"
|
||
|
sha256 "5d50835fdf0a7edf0b55e311b7c887786504efea1177abd7e69329a8e5ea619e"
|
||
|
end
|
||
|
|
||
|
resource "pyparsing" do
|
||
|
url "https://files.pythonhosted.org/packages/3c/ec/a94f8cf7274ea60b5413df054f82a8980523efd712ec55a59e7c3357cf7c/pyparsing-2.2.0.tar.gz"
|
||
|
sha256 "0832bcf47acd283788593e7a0f542407bd9550a55a8a8435214a1960e04bcb04"
|
||
|
end
|
||
|
|
||
|
resource "python-dateutil" do
|
||
|
url "https://files.pythonhosted.org/packages/54/bb/f1db86504f7a49e1d9b9301531181b00a1c7325dc85a29160ee3eaa73a54/python-dateutil-2.6.1.tar.gz"
|
||
|
sha256 "891c38b2a02f5bb1be3e4793866c8df49c7d19baabf9c1bad62547e0b4866aca"
|
||
|
end
|
||
|
|
||
|
resource "PyYAML" do
|
||
|
url "https://files.pythonhosted.org/packages/4a/85/db5a2df477072b2902b0eb892feb37d88ac635d36245a72a6a69b23b383a/PyYAML-3.12.tar.gz"
|
||
|
sha256 "592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab"
|
||
|
end
|
||
|
|
||
|
resource "s3transfer" do
|
||
|
url "https://files.pythonhosted.org/packages/a8/58/d264e95e1b19a811fc52ff41c95dafd9c70cc7457b658bc04d87dfad31de/s3transfer-0.1.11.tar.gz"
|
||
|
sha256 "76f1f58f4a47e2c8afa135e2c76958806a3abbc42b721d87fd9d11409c75d979"
|
||
|
end
|
||
|
|
||
|
resource "six" do
|
||
|
url "https://files.pythonhosted.org/packages/b3/b2/238e2590826bfdd113244a40d9d3eb26918bd798fc187e2360a8367068db/six-1.10.0.tar.gz"
|
||
|
sha256 "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a"
|
||
|
end
|
||
|
|
||
|
def install
|
||
|
virtualenv_install_with_resources
|
||
|
end
|
||
|
|
||
|
test do
|
||
|
assert_match version.to_s, shell_output("#{bin}/sceptre --version")
|
||
|
end
|
||
|
end
|