|
|
|
|
@ -11,6 +11,15 @@ class MagnumBindings < Formula
|
|
|
|
|
depends_on "magnum" |
|
|
|
|
depends_on "pybind11" => :build |
|
|
|
|
|
|
|
|
|
# Apply a patch to make 2020.06 working with latest pybind11, which changes |
|
|
|
|
# py::module to py::module_ |
|
|
|
|
stable do |
|
|
|
|
patch do |
|
|
|
|
url "https://github.com/mosra/magnum-bindings/commit/57db13422fe36d1bcfc7bee9b138c79901062dae.diff?full_index=1" |
|
|
|
|
sha256 "c13536e1bac8721f0c766768159e2b91babc4674fcbf46edfc0c43c72c77df3b" |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
def install |
|
|
|
|
system "mkdir build" |
|
|
|
|
cd "build" do |
|
|
|
|
|