2017-03-22 03:43:07 +00:00
|
|
|
class ConjureUp < Formula
|
|
|
|
include Language::Python::Virtualenv
|
|
|
|
|
|
|
|
desc "Big software deployments so easy it's almost magical."
|
2017-05-10 17:18:19 +00:00
|
|
|
homepage "https://conjure-up.io/"
|
2017-04-16 02:09:58 +00:00
|
|
|
url "https://github.com/conjure-up/conjure-up/archive/2.1.5.tar.gz"
|
|
|
|
sha256 "df8278ffca2eab81bf02e6fe422e283baaee52b01e8a7b3bad1ca91ffa691af0"
|
2017-03-22 03:43:07 +00:00
|
|
|
head "https://github.com/conjure-up/conjure-up.git", :branch => "master"
|
|
|
|
|
2017-03-23 13:57:05 +00:00
|
|
|
bottle do
|
2017-04-05 20:01:39 +00:00
|
|
|
cellar :any
|
2017-04-16 11:26:14 +00:00
|
|
|
sha256 "406feece9b1f71e9a5e176146c2c3c2019cf60ef1cf98e103a3529d56a64671e" => :sierra
|
|
|
|
sha256 "013ca91ccb21ce08eadea1c336fc02c4553bf66fde397f06fa98577666064c63" => :el_capitan
|
|
|
|
sha256 "569e1d339c080f4f0c3c33e4c1e2db0c4332129c9c1f9ba33a1ee24fbf9e9f78" => :yosemite
|
2017-03-23 13:57:05 +00:00
|
|
|
end
|
|
|
|
|
2017-03-22 03:43:07 +00:00
|
|
|
devel do
|
2017-03-30 20:48:55 +00:00
|
|
|
url "https://github.com/conjure-up/conjure-up/archive/2.2.0-beta2.tar.gz"
|
|
|
|
version "2.2-beta2"
|
|
|
|
sha256 "82f41e8a41efdcc49644dc8d2069b787b413ee1845c1ec944494d85f1ff37265"
|
2017-03-22 03:43:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
depends_on :python3
|
|
|
|
depends_on "libyaml"
|
|
|
|
depends_on "juju"
|
|
|
|
depends_on "juju-wait"
|
|
|
|
depends_on "jq"
|
|
|
|
depends_on "wget"
|
|
|
|
|
2017-04-16 02:09:58 +00:00
|
|
|
resource "ubuntui" do
|
|
|
|
url "https://pypi.python.org/packages/fa/e3/2f3821c455c0207e615280fb6bf2560e952be500e0769b2d24525bbf8ede/ubuntui-0.1.4.tar.gz#"
|
|
|
|
sha256 "d52206d14e0db6072f435bddadc934cbcaabf6d1cb6f758522eaa7fabf210239"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "macumba" do
|
|
|
|
url "https://pypi.python.org/packages/76/09/07ac27b7a4bd8511ed3c4b0e16b407ba085323779f917da3be9b0b34e9e7/macumba-0.9.3.tar.gz"
|
|
|
|
sha256 "b6b71064f86b6e886b5f23235577b0c1a27df2c3122a65f55a03908cf13a4b06"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "bundle-placement" do
|
|
|
|
url "https://pypi.python.org/packages/84/d9/4c416af49f210f46034fbcbe3ee195c272643ae5286e963aa31ea86bff99/bundle-placement-0.0.1.tar.gz"
|
|
|
|
sha256 "a73a4d0dff43f815d1055352d21926dbf722329613e8cfa9e630374ca4e03408"
|
|
|
|
end
|
|
|
|
|
2017-03-22 03:43:07 +00:00
|
|
|
resource "python-utils" do
|
|
|
|
url "https://pypi.python.org/packages/46/e8/60bc82e7bb5d9e326c4691ed73e02a2a0e3ce6bb7adefd8cb2d9d8456b3a/python-utils-2.0.1.tar.gz"
|
|
|
|
sha256 "985f44edf24918d87531c339f8b126ce2d303cbbc9a4c7fc4dc81ac0726079ff"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "oauthlib" do
|
|
|
|
url "https://pypi.python.org/packages/fa/2e/25f25e6c69d97cf921f0a8f7d520e0ef336dd3deca0142c0b634b0236a90/oauthlib-2.0.2.tar.gz"
|
|
|
|
sha256 "b3b9b47f2a263fe249b5b48c4e25a5bce882ff20a0ac34d553ce43cff55b53ac"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "prettytable" do
|
|
|
|
url "https://pypi.python.org/packages/e0/a1/36203205f77ccf98f3c6cf17cf068c972e6458d7e58509ca66da949ca347/prettytable-0.7.2.tar.gz"
|
|
|
|
sha256 "2d5460dc9db74a32bcc8f9f67de68b2c4f4d2f01fa3bd518764c69156d9cacd9"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "progressbar2" do
|
2017-03-30 20:48:55 +00:00
|
|
|
url "https://pypi.python.org/packages/8a/66/e0c1ace7ca3ee91a3e0c9e4a9ac9cb8e78679265e2a201286063d478e471/progressbar2-3.16.1.tar.gz"
|
|
|
|
sha256 "886142e7753bb5ec02b1af36d3cf936e37ea382b46e988456e0b3f1afd2821f3"
|
2017-03-22 03:43:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
resource "requests" do
|
|
|
|
url "https://pypi.python.org/packages/16/09/37b69de7c924d318e51ece1c4ceb679bf93be9d05973bb30c35babd596e2/requests-2.13.0.tar.gz"
|
|
|
|
sha256 "5722cd09762faa01276230270ff16af7acf7c5c45d623868d9ba116f15791ce8"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "six" do
|
|
|
|
url "https://pypi.python.org/packages/b3/b2/238e2590826bfdd113244a40d9d3eb26918bd798fc187e2360a8367068db/six-1.10.0.tar.gz"
|
|
|
|
sha256 "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "termcolor" do
|
|
|
|
url "https://pypi.python.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz"
|
|
|
|
sha256 "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "ws4py" do
|
2017-03-30 20:48:55 +00:00
|
|
|
url "https://pypi.python.org/packages/b8/98/a90f1d96ffcb15dfc220af524ce23e0a5881258dafa197673357ce1683dd/ws4py-0.4.2.tar.gz"
|
|
|
|
sha256 "7ac69ce3e6ec6917a5d678b65f0a18e244a4dc670db6414bc0271b3f4911237f"
|
2017-03-22 03:43:07 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
resource "urwid" do
|
|
|
|
url "https://pypi.python.org/packages/85/5d/9317d75b7488c335b86bd9559ca03a2a023ed3413d0e8bfe18bea76f24be/urwid-1.3.1.tar.gz"
|
|
|
|
sha256 "cfcec03e36de25a1073e2e35c2c7b0cc6969b85745715c3a025a31d9786896a1"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "pyyaml" do
|
|
|
|
url "https://pypi.python.org/packages/4a/85/db5a2df477072b2902b0eb892feb37d88ac635d36245a72a6a69b23b383a/PyYAML-3.12.tar.gz"
|
|
|
|
sha256 "592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "jinja2" do
|
|
|
|
url "https://pypi.python.org/packages/71/59/d7423bd5e7ddaf3a1ce299ab4490e9044e8dfd195420fc83a24de9e60726/Jinja2-2.9.5.tar.gz"
|
|
|
|
sha256 "702a24d992f856fa8d5a7a36db6128198d0c21e1da34448ca236c42e92384825"
|
|
|
|
end
|
|
|
|
|
|
|
|
resource "requests-oauthlib" do
|
|
|
|
url "https://pypi.python.org/packages/80/14/ad120c720f86c547ba8988010d5186102030591f71f7099f23921ca47fe5/requests-oauthlib-0.8.0.tar.gz"
|
|
|
|
sha256 "883ac416757eada6d3d07054ec7092ac21c7f35cb1d2cf82faf205637081f468"
|
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
|
|
|
virtualenv_install_with_resources
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
assert_match "No spells found, syncing from registry, please wait", shell_output("#{bin}/conjure-up openstack-base metal --show-env")
|
|
|
|
File.exist? "#{testpath}/.cache/conjure-up-spells/spells-index.yaml"
|
|
|
|
end
|
|
|
|
end
|