Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

gyp 0.1 (new formula) #49128

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 24 additions & 0 deletions Library/Formula/gyp.rb
@@ -0,0 +1,24 @@
class Gyp < Formula
desc "Generate Your Projects"
homepage "https://gyp.gsrc.io/"
url "https://chromium.googlesource.com/external/gyp",
:using => :git,
:revision => "7d29c3de1f5eb74330b81b78ea116b67f684b23b"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gyp to my knowledge doesn't tag releases, and consequently we've turned it down from the core a couple times before. I'm pretty sure this is still the case?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, there are still no tags. I just found some previously closed / rejected pull requests that have tried to do the same, so I guess this one might also not be merged. That's ok and my fault, as I have not searched for them before submitting the pull request.

Do you see any chance to get a formula for gyp? Maybe a fork of the official project that just adds tags and tarballs or similar? I am open for all ideas. Thanks!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need an official upstream tag for this to be admissible. I would be surprised if upstream ever go there, to be honest.

Nothing in the world stopping you adding this to a created tap of your own though, if you wanted to support it there. Some documentation on doing that here.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

version "0.1"

depends_on :python

def install
system 'python', './setup.py',
'install',
"--prefix=#{prefix}",
"--single-version-externally-managed",
"--record=installed.txt"
bin.install("gyp")
bin.install("gyp_main.py")
end

test do
system "gyp", "-h"
end
end