Skip to content
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

Add Homebrew formula for Perlito executables #34

Open
Alhadis opened this issue Nov 15, 2015 · 4 comments
Open

Add Homebrew formula for Perlito executables #34

Alhadis opened this issue Nov 15, 2015 · 4 comments

Comments

@Alhadis
Copy link

Alhadis commented Nov 15, 2015

It'd be awesome to have Perlito installable on Mac OS with Homebrew.

That's pretty much it. Reason I'm filing an issue for this instead of adding it myself is because formula submissions need to come from official sources - simply having a "yeah, it's probably okay" or "the submitter said go ahead" isn't good enough.

@fglock
Copy link
Owner

fglock commented Nov 15, 2015

I didn't find much information on how to submit formulas to Homebrew, can
you help getting started with that?

I did find a couple of things - this is the formula for "ack":
https://github.com/Homebrew/homebrew/blob/master/Library/Formula/ack.rb

And this site distributes formulas:
http://brewformulas.org/

I also looked and I couldn't find a formula for "perltidy".

2015-11-15 14:43 GMT+01:00 John Gardner notifications@github.com:

It'd be awesome to have Perlito installable on Mac OS with Homebrew
http://brew.sh/.

That's pretty much it. Reason I'm filing an issue for this instead of
adding it myself is because formula submissions need to come from official
sources - simply having a "yeah, it's probably okay" or "the submitter
said go ahead"
isn't good enough.


Reply to this email directly or view it on GitHub
#34.

@Alhadis
Copy link
Author

Alhadis commented Nov 15, 2015

I know, perltidy isn't in the formulae repository either. :\ I'm guessing there just wasn't any demand, or nobody thought to submit it.

I've actually never submitted a formula, to be honest (the other reason I'm filling an issue, heh), but I'm told that the Homebrew team's gone out of their way to make it as easy and seamless as possible.

There's more info here:

The docs mention having Homebrew installed, but if you're on Windows, you can easily just treat it as a regular pull request. The Brew commands are just there to make your life a bit easier. For instance, look at this pull request to see all that's been changed/added to submit a formula.

@fglock
Copy link
Owner

fglock commented Nov 15, 2015

This Homebrew documentation seems to suggest that you install Perl modules
using "cpan" instead of Homebrew:
https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Gems,-Eggs-and-Perl-Modules.md

If this works for you, then you can install "Perlito5" from cpan directly.
This will install the "perlito5" command line and the compiler libraries.

Once you have the Perl module installed, you can also create the
"perlito5.js" script using the instructions here:
http://search.cpan.org/dist/Perlito5/lib/Perlito5.pm#Obtaining_a_
"perlito5.js"script_that_executes_in_the"node.js"_Javascript_compiler

2015-11-15 17:00 GMT+01:00 Flavio S. Glock fglock@gmail.com:

I didn't find much information on how to submit formulas to Homebrew, can
you help getting started with that?

I did find a couple of things - this is the formula for "ack":
https://github.com/Homebrew/homebrew/blob/master/Library/Formula/ack.rb

And this site distributes formulas:
http://brewformulas.org/

I also looked and I couldn't find a formula for "perltidy".

2015-11-15 14:43 GMT+01:00 John Gardner notifications@github.com:

It'd be awesome to have Perlito installable on Mac OS with Homebrew
http://brew.sh/.

That's pretty much it. Reason I'm filing an issue for this instead of
adding it myself is because formula submissions need to come from official
sources - simply having a "yeah, it's probably okay" or "the
submitter said go ahead"
isn't good enough.


Reply to this email directly or view it on GitHub
#34.

@Alhadis
Copy link
Author

Alhadis commented Nov 15, 2015

Well, I thought of that, but wondered if it might be nice if it pops up in Homebrew search results as well. :) I'd say it's not uncommon for CPAN modules to have their executables available from Homebrew as well, if this is anything to go by.

The creation/installation of the perlito5.js script could also be done from Homebrew's install script.

(I'm wondering if this might be more trouble than it's worth for you... eh :( )

@fglock fglock added this to TODO in Distribution Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants