Skip to content

Commit

Permalink
pybind11: depend on python3 instead of :python3
Browse files Browse the repository at this point in the history
Closes #22755.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
  • Loading branch information
ilovezfs committed Jan 11, 2018
1 parent 52a1a15 commit d685c9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Formula/pybind11.rb
Expand Up @@ -3,6 +3,7 @@ class Pybind11 < Formula
homepage "https://github.com/pybind/pybind11"
url "https://github.com/pybind/pybind11/archive/v2.2.1.tar.gz"
sha256 "f8bd1509578b2a1e7407d52e6ee8afe64268909a1bbda620ca407318598927e7"
revision 1

bottle do
cellar :any_skip_relocation
Expand All @@ -12,7 +13,7 @@ class Pybind11 < Formula
end

depends_on "cmake" => :build
depends_on :python3
depends_on "python3"

def install
system "cmake", ".", "-DPYBIND11_TEST=OFF", *std_cmake_args
Expand Down

0 comments on commit d685c9c

Please sign in to comment.