diff --git a/Formula/dcos-cli.rb b/Formula/dcos-cli.rb index 7ca47d7dcc..424e4859b8 100644 --- a/Formula/dcos-cli.rb +++ b/Formula/dcos-cli.rb @@ -3,8 +3,8 @@ class DcosCli < Formula desc "Cross-platform command-line utility to manage DC/OS clusters" homepage "https://dcos.io/docs/latest/usage/cli/" - url "https://github.com/dcos/dcos-cli/archive/0.5.3.tar.gz" - sha256 "3bb63535bd038d7d37979f2662415370652d1721a6dd33b30bb7eb1affd71dcb" + url "https://github.com/dcos/dcos-cli/archive/0.5.4.tar.gz" + sha256 "f82e0bb22aa011d6b095c63e54dec4524a82110d2166f71945b3f73a4e43a197" head "https://github.com/dcos/dcos-cli.git" bottle do @@ -22,24 +22,24 @@ class DcosCli < Formula sha256 "cbbadd640d3165ab24b06ef25d1dca09a3441611ac15f6a6b452474fdf0aed1a" end + resource "certifi" do + url "https://files.pythonhosted.org/packages/20/d0/3f7a84b0c5b89e94abbd073a5f00c7176089f526edb056686751d5064cbd/certifi-2017.7.27.1.tar.gz" + sha256 "40523d2efb60523e113b44602298f0960e900388cf3bb6043f645cf57ea9e3f5" + end + resource "cffi" do url "https://files.pythonhosted.org/packages/5b/b9/790f8eafcdab455bcd3bd908161f802c9ce5adbf702a83aa7712fcc345b7/cffi-1.10.0.tar.gz" sha256 "b3b02911eb1f6ada203b0763ba924234629b51586f72a21faacc638269f4ced5" end - resource "certifi" do - url "https://files.pythonhosted.org/packages/dd/0e/1e3b58c861d40a9ca2d7ea4ccf47271d4456ae4294c5998ad817bd1b4396/certifi-2017.4.17.tar.gz" - sha256 "f7527ebf7461582ce95f7a9e03dd141ce810d40590834f4ec20cddd54234c10a" - end - resource "chardet" do url "https://files.pythonhosted.org/packages/fc/bb/a5768c230f9ddb03acc9ef3f0d4a3cf93462473795d18e9535498c8f929d/chardet-3.0.4.tar.gz" sha256 "84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae" end resource "cryptography" do - url "https://files.pythonhosted.org/packages/e6/7c/6d1b566fe84b0144f9277b120002046c2303cf012eaba912b2805969a209/cryptography-2.0.tar.gz" - sha256 "d32453b54f99cfe3103f0cb79f6c0ea68c66483811dfe1527a4f06eb3bc580b0" + url "https://files.pythonhosted.org/packages/0a/23/ffee389a45f752dc745706cdb2d354b91ddb71594506fac45236cf67af49/cryptography-2.0.2.tar.gz" + sha256 "3780b2663ee7ebb37cb83263326e3cd7f8b2ea439c448539d4b87de12c8d06ab" end resource "docopt" do @@ -48,8 +48,8 @@ class DcosCli < Formula end resource "idna" do - url "https://files.pythonhosted.org/packages/d8/82/28a51052215014efc07feac7330ed758702fc0581347098a81699b5281cb/idna-2.5.tar.gz" - sha256 "3cb5ce08046c4e3a560fc02f138d0ac63e00f8ce5901a56b32ec8b7994082aab" + url "https://files.pythonhosted.org/packages/f4/bd/0467d62790828c23c47fc1dfa1b1f052b24efdf5290f071c7a91d0d82fd3/idna-2.6.tar.gz" + sha256 "2c6a5de3089009e3da7c5dde64a141dbc8551d5b7f6cf4ed7c2568d0cc520a8f" end resource "jsonschema" do @@ -72,11 +72,6 @@ class DcosCli < Formula sha256 "853c116513625c738dc3ce1aee148b5b5757a86727e67eff6502c7ca59d43c36" end - resource "pyasn1" do - url "https://files.pythonhosted.org/packages/69/17/eec927b7604d2663fef82204578a0056e11e0fc08d485fdb3b6199d9b590/pyasn1-0.2.3.tar.gz" - sha256 "738c4ebd88a718e700ee35c8d129acce2286542daa80a82823a7073644f706ad" - end - resource "pycparser" do url "https://files.pythonhosted.org/packages/8c/2d/aad7f16146f4197a11f8e91fb81df177adcc2073d36a17b1491fd09df6ed/pycparser-2.18.tar.gz" sha256 "99a8ca03e29851d96616ad0404b4aad7d9ee16f25c9f9708a11faf2810f7b226" @@ -93,8 +88,8 @@ class DcosCli < Formula end resource "requests" do - url "https://files.pythonhosted.org/packages/2c/b5/2b6e8ef8dd18203b6399e9f28c7d54f6de7b7549853fe36d575bd31e29a7/requests-2.18.1.tar.gz" - sha256 "c6f3bdf4a4323ac7b45d01e04a6f6c20e32a052cd04de81e05103abc049ad9b9" + url "https://files.pythonhosted.org/packages/b0/e1/eab4fc3752e3d240468a8c0b284607899d2fbfb236a56b7377a329aa8d09/requests-2.18.4.tar.gz" + sha256 "9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e" end resource "six" do @@ -113,8 +108,8 @@ class DcosCli < Formula end resource "urllib3" do - url "https://files.pythonhosted.org/packages/96/d9/40e4e515d3e17ed0adbbde1078e8518f8c4e3628496b56eb8f026a02b9e4/urllib3-1.21.1.tar.gz" - sha256 "b14486978518ca0901a76ba973d7821047409d7f726f22156b24e83fd71382a5" + url "https://files.pythonhosted.org/packages/ee/11/7c59620aceedcc1ef65e156cc5ce5a24ef87be4107c2b74458464e437a5d/urllib3-1.22.tar.gz" + sha256 "cc44da8e1145637334317feebd728bd869a35285b93cbb4cca2577da7e62db4f" end resource "virtualenv" do @@ -123,10 +118,6 @@ class DcosCli < Formula end def install - # Fix build with openssl 1.1.0f - # See https://github.com/dcos/dcos-cli/pull/985 - inreplace "cli/setup.py", "cryptography==1.6", "cryptography==2.0" - venv = virtualenv_create(libexec, "python3") venv.pip_install resources venv.pip_install [buildpath, buildpath/"cli"]