trzsz: use protobuf resource

Closes #97835.

Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Dustin Rodrigues 2022-03-26 09:05:17 -04:00 committed by BrewTestBot
parent 318ff22d20
commit d31e99c0ad
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 3 additions and 6 deletions

View File

@ -16,6 +16,7 @@ class Trzsz < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "4f28ee46bd735a4db1ff2539e59edb9250a06aa2df5f647500aef8e5326c112a"
end
depends_on "protobuf"
depends_on "python@3.10"
resource "iterm2" do
@ -23,11 +24,6 @@ class Trzsz < Formula
sha256 "dbe4b6a484fa5bba93a68ecd7a0c8b179bb52c0ba5bcdd96a0dd712b79ae554e"
end
resource "protobuf" do
url "https://files.pythonhosted.org/packages/6c/49/f864b9fd6310d9a15ddae5b37d78dff1df0e2e1da476442fee062c6032b2/protobuf-3.19.4.tar.gz"
sha256 "9df0c10adf3e83015ced42a9a7bd64e13d06c4cf45c340d2c63020ea04499d0a"
end
resource "trzsz-iterm2" do
url "https://files.pythonhosted.org/packages/67/75/32d49cec28fbca5777cd0d96c3721af73b9e101b7c5cc1c8da3868d271b9/trzsz-iterm2-1.0.0.tar.gz"
sha256 "f6d12d3cff9efac5a5f9e99a4732a17d4828bea88584af8d1d5c70e671751d4f"

View File

@ -494,7 +494,8 @@
"exclude_packages": ["six"]
},
"trzsz": {
"extra_packages": ["trzsz-iterm2"]
"extra_packages": ["trzsz-iterm2"],
"exclude_packages": ["protobuf"]
},
"twarc": {
"exclude_packages": ["six"]