-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gz-harmonic: new formula #2326
gz-harmonic: new formula #2326
Changes from 1 commit
4330ad6
6ad9380
7b08229
7c5e58c
52e3a0f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,55 @@ | ||||||
class GzGarden < Formula | ||||||
include Language::Python::Virtualenv | ||||||
|
||||||
desc "Collection of gazebo simulation software" | ||||||
homepage "https://github.com/gazebosim/gz-garden" | ||||||
url "https://github.com/gazebosim/gz-harmonic.git", branch: "main" | ||||||
version "0.999.999~0~20230728" | ||||||
license "Apache-2.0" | ||||||
|
||||||
head "https://github.com/gazebosim/gz-garden.git", branch: "main" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
depends_on "cmake" => :build | ||||||
depends_on "[email protected]" => [:build, :test] | ||||||
|
||||||
depends_on "gz-cmake3" | ||||||
depends_on "gz-common5" | ||||||
depends_on "gz-fuel-tools8" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||
depends_on "gz-gui7" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||
depends_on "gz-launch7" | ||||||
depends_on "gz-math7" | ||||||
depends_on "gz-msgs9" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||
depends_on "gz-physics7" | ||||||
depends_on "gz-plugin2" | ||||||
depends_on "gz-rendering7" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||
depends_on "gz-sensors8" | ||||||
depends_on "gz-sim8" | ||||||
depends_on "gz-tools2" | ||||||
depends_on "gz-transport12" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||
depends_on "gz-utils2" | ||||||
depends_on macos: :mojave # c++17 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: this line can be removed There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||
depends_on "pkg-config" | ||||||
depends_on "sdformat14" | ||||||
|
||||||
resource "PyYAML" do | ||||||
url "https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz" | ||||||
sha256 "b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d" | ||||||
end | ||||||
|
||||||
def install | ||||||
mkdir "build" do | ||||||
system "cmake", "..", *std_cmake_args | ||||||
system "make", "install" | ||||||
end | ||||||
|
||||||
venv = virtualenv_create(libexec, Formula["[email protected]"].opt_libexec/"bin/python") | ||||||
%w[PyYAML vcstool].each do |pkg| | ||||||
venv.pip_install pkg | ||||||
end | ||||||
end | ||||||
|
||||||
test do | ||||||
yaml_file = share/"gz/gz-garden/gazebodistro/collection-garden.yaml" | ||||||
system libexec/"bin/vcs", "validate", "--input", yaml_file | ||||||
end | ||||||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.