class Passpie < Formula include Language::Python::Virtualenv desc "Manage login credentials from the terminal" homepage "https://github.com/marcwebbie/passpie" url "https://files.pythonhosted.org/packages/c8/2e/db84fa9d33c9361024343411875835143dc7b73eb3320b41c4f543b40ad6/passpie-1.6.1.tar.gz" sha256 "eec50eabb9f4c9abd9a1d89794f86afe3956e1ba9f6c831d04b164fd4fc0ad02" license "MIT" revision 1 head "https://github.com/marcwebbie/passpie.git", branch: "master" bottle do sha256 cellar: :any, arm64_ventura: "ab4a9bdce97d2e9a86ce099d618109301f2bf1cfb5a1717c64c2991533b0bfb3" sha256 cellar: :any, arm64_monterey: "cf72c916dcef8440341f090154893ccdd78dc2237118cc6163cb1159a638fffc" sha256 cellar: :any, arm64_big_sur: "2bea6978498b4a19b59ba269d158c833d31ee75c10528f34ceb4eaa7ffe2293f" sha256 cellar: :any, ventura: "9a0fe7bf96d30a99d8935250138fe1dde53e47e4fad542edbc53d2e254d41870" sha256 cellar: :any, monterey: "a97cb60bfe42889ca3109c4e926af1f0b07b4197b5ae4104d487901316fdb389" sha256 cellar: :any, big_sur: "e8550b5e5a4caa3515b9e726beeb3a571a98db40e3fc2731fc0a4460fe929a61" sha256 cellar: :any, catalina: "29a24482b5c955a6d14b7a285d6937c04ab89a53f110c8343221d2ccef2cb508" sha256 cellar: :any, mojave: "9f524fdab59188aab2b53fe7c3e5084ecdc27149dd742abffdfb13af074ba0ee" sha256 cellar: :any, high_sierra: "acac2254266a3c741c15e28403482e67517d447dc4a4c0411934ec93ab902945" sha256 cellar: :any_skip_relocation, x86_64_linux: "7d712ec9f284461db0ef012f2d03f77fcc6e641c125be56c8989a4a9d30a69ab" end # Last release on 2018-04-24. # Also, PyYAML version has CVEs and we inreplace an update (3.11 -> 3.13) to support Python 3.8. # Open dependabot PR to update since 2021-03-25: https://github.com/marcwebbie/passpie/pull/124 deprecate! date: "2022-12-31", because: :unmaintained depends_on "gnupg" depends_on "libyaml" depends_on "python@3.8" resource "click" do url "https://files.pythonhosted.org/packages/7a/00/c14926d8232b36b08218067bcd5853caefb4737cda3f0a47437151344792/click-6.6.tar.gz" sha256 "cc6a19da8ebff6e7074f731447ef7e112bd23adf3de5c597cf9989f2fd8defe9" end resource "PyYAML" do url "https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz" sha256 "3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf" end resource "rstr" do url "https://files.pythonhosted.org/packages/34/73/bf268029482255aa125f015baab1522a22ad201ea5e324038fb542bc3706/rstr-2.2.4.tar.gz" sha256 "64a086a7449a576de7f40327f8cd0a7752efbbb298e65dc68363ee7db0a1c8cf" end resource "tabulate" do url "https://files.pythonhosted.org/packages/db/40/6ffc855c365769c454591ac30a25e9ea0b3e8c952a1259141f5b9878bd3d/tabulate-0.7.5.tar.gz" sha256 "9071aacbd97a9a915096c1aaf0dc684ac2672904cd876db5904085d6dac9810e" end resource "tinydb" do url "https://files.pythonhosted.org/packages/6c/2e/0df79439cf5cb3c6acfc9fb87e12d9a0ff45d3c573558079b09c72b64ced/tinydb-3.2.1.zip" sha256 "7fc5bfc2439a0b379bd60638b517b52bcbf70220195b3f3245663cb8ad9dbcf0" end def install # PyYAML 3.11 cannot be compiled on Python 3.7+ inreplace "setup.py", "PyYAML==3.11", "PyYAML==3.13" virtualenv_install_with_resources end test do system bin/"passpie", "--help" end end