-
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
Merged
Merged
gz-harmonic: new formula #2326
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
4330ad6
Bumps in harmonic : ci_matching_branch/bump_harmonic_gz-harmonic
azeey 6ad9380
garden -> harmonic, update library versions
azeey 7b08229
Merge branch 'master' into ci_matching_branch/bump_harmonic_gz-harmonic
azeey 7c5e58c
Remove depends_on macOS Mojave
scpeters 52e3a0f
Merge branch 'master' into ci_matching_branch/bump_harmonic_gz-harmonic
scpeters File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
class GzHarmonic < Formula | ||
include Language::Python::Virtualenv | ||
|
||
desc "Collection of gazebo simulation software" | ||
homepage "https://github.com/gazebosim/gz-harmonic" | ||
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-harmonic.git", branch: "main" | ||
|
||
depends_on "cmake" => :build | ||
depends_on "[email protected]" => [:build, :test] | ||
|
||
depends_on "gz-cmake3" | ||
depends_on "gz-common5" | ||
depends_on "gz-fuel-tools9" | ||
depends_on "gz-gui8" | ||
depends_on "gz-launch7" | ||
depends_on "gz-math7" | ||
depends_on "gz-msgs10" | ||
depends_on "gz-physics7" | ||
depends_on "gz-plugin2" | ||
depends_on "gz-rendering8" | ||
depends_on "gz-sensors8" | ||
depends_on "gz-sim8" | ||
depends_on "gz-tools2" | ||
depends_on "gz-transport13" | ||
depends_on "gz-utils2" | ||
depends_on macos: :mojave # c++17 | ||
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-harmonic/gazebodistro/collection-harmonic.yaml" | ||
system libexec/"bin/vcs", "validate", "--input", yaml_file | ||
end | ||
end |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
nit: this line can be removed
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.
7c5e58c