Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions Formula/p/pybind11.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
class Pybind11 < Formula
desc "Seamless operability between C++11 and Python"
homepage "https://github.com/pybind/pybind11"
url "https://github.com/pybind/pybind11/archive/refs/tags/v2.13.6.tar.gz"
sha256 "e08cb87f4773da97fa7b5f035de8763abc656d87d5773e62f6da0587d1f0ec20"
url "https://github.com/pybind/pybind11/archive/refs/tags/v3.0.0.tar.gz"
sha256 "453b1a3e2b266c3ae9da872411cadb6d693ac18063bd73226d96cfb7015a200c"
license "BSD-3-Clause"
revision 1

livecheck do
url :stable
Expand All @@ -16,7 +15,6 @@ class Pybind11 < Formula
end

depends_on "cmake" => :build
depends_on "python-setuptools" => :build
depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]

Expand All @@ -37,7 +35,7 @@ def install
pythons.each do |python|
# Install Python package too
python_exe = python.opt_libexec/"bin/python"
system python_exe, "-m", "pip", "install", *std_pip_args, "."
system python_exe, "-m", "pip", "install", *std_pip_args(build_isolation: true), "."

pyversion = Language::Python.major_minor_version(python_exe)
(buildpath/"pybind11-config-#{pyversion}").write <<~BASH
Expand Down
Loading