grumpyhome / grumpy

Grumpy is a Python to Go source code transcompiler and runtime.
Apache License 2.0
420 stars 18 forks source link

Homebrew does not have a formula for Grumpy #31

Open alanjds opened 6 years ago

alanjds commented 6 years ago

google/grumpy#204 opened by @cclauss on 24 Jan 2017

https://github.com/Homebrew/homebrew-core/issues/9213

Does anyone know how the homebrew installer for Mac OSX works? I spent an few hours trying to build a formula to install Grumpy based on these examples but I failed.

alanjds commented 6 years ago

Comment by trotterdylan Tuesday Jan 24, 2017 at 18:13 GMT


Thanks for digging into this! I don't have any experience with homebrew formulae, but you may be able to build on the make install target that was recently added. Based on the cookbook page I would expect an install step like this might work:

  def install
    system "make", "DESTDIR=#{prefix}", "install"
  end
alanjds commented 6 years ago

Comment by cclauss Wednesday Jan 25, 2017 at 18:18 GMT


I am still plugging away on this one but I seem to be blocked by issue https://github.com/google/grumpy/issues/210

Here is my (up and stumbling) homebrew formula (grumpy.rb) so far...

alanjds commented 6 years ago

Comment by cclauss Thursday Jan 26, 2017 at 19:32 GMT


Should be fixed when https://github.com/Homebrew/homebrew-core/pull/9299 is accepted.

alanjds commented 6 years ago

Comment by trotterdylan Thursday Jan 26, 2017 at 19:33 GMT


Great! Thanks for doing this.

alanjds commented 6 years ago

Comment by cclauss Friday Jan 27, 2017 at 08:36 GMT


The good news is that the formula now works flawlessly. The bad news is homebrew does not accept --HEAD only installs so this will need to remain open until there is a Grumpy release.

alanjds commented 6 years ago

Comment by trotterdylan Friday Jan 27, 2017 at 15:35 GMT


Ah, that's a bummer. Thanks for working on this anyway. I think an alpha release is not that far out.

alanjds commented 6 years ago

Comment by mohanraj-r Monday Aug 21, 2017 at 23:49 GMT


Any update on a release @trotterdylan ?

alanjds commented 6 years ago

Comment by trotterdylan Tuesday Aug 22, 2017 at 03:53 GMT


Sorry, no specific plans for an alpha release at the current time.

alanjds commented 6 years ago

@mohanraj-r, @cclauss: Does it help that pip install grumpy-runtime installs nicely if Go, Python2 and Make are available?

mohanraj-r commented 6 years ago

Not sure @alanjds I am working on this anymore