From 21dc8204a9631343ad08a54bd8f2cff6329bf10e Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Sat, 16 Nov 2024 09:58:07 -0800 Subject: [PATCH 1/2] python-lxml: remove --- Formula/p/python-lxml.rb | 53 ---------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 Formula/p/python-lxml.rb diff --git a/Formula/p/python-lxml.rb b/Formula/p/python-lxml.rb deleted file mode 100644 index d9d2e9934008b..0000000000000 --- a/Formula/p/python-lxml.rb +++ /dev/null @@ -1,53 +0,0 @@ -class PythonLxml < Formula - desc "Pythonic binding for the libxml2 and libxslt libraries" - homepage "https://github.com/lxml/lxml" - url "https://files.pythonhosted.org/packages/63/f7/ffbb6d2eb67b80a45b8a0834baa5557a14a5ffce0979439e7cd7f0c4055b/lxml-5.2.2.tar.gz" - sha256 "bb2dc4898180bea79863d5487e5f9c7c34297414bad54bcd0f0852aee9cfdb87" - license "BSD-3-Clause" - - bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "00da0d292782cc8f590a3f25255065b7c50468b653564cded6374f310f5cdbc8" - sha256 cellar: :any_skip_relocation, arm64_ventura: "0cb01e1f9efb6881f8b372c4afafa2a5beed53da457fd6b1773808737d17b138" - sha256 cellar: :any, arm64_monterey: "0aabaeae58992c0ce648e36b2b22e637e61e3c52150b048fd52ab0a839e77f72" - sha256 cellar: :any_skip_relocation, sonoma: "8f8668f58af29d86aa4eea49574e4de7ecf56b1513cb2285dd50b6eb2aaf851a" - sha256 cellar: :any_skip_relocation, ventura: "37914264da3b2e4efa00fb06ea69d22616b65210852442566ede657ab80207d3" - sha256 cellar: :any, monterey: "ce1d7eea93c621928601d6d32a9f582cf6a65f72c248ce1c15a5e0c9b269f09e" - sha256 cellar: :any_skip_relocation, x86_64_linux: "b31cc2b8833b956f4c76074ecaf21e6beb505dc3913a4d9da57b8bb1cf9bc160" - end - - disable! date: "2024-08-15", because: "does not meet homebrew/core's requirements for Python library formulae" - - depends_on "python-setuptools" => :build - depends_on "python@3.11" => [:build, :test] - depends_on "python@3.12" => [:build, :test] - - uses_from_macos "libxml2", since: :ventura - uses_from_macos "libxslt" - - def pythons - deps.map(&:to_formula).sort_by(&:version).filter { |f| f.name.start_with?("python@") } - end - - def install - pythons.each do |python| - python_exe = python.opt_libexec/"bin/python" - system python_exe, "-m", "pip", "install", *std_pip_args, "." - end - end - - def caveats - <<~EOS - Additional details on upcoming formula removal are available at: - * https://github.com/Homebrew/homebrew-core/issues/157500 - * https://docs.brew.sh/Python-for-Formula-Authors#libraries - * https://docs.brew.sh/Homebrew-and-Python#pep-668-python312-and-virtual-environments - EOS - end - - test do - pythons.each do |python| - python_exe = python.opt_libexec/"bin/python" - system python_exe, "-c", "import lxml" - end - end -end From 432e170bb98a073b58fc8ce55420cf18ee8909a2 Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Sat, 16 Nov 2024 09:59:19 -0800 Subject: [PATCH 2/2] python-ply: remove --- Formula/p/python-ply.rb | 51 ----------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 Formula/p/python-ply.rb diff --git a/Formula/p/python-ply.rb b/Formula/p/python-ply.rb deleted file mode 100644 index 5ad6e97bf39ab..0000000000000 --- a/Formula/p/python-ply.rb +++ /dev/null @@ -1,51 +0,0 @@ -class PythonPly < Formula - desc "Python Lex & Yacc" - # homepage ssl cert issue report, https://github.com/dabeaz/ply/issues/295 - homepage "https://github.com/dabeaz/ply" - url "https://files.pythonhosted.org/packages/e5/69/882ee5c9d017149285cab114ebeab373308ef0f874fcdac9beb90e0ac4da/ply-3.11.tar.gz" - sha256 "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3" - license "BSD-3-Clause" - - bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "54d66e3ac6b55f14eb0f6490394050b4da74cd082fa96c60081d7de50de883c6" - sha256 cellar: :any_skip_relocation, arm64_ventura: "6b3ef7b1b54e137387f1a0ed5f592376237e6586b46c8b04e7df2c7103b87aff" - sha256 cellar: :any_skip_relocation, arm64_monterey: "fbaf1ce8bb72fdefac197da4df762d1f1c0c30272205ee029b97e2328affaac6" - sha256 cellar: :any_skip_relocation, sonoma: "cc7a1c7d224d497ed893acc992431ae4d6828dc48a6f695be25174ca3b659f5e" - sha256 cellar: :any_skip_relocation, ventura: "4a6627594316593b40c75d8e5571a27f5d9e9b8be6f381654e558eba9a75c8ca" - sha256 cellar: :any_skip_relocation, monterey: "387e60140d3f3328b8230a034bf30040cd62ca8cf834d8b0666307b8411da332" - sha256 cellar: :any_skip_relocation, x86_64_linux: "4bace34ed66192918877a28f51c5452e7d5b04aaaa91bc90f4edde60ea58d976" - end - - disable! date: "2024-08-15", because: "does not meet homebrew/core's requirements for Python library formulae" - - depends_on "python-setuptools" => :build - depends_on "python@3.11" => [:build, :test] - depends_on "python@3.12" => [:build, :test] - - def pythons - deps.map(&:to_formula).sort_by(&:version).filter { |f| f.name.start_with?("python@") } - end - - def install - pythons.each do |python| - python_exe = python.opt_libexec/"bin/python" - system python_exe, "-m", "pip", "install", *std_pip_args, "." - end - end - - def caveats - <<~EOS - Additional details on upcoming formula removal are available at: - * https://github.com/Homebrew/homebrew-core/issues/157500 - * https://docs.brew.sh/Python-for-Formula-Authors#libraries - * https://docs.brew.sh/Homebrew-and-Python#pep-668-python312-and-virtual-environments - EOS - end - - test do - pythons.each do |python| - python_exe = python.opt_libexec/"bin/python" - system python_exe, "-c", "import ply.lex, ply.yacc" - end - end -end