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
Created attachment 286969 [details] ebuild
Created attachment 286971 [details] metadata
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".
(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.
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