Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383577 - Ebuild proposal: dev-util/gyp-9999
Summary: Ebuild proposal: dev-util/gyp-9999
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-19 05:01 UTC by mail
Modified: 2017-09-28 17:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild (gyp-9999.ebuild,602 bytes, text/plain)
2011-09-19 05:04 UTC, mail
Details
metadata (metadata.xml,223 bytes, text/xml)
2011-09-19 05:04 UTC, mail
Details

Note You need to log in before you can comment on or make changes to this bug.
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