diff --git a/Formula/m/meson-python.rb b/Formula/m/meson-python.rb deleted file mode 100644 index e1a46d3b95dfc..0000000000000 --- a/Formula/m/meson-python.rb +++ /dev/null @@ -1,63 +0,0 @@ -class MesonPython < Formula - desc "Meson PEP 517 Python build backend" - homepage "https://meson-python.readthedocs.io/en/latest/" - url "https://files.pythonhosted.org/packages/a2/3b/276b596824a0820987fdcc7721618453b4f9a8305fe20b611a00ac3f948e/meson_python-0.15.0.tar.gz" - sha256 "fddb73eecd49e89c1c41c87937cd89c2d0b65a1c63ba28238681d4bd9484d26f" - license "MIT" - - bottle do - rebuild 1 - sha256 cellar: :any_skip_relocation, arm64_sonoma: "e0808f63a54ccefa7fc8d6a0b448f50539dc1c43766fd51ff21a670c816556b0" - sha256 cellar: :any_skip_relocation, arm64_ventura: "379571d4e7b31ea43feb22dcebc7e7a045e407f279dde449544b554606493c08" - sha256 cellar: :any_skip_relocation, arm64_monterey: "37668cdcae637d0053cb0312200ab42eb51a8951c36ac0f0bdab4e4eac817c11" - sha256 cellar: :any_skip_relocation, sonoma: "9b0d50dd856c12acbc7b2d82409f2a970b4077e084e1add520347aeb21683213" - sha256 cellar: :any_skip_relocation, ventura: "7f196195e9bafffb20d757c8e9028ce6b762ea2f1817f8da544435d4332662d5" - sha256 cellar: :any_skip_relocation, monterey: "1a1d762498a9dd66d56b1e2924843bf43dcfcc3683ad86be3c3be5e5080af0c8" - sha256 cellar: :any_skip_relocation, x86_64_linux: "544afea0d36e1841c4e13c851d3b189e78e42e6624b864435f71a2f1fa7bd753" - end - - depends_on "python-flit-core" => :build - depends_on "python-setuptools" => :build - depends_on "python@3.11" => [:build, :test] - depends_on "python@3.12" => [:build, :test] - depends_on "meson" - depends_on "python-packaging" - - resource "pyproject-metadata" do - url "https://files.pythonhosted.org/packages/38/af/b0e6a9eba989870fd26e10889446d1bec2e6d5be0a1bae2dc4dcda9ce199/pyproject-metadata-0.7.1.tar.gz" - sha256 "0a94f18b108b9b21f3a26a3d541f056c34edcb17dc872a144a15618fed7aef67" - end - - resource "tomli" do - url "https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3/tomli-2.0.1.tar.gz" - sha256 "de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f" - end - - def pythons - deps.map(&:to_formula).sort_by(&:version).filter { |f| f.name.start_with?("python@") } - end - - def install - pythons.each do |python| - site_packages = Language::Python.site_packages(python) - ENV.prepend_create_path "PYTHONPATH", libexec/"vendor"/site_packages - python_exe = python.opt_libexec/"bin/python" - - resources.each do |r| - r.stage do - system python_exe, "-m", "pip", "install", *std_pip_args(prefix: libexec/"vendor"), Pathname.pwd - end - end - - system python_exe, "-m", "pip", "install", *std_pip_args(prefix: libexec/"vendor"), "." - (prefix/site_packages/"homebrew-deps.pth").write libexec/"vendor"/site_packages - end - end - - test do - pythons.each do |python| - python_exe = python.opt_libexec/"bin/python" - system python_exe, "-c", "import mesonpy" - end - end -end diff --git a/Formula/p/python-cycler.rb b/Formula/p/python-cycler.rb deleted file mode 100644 index 25ce9004fe0bf..0000000000000 --- a/Formula/p/python-cycler.rb +++ /dev/null @@ -1,39 +0,0 @@ -class PythonCycler < Formula - desc "Composable style cycles" - homepage "https://github.com/matplotlib/cycler" - url "https://files.pythonhosted.org/packages/a9/95/a3dbbb5028f35eafb79008e7522a75244477d2838f38cbb722248dabc2a8/cycler-0.12.1.tar.gz" - sha256 "88bb128f02ba341da8ef447245a9e138fae777f6a23943da4540077d3601eb1c" - license "BSD-3-Clause" - - bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "19c2f6fe7da98619d3a35a0e56e2bbf7acf67ac8bf095e7b1bf0ac891fcf5c45" - sha256 cellar: :any_skip_relocation, arm64_ventura: "d4bd8776f9fcd196712aea135621d5ea3991a19264437f2ef87a3a93a7878d84" - sha256 cellar: :any_skip_relocation, arm64_monterey: "decdf8fb5273919b75d63759248a7615061b7d81cf08fe566770aef1df86fcd1" - sha256 cellar: :any_skip_relocation, sonoma: "50354a9e72f92659c865369c2d87c3d74752ab10e4ba6a91ae2fb029aef6be9e" - sha256 cellar: :any_skip_relocation, ventura: "7d2a1a74b1c33d9bf007e17a6c50c3fbe22593161ab992e483a40d25a8f054d9" - sha256 cellar: :any_skip_relocation, monterey: "c66240feb2658eb8951324d95bc82bed1f8518c4280eadf816bc2508fdb180b9" - sha256 cellar: :any_skip_relocation, x86_64_linux: "19fe582f20f78708f737e265963c4350748f9c38e99cae006249ea00be24784a" - end - - 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 - - test do - pythons.each do |python| - python_exe = python.opt_libexec/"bin/python" - system python_exe, "-c", "import cycler" - end - end -end diff --git a/Formula/p/python-kiwisolver.rb b/Formula/p/python-kiwisolver.rb deleted file mode 100644 index 5f056e2234800..0000000000000 --- a/Formula/p/python-kiwisolver.rb +++ /dev/null @@ -1,41 +0,0 @@ -class PythonKiwisolver < Formula - desc "Efficient C++ implementation of the Cassowary constraint solving algorithm" - homepage "https://github.com/nucleic/kiwi" - url "https://files.pythonhosted.org/packages/b9/2d/226779e405724344fc678fcc025b812587617ea1a48b9442628b688e85ea/kiwisolver-1.4.5.tar.gz" - sha256 "e57e563a57fb22a142da34f38acc2fc1a5c864bc29ca1517a88abc963e60d6ec" - license "BSD-3-Clause" - - bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "c2bdb8889b06d7a5eece6fdc613aa9d73c97932d59a13b5a0c6ecc1a45059ce7" - sha256 cellar: :any_skip_relocation, arm64_ventura: "b4bfd4e620f5031724a9cf816cbd4a08efa6e36ded11cb2880c41e6354c36f7a" - sha256 cellar: :any_skip_relocation, arm64_monterey: "e3423e18e16cf3695e0e2341b0f49adf41299751ee4449425cb4f806474bac01" - sha256 cellar: :any_skip_relocation, sonoma: "b8f8d784fe353e62777eed318050b88aa67cc33e3ac5de3ed87218699bcd9336" - sha256 cellar: :any_skip_relocation, ventura: "263e8cda47a6bc5f514149b087230e810802af2c22165e456ad4c7e546bc0b75" - sha256 cellar: :any_skip_relocation, monterey: "62a8f019764ee2d4c4cd664b32df26c7bfd94499a6589d11ed05f7e7857174fb" - sha256 cellar: :any_skip_relocation, x86_64_linux: "915be7dabf6f43d670240e0dd88e85076d90162bb2d349cf5f53be4d2751bed2" - end - - depends_on "python-build" => :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", "build", "--wheel" - system python_exe, "-m", "pip", "install", *std_pip_args, Dir["dist/kiwisolver-*.whl"].first - rm_rf "dist" - end - end - - test do - pythons.each do |python| - python_exe = python.opt_libexec/"bin/python" - system python_exe, "-c", "import kiwisolver" - end - end -end diff --git a/pypi_formula_mappings.json b/pypi_formula_mappings.json index 24a1f4fabe40a..6e8128352a449 100644 --- a/pypi_formula_mappings.json +++ b/pypi_formula_mappings.json @@ -443,10 +443,6 @@ "package_name": "", "extra_packages": ["mako", "markupsafe", "packaging", "pygments", "ply"] }, - "meson-python": { - "exclude_packages": ["meson", "packaging"], - "extra_packages": ["tomli"] - }, "meta-package-manager": { "exclude_packages": ["certifi"] },