11class Pybind11 < Formula
22 desc "Seamless operability between C++11 and Python"
33 homepage "https://github.com/pybind/pybind11"
4- url "https://github.com/pybind/pybind11/archive/refs/tags/v2.13.6 .tar.gz"
5- sha256 "e08cb87f4773da97fa7b5f035de8763abc656d87d5773e62f6da0587d1f0ec20 "
4+ url "https://github.com/pybind/pybind11/archive/refs/tags/v3.0.0 .tar.gz"
5+ sha256 "453b1a3e2b266c3ae9da872411cadb6d693ac18063bd73226d96cfb7015a200c "
66 license "BSD-3-Clause"
7- revision 1
87
98 livecheck do
109 url :stable
1110 regex ( /^v?(\d +(?:\. \d +)+)$/i )
1211 end
1312
1413 bottle do
15- sha256 cellar : :any_skip_relocation , all : "d1ac19b7042b5f6b94bff8f1766307bfee68335ecb4dc7423040ae89940173bf "
14+ sha256 cellar : :any_skip_relocation , all : "66d50f1e916c452bfaa6e6212ab2f35777de43cbf68e9d7b6b299f1a503479bd "
1615 end
1716
1817 depends_on "cmake" => :build
19- depends_on "python-setuptools" => :build
2018 depends_on "python@3.12" => [ :build , :test ]
2119 depends_on "python@3.13" => [ :build , :test ]
2220
@@ -37,7 +35,7 @@ def install
3735 pythons . each do |python |
3836 # Install Python package too
3937 python_exe = python . opt_libexec /"bin/python"
40- system python_exe , "-m" , "pip" , "install" , *std_pip_args , "."
38+ system python_exe , "-m" , "pip" , "install" , *std_pip_args ( build_isolation : true ) , "."
4139
4240 pyversion = Language ::Python . major_minor_version ( python_exe )
4341 ( buildpath /"pybind11-config-#{ pyversion } " ) . write <<~BASH
0 commit comments