Skip to content

Commit

Permalink
Ionic: use [email protected] (#2581)
Browse files Browse the repository at this point in the history
* gz-math8
* gz-msgs11
* gz-sim9
* gz-transport14
* sdformat15

Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters authored Feb 23, 2024
1 parent 5d45f16 commit c3cc0df
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions Formula/gz-math8.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class GzMath8 < Formula
depends_on "eigen"
depends_on "gz-cmake4"
depends_on "gz-utils3"
depends_on "python@3.11"
depends_on "python@3.12"
depends_on "ruby"

def python_cmake_arg
Expand All @@ -32,7 +32,7 @@ def install
system "make", "install"
end

(lib/"python3.11/site-packages").install Dir[lib/"python/*"]
(lib/"python3.12/site-packages").install Dir[lib/"python/*"]
rmdir prefix/"lib/python"
end

Expand Down Expand Up @@ -71,6 +71,6 @@ def install
cmd_not_grep_xcode = "! grep -rnI 'Applications[/]Xcode' #{prefix}"
system cmd_not_grep_xcode
# check python import
system Formula["python@3.11"].opt_bin/"python3.11", "-c", "import gz.math8"
system Formula["python@3.12"].opt_bin/"python3.12", "-c", "import gz.math8"
end
end
6 changes: 3 additions & 3 deletions Formula/gz-msgs11.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class GzMsgs11 < Formula
depends_on macos: :high_sierra # c++17
depends_on "pkg-config"
depends_on "protobuf"
depends_on "python@3.11"
depends_on "python@3.12"
depends_on "tinyxml2"

def python_cmake_arg
Expand All @@ -32,7 +32,7 @@ def install
system "make", "install"
end

(lib/"python3.11/site-packages").install Dir[lib/"python/*"]
(lib/"python3.12/site-packages").install Dir[lib/"python/*"]
rmdir prefix/"lib/python"
end

Expand Down Expand Up @@ -70,6 +70,6 @@ def install
cmd_not_grep_xcode = "! grep -rnI 'Applications[/]Xcode' #{prefix}"
system cmd_not_grep_xcode
# check python import
system Formula["python@3.11"].opt_bin/"python3.11", "-c", "import gz.msgs11"
system Formula["python@3.12"].opt_bin/"python3.12", "-c", "import gz.msgs11"
end
end
6 changes: 3 additions & 3 deletions Formula/gz-sim9.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class GzSim9 < Formula
depends_on macos: :mojave # c++17
depends_on "pkg-config"
depends_on "protobuf"
depends_on "python@3.11"
depends_on "python@3.12"
depends_on "ruby"
depends_on "sdformat15"
depends_on "tinyxml2"
Expand All @@ -54,7 +54,7 @@ def install
system "make", "install"
end

(lib/"python3.11/site-packages").install Dir[lib/"python/*"]
(lib/"python3.12/site-packages").install Dir[lib/"python/*"]
rmdir prefix/"lib/python"
end

Expand Down Expand Up @@ -145,6 +145,6 @@ def install
cmd_not_grep_xcode = "! grep -rnI 'Applications[/]Xcode' #{prefix}"
system cmd_not_grep_xcode
# check python import
system Formula["python@3.11"].opt_bin/"python3.11", "-c", "import gz.sim9"
system Formula["python@3.12"].opt_bin/"python3.12", "-c", "import gz.sim9"
end
end
6 changes: 3 additions & 3 deletions Formula/gz-transport14.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class GzTransport14 < Formula
depends_on "ossp-uuid"
depends_on "pkg-config"
depends_on "protobuf"
depends_on "python@3.11"
depends_on "python@3.12"
depends_on "tinyxml2"
depends_on "zeromq"

Expand All @@ -44,7 +44,7 @@ def install
system "make", "install"
end

(lib/"python3.11/site-packages").install Dir[lib/"python/*"]
(lib/"python3.12/site-packages").install Dir[lib/"python/*"]
rmdir prefix/"lib/python"
end

Expand Down Expand Up @@ -86,6 +86,6 @@ def install
cmd_not_grep_xcode = "! grep -rnI 'Applications[/]Xcode' #{prefix}"
system cmd_not_grep_xcode
# check python import
system Formula["python@3.11"].opt_bin/"python3.11", "-c", "import gz.transport14"
system Formula["python@3.12"].opt_bin/"python3.12", "-c", "import gz.transport14"
end
end
6 changes: 3 additions & 3 deletions Formula/sdformat15.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Sdformat15 < Formula
depends_on "gz-tools2"
depends_on "gz-utils3"
depends_on macos: :mojave # c++17
depends_on "python@3.11"
depends_on "python@3.12"
depends_on "tinyxml2"
depends_on "urdfdom"

Expand All @@ -36,7 +36,7 @@ def install
system "make", "install"
end

(lib/"python3.11/site-packages").install Dir[lib/"python/*"]
(lib/"python3.12/site-packages").install Dir[lib/"python/*"]
rmdir prefix/"lib/python"
end

Expand Down Expand Up @@ -83,6 +83,6 @@ def install
cmd_not_grep_xcode = "! grep -rnI 'Applications[/]Xcode' #{prefix}"
system cmd_not_grep_xcode
# check python import
system Formula["python@3.11"].opt_bin/"python3.11", "-c", "import sdformat15"
system Formula["python@3.12"].opt_bin/"python3.12", "-c", "import sdformat15"
end
end

0 comments on commit c3cc0df

Please sign in to comment.