diff --git a/Formula/p/python-flit-core.rb b/Formula/p/python-flit-core.rb deleted file mode 100644 index 280f572c54de9..0000000000000 --- a/Formula/p/python-flit-core.rb +++ /dev/null @@ -1,39 +0,0 @@ -class PythonFlitCore < Formula - desc "Simplified packaging of Python modules" - homepage "https://flit.pypa.io/" - url "https://files.pythonhosted.org/packages/c4/e6/c1ac50fe3eebb38a155155711e6e864e254ce4b6e17fe2429b4c4d5b9e80/flit_core-3.9.0.tar.gz" - sha256 "72ad266176c4a3fcfab5f2930d76896059851240570ce9a98733b658cb786eba" - license "BSD-3-Clause" - - bottle do - rebuild 2 - sha256 cellar: :any_skip_relocation, arm64_sonoma: "937c8669e970bdcc413d6e8f270933daeb066905fca7fd14b6644317742419a5" - sha256 cellar: :any_skip_relocation, arm64_ventura: "2fb869b18beaa2f917611354966bd0c881bacdae369f54204bcd7c6230d11174" - sha256 cellar: :any_skip_relocation, arm64_monterey: "42931497a3f72077673c529c1248c3065a3759dccb6b52aa0b29f9758af7eb6b" - sha256 cellar: :any_skip_relocation, sonoma: "1c1321fc0a8762b5956f5876e57d7af10bee2529e02dcca55d36e2ee52d54ece" - sha256 cellar: :any_skip_relocation, ventura: "f6e01f01a804537d77aa2f3d3fab83744738d4edc59c2b59c3994f335b0a84c4" - sha256 cellar: :any_skip_relocation, monterey: "8588bb813f51ca80f519df9a61cdb4f2993110e973a7c0d5c6a1aadb90b8f94e" - sha256 cellar: :any_skip_relocation, x86_64_linux: "b38d66244b70c3669f14150ce04a7b5c0e2be2df504dec90677d991e1534d812" - end - - 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 - - test do - pythons.each do |python| - python_exe = python.opt_libexec/"bin/python" - system python_exe, "-c", "import flit_core" - end - end -end diff --git a/Formula/p/python-pyparsing.rb b/Formula/p/python-pyparsing.rb deleted file mode 100644 index e07926cf149e0..0000000000000 --- a/Formula/p/python-pyparsing.rb +++ /dev/null @@ -1,39 +0,0 @@ -class PythonPyparsing < Formula - desc "Python library for creating PEG parsers" - homepage "https://github.com/pyparsing/pyparsing" - url "https://files.pythonhosted.org/packages/46/3a/31fd28064d016a2182584d579e033ec95b809d8e220e74c4af6f0f2e8842/pyparsing-3.1.2.tar.gz" - sha256 "a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad" - license "MIT" - - bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "08d753c6ae54cbe253b8ac6e1bb2321f298e36ee6242d7c2b5ab59a4904cf2a8" - sha256 cellar: :any_skip_relocation, arm64_ventura: "0070eaef4288055ec4f9d8278065024d71fd163efd500b907ec07b7f778a5265" - sha256 cellar: :any_skip_relocation, arm64_monterey: "4da6cfb32c7fac5bea1c4c2a2a3c8ffe075bceee17cf6bd9a42c37f6cf9370e6" - sha256 cellar: :any_skip_relocation, sonoma: "8047ca6f196bf8add8e84acdf27c140343315436bdb254464798095f1fb9115a" - sha256 cellar: :any_skip_relocation, ventura: "69d19eafa74434e37854e4840ed7305a0f17a179f5d23e535c16c0044704484b" - sha256 cellar: :any_skip_relocation, monterey: "dda121f09023fa93008c1f7d36e7173041f924e70920b0d3fec2c92a77e76f1e" - sha256 cellar: :any_skip_relocation, x86_64_linux: "238f79236471779a21a19b4b0082e0970d37548e152ea1aa7b94cbfdb13b80a6" - end - - depends_on "python-flit-core" => :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 - - test do - pythons.each do |python| - python_exe = python.opt_libexec/"bin/python" - system python_exe, "-c", "import pyparsing" - end - end -end