Skip to content
Merged
Changes from all commits
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
7 changes: 3 additions & 4 deletions Formula/p/pybind11.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
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/v3.0.0.tar.gz"
sha256 "453b1a3e2b266c3ae9da872411cadb6d693ac18063bd73226d96cfb7015a200c"
url "https://github.com/pybind/pybind11/archive/refs/tags/v3.0.1.tar.gz"
sha256 "741633da746b7c738bb71f1854f957b9da660bcd2dce68d71949037f0969d0ca"
license "BSD-3-Clause"

livecheck do
Expand All @@ -11,7 +11,7 @@ class Pybind11 < Formula
end

bottle do
sha256 cellar: :any_skip_relocation, all: "66d50f1e916c452bfaa6e6212ab2f35777de43cbf68e9d7b6b299f1a503479bd"
sha256 cellar: :any_skip_relocation, all: "b166d6278d9e471fdd2d420fd33a790b764b69c3c1ff6098754517cd500a4d54"
end

depends_on "cmake" => :build
Expand All @@ -29,7 +29,6 @@ def install
system "cmake", "--install", "build"

# build an `:all` bottle.
inreplace share/"cmake/pybind11/FindPythonLibsNew.cmake", "/usr/local", HOMEBREW_PREFIX
inreplace share/"pkgconfig/pybind11.pc", /^prefix=$/, "\\0#{opt_prefix}"

pythons.each do |python|
Expand Down
Loading