-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
New Formula: Inspectrum 0.1.1 #6146
Conversation
34074d5
to
370fce6
Compare
Keeps saying there are no tests but |
end | ||
|
||
test do | ||
system "inspectrum -h" |
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.
Can this test be modified to do something more substantial than e.g. --version
or --help
? See cmake.rb
for an example of an application formula with a good test and tinyxml2.rb
for an example of a library formula with a good test. Thanks!
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.
not really...
-h
does at least initialize parts of the gui...
Usage: inspectrum [options] file
spectrum viewer
Options:
-h, --help Displays this help.
-r, --rate <Hz> Set sample rate.
Arguments:
file File to view.
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.
Ok, that's fine. Please do system "#{bin}/inspectrum", "-h"
.
depends_on "fftw" | ||
depends_on "cmake" => :build | ||
depends_on "pkg-config" => :build | ||
depends_on "liquid-dsp" |
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.
Error: No available formula with the name "liquid-dsp"
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.
I forgot that's a tap dependency. https://github.com/dholm/homebrew-sdr/blob/master/liquid-dsp.rb
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.
Ok, that'll need to be fixed.
depends_on "fftw" | ||
depends_on "cmake" => :build | ||
depends_on "pkg-config" => :build | ||
depends_on "dholm/sdr/liquid-dsp" |
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.
Sorry, we don't want homebrew/core formulae to depend on non-homebrew/core formulae so we'll need liquid-dsp
to get included first. This was blocked on them making a new stable release: #2664
Okay, I'll submit that too. |
@tduehr We need them to release a new stable release first. Please discuss this with upstream before opening a PR here, thanks. |
Closing due to inactivity/need for upstream release. |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?