Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 383577

Summary: Ebuild proposal: dev-util/gyp-9999
Product: Gentoo Linux Reporter: mail
Component: New packagesAssignee: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Status: RESOLVED FIXED    
Severity: enhancement CC: chromium, naota
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild
metadata

Description mail 2011-09-19 05:01:04 UTC
I wrote a ebuild for dev-util/gyp-9999.
GYP (Generate Your Projects) is a project file generator for various platforms such as GNU Make, MSVC, XCode and ninja.

Could you review this ebuild?

Reproducible: Always
Comment 1 mail 2011-09-19 05:04:25 UTC
Created attachment 286969 [details]
ebuild
Comment 2 mail 2011-09-19 05:04:59 UTC
Created attachment 286971 [details]
metadata
Comment 3 Mike Gilbert gentoo-dev 2011-09-19 05:38:17 UTC
This package seems like a good fit for the chromium herd to maintain. Chromium is the only project I know of that actually uses gyp. :)

As for the ebuild itself:

You should look into distutils.eclass. The eclass takes care of calling setup.py with appropriate options. There are plenty of examples in the dev-python category of the portage tree.

Also have a look at the gentoo python development guide:

http://www.gentoo.org/proj/en/Python/developersguide.xml

In particular, the section "Supporting of installation for multiple versions of Python".
Comment 4 PaweĊ‚ Hajdan, Jr. (RETIRED) gentoo-dev 2011-09-19 17:08:28 UTC
(In reply to comment #3)
> This package seems like a good fit for the chromium herd to maintain. Chromium
> is the only project I know of that actually uses gyp. :)

There is also V8, which is sort of in the same boat.

Anyway, what is the use case of this package? It seems to me that the users of gyp just bundle it, that gyp has no releases, and if you develop with gyp you just have it bundled with the sources anyway.

I'd like to avoid adding packages to the tree that are not obviously useful for a reasonably large group of people.
Comment 5 Arfrever Frehtes Taifersar Arahesis 2017-09-28 17:21:17 UTC
I need GYP as dependency for one of my packages (Mozc), so I added GYP:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03107fd1ed966a6eb33fbc93c422c4c38df0dabf