77 lines
3.8 KiB
Ruby
77 lines
3.8 KiB
Ruby
class Notifiers < Formula
|
|
include Language::Python::Virtualenv
|
|
|
|
desc "Easy way to send notifications"
|
|
homepage "https://pypi.org/project/notifiers/"
|
|
url "https://files.pythonhosted.org/packages/54/fc/aa5de032cc8d9ee41ceba7bbea98e2ed7090d7d95465dfe0179eb937146f/notifiers-1.3.3.tar.gz"
|
|
sha256 "9fd8d95ab1ebcd3852423755aa90cbb0f72a805ca77af0d8c9ad7af445f58399"
|
|
license "MIT"
|
|
|
|
bottle do
|
|
rebuild 2
|
|
sha256 cellar: :any_skip_relocation, arm64_ventura: "0b17e48870ffb0ac17252abaa76ccaf79dac1d6b5c6fca5e92b2cd31a1b3cb93"
|
|
sha256 cellar: :any_skip_relocation, arm64_monterey: "6278250a454ed0d67f2df0c4f85698935195b304de0d9cab4adc2928b8f4eae5"
|
|
sha256 cellar: :any_skip_relocation, arm64_big_sur: "b62cfcbf9eb4e3e71ba7f65fdb48e424a4487bcd0cdee7d181eabf396dbd91f3"
|
|
sha256 cellar: :any_skip_relocation, ventura: "21320f001355939b553247fd35df487919f0c74776fce9eb2cfb9ffbe68ed1f0"
|
|
sha256 cellar: :any_skip_relocation, monterey: "638ef0b76de81b4a2973a03ac04b1b24f6026bd20bfe427fd5c6a0388aa0e7ae"
|
|
sha256 cellar: :any_skip_relocation, big_sur: "339d9f8d5fe2be12371ee065c2c22b0d2c1010ffc885dd9488a4b6c6c9e15024"
|
|
sha256 cellar: :any_skip_relocation, catalina: "7bbf411c52bbdef5d3cd7d450d464d1751aab537286ee7da2a4d010d9d81a73e"
|
|
sha256 cellar: :any_skip_relocation, x86_64_linux: "6c4fa1236fa9a0d68b97cb9881b6f0e6631925506b1b96a4123db6d9ec9d5148"
|
|
end
|
|
|
|
depends_on "python@3.11"
|
|
|
|
resource "attrs" do
|
|
url "https://files.pythonhosted.org/packages/1a/cb/c4ffeb41e7137b23755a45e1bfec9cbb76ecf51874c6f1d113984ecaa32c/attrs-22.1.0.tar.gz"
|
|
sha256 "29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6"
|
|
end
|
|
|
|
resource "certifi" do
|
|
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/a1/34/44964211e5410b051e4b8d2869c470ae8a68ae274953b1c7de6d98bbcf94/charset-normalizer-2.1.1.tar.gz"
|
|
sha256 "5a3d016c7c547f69d6f81fb0db9449ce888b418b5b9952cc5e6e66843e9dd845"
|
|
end
|
|
|
|
resource "click" do
|
|
url "https://files.pythonhosted.org/packages/59/87/84326af34517fca8c58418d148f2403df25303e02736832403587318e9e8/click-8.1.3.tar.gz"
|
|
sha256 "7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e"
|
|
end
|
|
|
|
resource "idna" do
|
|
url "https://files.pythonhosted.org/packages/8b/e1/43beb3d38dba6cb420cefa297822eac205a277ab43e5ba5d5c46faf96438/idna-3.4.tar.gz"
|
|
sha256 "814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"
|
|
end
|
|
|
|
resource "jsonschema" do
|
|
url "https://files.pythonhosted.org/packages/65/9a/1951e3ed40115622dedc8b28949d636ee1ec69e210a52547a126cd4724e6/jsonschema-4.17.1.tar.gz"
|
|
sha256 "05b2d22c83640cde0b7e0aa329ca7754fbd98ea66ad8ae24aa61328dfe057fa3"
|
|
end
|
|
|
|
resource "pyrsistent" do
|
|
url "https://files.pythonhosted.org/packages/b8/ef/325da441a385a8a931b3eeb70db23cb52da42799691988d8d943c5237f10/pyrsistent-0.19.2.tar.gz"
|
|
sha256 "bfa0351be89c9fcbcb8c9879b826f4353be10f58f8a677efab0c017bf7137ec2"
|
|
end
|
|
|
|
resource "requests" do
|
|
url "https://files.pythonhosted.org/packages/a5/61/a867851fd5ab77277495a8709ddda0861b28163c4613b011bc00228cc724/requests-2.28.1.tar.gz"
|
|
sha256 "7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983"
|
|
end
|
|
|
|
resource "urllib3" do
|
|
url "https://files.pythonhosted.org/packages/b2/56/d87d6d3c4121c0bcec116919350ca05dc3afd2eeb7dc88d07e8083f8ea94/urllib3-1.26.12.tar.gz"
|
|
sha256 "3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e"
|
|
end
|
|
|
|
def install
|
|
virtualenv_install_with_resources
|
|
end
|
|
|
|
test do
|
|
assert_match "notifiers", shell_output("#{bin}/notifiers --help")
|
|
end
|
|
end
|