From dedc1b4c85fc175bf41fa4411018b612f3818b11 Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Wed, 11 Jan 2023 05:13:37 +0800 Subject: [PATCH] httpie: update 3.2.1 bottle. --- Formula/httpie.rb | 43 ++++++++++++++++++++----------------------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/Formula/httpie.rb b/Formula/httpie.rb index 1cac638b0d7..6800a0a9a89 100644 --- a/Formula/httpie.rb +++ b/Formula/httpie.rb @@ -10,20 +10,20 @@ class Httpie < Formula bottle do root_url "https://github.com/gromgit/homebrew-core-mojave/releases/download/httpie" - rebuild 1 - sha256 cellar: :any_skip_relocation, mojave: "ab3ff52e1366e4fe9bef5ee8d64efd03d2de19731c9f0f865966f8888c447dcf" + rebuild 2 + sha256 cellar: :any_skip_relocation, mojave: "517ac524e2fdbf0fedae8036ce8bfb5e5205174f60cf6df56081509d78fa74cd" end - depends_on "python@3.10" + depends_on "python@3.11" resource "certifi" do - url "https://files.pythonhosted.org/packages/6c/ae/d26450834f0acc9e3d1f74508da6df1551ceab6c2ce0766a593362d6d57f/certifi-2021.10.8.tar.gz" - sha256 "78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872" + url "https://files.pythonhosted.org/packages/cb/a4/7de7cd59e429bd0ee6521ba58a75adaec136d32f91a761b28a11d8088d44/certifi-2022.9.24.tar.gz" + sha256 "0d9c601124e5a6ba9712dbc60d9c53c21e34f5f641fe83002317394311bdce14" end resource "charset-normalizer" do - url "https://files.pythonhosted.org/packages/56/31/7bcaf657fafb3c6db8c787a865434290b726653c912085fbd371e9b92e1c/charset-normalizer-2.0.12.tar.gz" - sha256 "2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597" + url "https://files.pythonhosted.org/packages/a1/34/44964211e5410b051e4b8d2869c470ae8a68ae274953b1c7de6d98bbcf94/charset-normalizer-2.1.1.tar.gz" + sha256 "5a3d016c7c547f69d6f81fb0db9449ce888b418b5b9952cc5e6e66843e9dd845" end resource "commonmark" do @@ -37,8 +37,8 @@ class Httpie < Formula end resource "idna" do - url "https://files.pythonhosted.org/packages/62/08/e3fc7c8161090f742f504f40b1bccbfc544d4a4e09eb774bf40aafce5436/idna-3.3.tar.gz" - sha256 "9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d" + url "https://files.pythonhosted.org/packages/8b/e1/43beb3d38dba6cb420cefa297822eac205a277ab43e5ba5d5c46faf96438/idna-3.4.tar.gz" + sha256 "814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4" end resource "multidict" do @@ -47,8 +47,8 @@ class Httpie < Formula end resource "Pygments" do - url "https://files.pythonhosted.org/packages/59/0f/eb10576eb73b5857bc22610cdfc59e424ced4004fe7132c8f2af2cc168d3/Pygments-2.12.0.tar.gz" - sha256 "5eb116118f9612ff1ee89ac96437bb6b49e8f04d8a13b514ba26f620208e26eb" + url "https://files.pythonhosted.org/packages/e0/ef/5905cd3642f2337d44143529c941cc3a02e5af16f0f65f81cbef7af452bb/Pygments-2.13.0.tar.gz" + sha256 "56a8508ae95f98e2b9bdf93a6be5ae3f7d8af858b43e02c5a2ff083726be40c1" end resource "PySocks" do @@ -57,34 +57,31 @@ class Httpie < Formula end resource "requests" do - url "https://files.pythonhosted.org/packages/60/f3/26ff3767f099b73e0efa138a9998da67890793bfa475d8278f84a30fec77/requests-2.27.1.tar.gz" - sha256 "68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61" + url "https://files.pythonhosted.org/packages/a5/61/a867851fd5ab77277495a8709ddda0861b28163c4613b011bc00228cc724/requests-2.28.1.tar.gz" + sha256 "7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983" end resource "requests-toolbelt" do - url "https://files.pythonhosted.org/packages/28/30/7bf7e5071081f761766d46820e52f4b16c8a08fef02d2eb4682ca7534310/requests-toolbelt-0.9.1.tar.gz" - sha256 "968089d4584ad4ad7c171454f0a5c6dac23971e9472521ea3b6d49d610aa6fc0" + url "https://files.pythonhosted.org/packages/0c/4c/07f01c6ac44f7784fa399137fbc8d0cdc1b5d35304e8c0f278ad82105b58/requests-toolbelt-0.10.1.tar.gz" + sha256 "62e09f7ff5ccbda92772a29f394a49c3ad6cb181d568b1337626b2abb628a63d" end resource "rich" do - url "https://files.pythonhosted.org/packages/a4/50/8e34f3f18dc3914bd14a0722cb471410488495fdcd93e122724d4dd8c5f9/rich-12.3.0.tar.gz" - sha256 "7e8700cda776337036a712ff0495b04052fb5f957c7dfb8df997f88350044b64" + url "https://files.pythonhosted.org/packages/11/23/814edf09ec6470d52022b9e95c23c1bef77f0bc451761e1504ebd09606d3/rich-12.6.0.tar.gz" + sha256 "ba3a3775974105c221d31141f2c116f4fd65c5ceb0698657a11e9f295ec93fd0" end resource "urllib3" do - url "https://files.pythonhosted.org/packages/1b/a5/4eab74853625505725cefdf168f48661b2cd04e7843ab836f3f63abf81da/urllib3-1.26.9.tar.gz" - sha256 "aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e" + url "https://files.pythonhosted.org/packages/b2/56/d87d6d3c4121c0bcec116919350ca05dc3afd2eeb7dc88d07e8083f8ea94/urllib3-1.26.12.tar.gz" + sha256 "3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e" end def install - venv = virtualenv_create(libexec, "python3.10") - venv.pip_install resources - # We use a special file called __build_channel__.py to denote which source # was used to install httpie. File.write("httpie/internal/__build_channel__.py", "BUILD_CHANNEL = \"homebrew\"") - venv.pip_install_and_link buildpath + virtualenv_install_with_resources man1.install_symlink libexec/"share/man/man1/http.1" man1.install_symlink libexec/"share/man/man1/https.1"