Closed pyed closed 8 years ago
your formula works just switch GNU_SED=/opt/bin/gnu-sed
for GNU_SED=/usr/local/bin/gsed
the bottle block contains info for the "bottled" version of the formula, which is just a pre-compiled binary for the last 3 OS X versions, and what you see here is the checksums, it should be left for the home-brew guys.
Thanks for testing :)
Is there a special variable for /usr/local/bin
like #{bindir}
?
According to other recipes, it appears to be #{bin}
@pyed Is this okay for you ? http://sprunge.us/VVEF
If so, I'll send them a PR.
this #{bin}/gsed
expands to /usr/local/Cellar/plowshare/2.1.4/bin/gsed
which is wrong
I couldn't find a resource for all the variables, I'll keep looking
"GNU_SED=#{HOMEBREW_PREFIX}/bin/gsed"
works
I've seen some formulas use it
https://github.com/Homebrew/homebrew-core/pull/1196
I bypassed this:
brew audit --strict --online <formula>
(after doing brew install <formula>
)?brew audit --strict --online plowshare
complains about not having a test block.
here's a test block from wget
's formula
test do
system bin/"wget", "-O", "-", "https://google.com"
end
what kind of test is suitable for plowshare ?
after looking at wget
's formula test block, looks like we just needed GNU_SED=bin/gsed
A guy commented PR.
Could you test (for the last time I hope): https://raw.githubusercontent.com/mcrapet/homebrew-core/64a04bb78b359c34638087e5c4cd74a59517f050/Formula/plowshare.rb
yes, that works, it should be the right way to do it.
PR has been accepted. I'll update INSTALL. Thanks for your help.
Hi,
The plowshare homebrew recipe appears quite old. tesseract has been dropped since july, 2012!
I think we should first improve the recipe rather than plowshare INSTALL file. I'll add the simple:
$ homebrew plowshare
line when recipe will be fixed.Could you test this: http://sprunge.us/cXhU What is the bottle bloc ?