From f8e67da84f420357d49076a0bd029504f02371e9 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 6 May 2024 13:38:25 -0500 Subject: [PATCH] numpy: update formula for gnu+linux --- Formula/numpy@1.26.4_py310.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Formula/numpy@1.26.4_py310.rb b/Formula/numpy@1.26.4_py310.rb index f257774d..f68cff2c 100644 --- a/Formula/numpy@1.26.4_py310.rb +++ b/Formula/numpy@1.26.4_py310.rb @@ -29,9 +29,9 @@ class NumpyAT1264Py310 < Formula depends_on "python@3.10" => [:build, :test] depends_on "openblas" if OS.linux? - # NOTE: `brew update-python-resources` check for outdated py resources fails_with gcc: "5" + # NOTE: `brew update-python-resources` check for outdated py resources resource "meson-python" do url "https://files.pythonhosted.org/packages/a2/3b/276b596824a0820987fdcc7721618453b4f9a8305fe20b611a00ac3f948e/meson_python-0.15.0.tar.gz" sha256 "fddb73eecd49e89c1c41c87937cd89c2d0b65a1c63ba28238681d4bd9484d26f" @@ -66,7 +66,7 @@ def install # Prepend the installation path of mesonpy to PYTHONPATH ENV.prepend_path "PYTHONPATH", libexec/"lib/python3.10/site-packages" - ENV.prepend_path "PATH", Formula["libcython"].opt_libexec/"bin" + ENV.prepend_path "PATH", Formula["cython"].opt_libexec/"bin" # NOTE: https://stackoverflow.com/a/69869531/708807 if OS.mac? @@ -79,7 +79,7 @@ def install end site_packages = Language::Python.site_packages(python3) - ENV.prepend_path "PYTHONPATH", Formula["libcython"].opt_libexec/site_packages + ENV.prepend_path "PYTHONPATH", Formula["cython"].opt_libexec/site_packages if OS.mac? ENV["NPY_LAPACK_ORDER"] = "accelerate"