Skip to content

Commit

Permalink
Merge pull request #163962 from cho-m/bpython-vendor
Browse files Browse the repository at this point in the history
bpython: vendor python resources
  • Loading branch information
BrewTestBot authored Feb 23, 2024
2 parents 805d074 + cffc3bf commit 7e4b793
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 20 deletions.
47 changes: 28 additions & 19 deletions Formula/b/bpython.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,27 @@ class Bpython < Formula
head "https://github.com/bpython/bpython.git", branch: "main"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "017bfd24c25e0df5fd21862f36fba230e5ed709dba05ee9e82b0c3f852edff68"
sha256 cellar: :any_skip_relocation, arm64_ventura: "251a84d93420a97f23178c545aabe6865d0844110f583f4a9bb41ad9b5e8dba6"
sha256 cellar: :any_skip_relocation, arm64_monterey: "dabc48c6b5c56709d2690854ae34effe61566fba1455b2190c115cc6a2b6d875"
sha256 cellar: :any_skip_relocation, sonoma: "3bdd48284538a714df46cba3c10314d0eb1bcbb9645b198b976345a0bf7ac931"
sha256 cellar: :any_skip_relocation, ventura: "5a42aa0f43bf441f2ecf3ed279886e075704f638015a29731b5d6255df0dece7"
sha256 cellar: :any_skip_relocation, monterey: "ccb7aa00e599c13f7313946c965c9def5ff3770ee0cc75315e5edabf2da3bf9c"
sha256 cellar: :any_skip_relocation, x86_64_linux: "fc3670811e300f190b8a8d85a2be735b6dab58b5d4b4be6147ad7a5f3f2a869e"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "96c7f92c5832218cd3035c6732af5105de24f5fdb6107a20b78a769490e2b832"
sha256 cellar: :any_skip_relocation, arm64_ventura: "68069284494cd3b6e51d190453dfdfb73a40ce933ec41bd6366de3dd0574adda"
sha256 cellar: :any_skip_relocation, arm64_monterey: "48cf60c2a49097c003a213afef71dc5bdae5f996ff0d31a30113ee33b392fa66"
sha256 cellar: :any_skip_relocation, sonoma: "105016910483900de9c206de154dde9958ccb4bb5af2ba0d3ff153164bda0422"
sha256 cellar: :any_skip_relocation, ventura: "ea41f5c4beb6d78b9e424f80db81e31c9a44f96b63e2e3103c2d69861a9275f6"
sha256 cellar: :any_skip_relocation, monterey: "ec555d4978e1b7feef00570ef88ccac2dbdb06226152f965f55ae9c900d15c7b"
sha256 cellar: :any_skip_relocation, x86_64_linux: "28104736251ccf58500b08e017f2267f0dd11712c7719b3ca77dd8068e1372a8"
end

depends_on "pygments"
depends_on "python-certifi"
depends_on "python@3.12"
depends_on "six"

resource "blessed" do
url "https://files.pythonhosted.org/packages/25/ae/92e9968ad23205389ec6bd82e2d4fca3817f1cdef34e10aa8d529ef8b1d7/blessed-1.20.0.tar.gz"
sha256 "2cdd67f8746e048f00df47a2880f4d6acbcdb399031b604e34ba8f71d5787680"
end

resource "charset-normalizer" do
url "https://files.pythonhosted.org/packages/cf/ac/e89b2f2f75f51e9859979b56d2ec162f7f893221975d244d8d5277aa9489/charset-normalizer-3.3.0.tar.gz"
sha256 "63563193aec44bce707e0c5ca64ff69fa72ed7cf34ce6e11d5127555756fd2f6"
url "https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz"
sha256 "f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5"
end

resource "curtsies" do
Expand All @@ -45,13 +44,18 @@ class Bpython < Formula
end

resource "greenlet" do
url "https://files.pythonhosted.org/packages/b6/02/47dbd5e1c9782e6d3f58187fa10789e308403f3fc3a490b3646b2bff6d9f/greenlet-3.0.0.tar.gz"
sha256 "19834e3f91f485442adc1ee440171ec5d9a4840a1f7bd5ed97833544719ce10b"
url "https://files.pythonhosted.org/packages/17/14/3bddb1298b9a6786539ac609ba4b7c9c0842e12aa73aaa4d8d73ec8f8185/greenlet-3.0.3.tar.gz"
sha256 "43374442353259554ce33599da8b692d5aa96f8976d567d4badf263371fbe491"
end

resource "idna" do
url "https://files.pythonhosted.org/packages/8b/e1/43beb3d38dba6cb420cefa297822eac205a277ab43e5ba5d5c46faf96438/idna-3.4.tar.gz"
sha256 "814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"
url "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz"
sha256 "9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca"
end

resource "pygments" do
url "https://files.pythonhosted.org/packages/55/59/8bccf4157baf25e4aa5a0bb7fa3ba8600907de105ebc22b0c78cfbf6f565/pygments-2.17.2.tar.gz"
sha256 "da46cec9fd2de5be3a8a784f434e4c4ab670b4ff54d605c4c2717e9d49c4c367"
end

resource "pyxdg" do
Expand All @@ -64,14 +68,19 @@ class Bpython < Formula
sha256 "942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"
end

resource "six" do
url "https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz"
sha256 "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"
end

resource "urllib3" do
url "https://files.pythonhosted.org/packages/af/47/b215df9f71b4fdba1025fc05a77db2ad243fa0926755a52c5e71659f4e3c/urllib3-2.0.7.tar.gz"
sha256 "c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84"
url "https://files.pythonhosted.org/packages/7a/50/7fd50a27caa0652cd4caf224aa87741ea41d3265ad13f010886167cfcc79/urllib3-2.2.1.tar.gz"
sha256 "d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19"
end

resource "wcwidth" do
url "https://files.pythonhosted.org/packages/cb/ee/20850e9f388d8b52b481726d41234f67bc89a85eeade6e2d6e2965be04ba/wcwidth-0.2.8.tar.gz"
sha256 "8705c569999ffbb4f6a87c6d1b80f324bd6db952f5eb0b95bc07517f4c1813d4"
url "https://files.pythonhosted.org/packages/6c/63/53559446a878410fc5a5974feb13d31d78d752eb18aeba59c7fef1af7598/wcwidth-0.2.13.tar.gz"
sha256 "72ea0c06399eb286d978fdedb6923a9eb47e1c486ce63e9b4e64fc18303972b5"
end

def python3
Expand Down
2 changes: 1 addition & 1 deletion pypi_formula_mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"exclude_packages": ["certifi"]
},
"bpython": {
"exclude_packages": ["certifi", "Pygments", "six"]
"exclude_packages": ["certifi"]
},
"buku": {
"package_name": "buku[server]",
Expand Down

0 comments on commit 7e4b793

Please sign in to comment.