1 |
On Mon, Feb 29, 2016 at 7:00 PM, Michael Orlitzky <mjo@g.o> wrote: |
2 |
|
3 |
> On 02/29/2016 06:24 PM, Andrew Udvare wrote: |
4 |
> > On 29/02/16 03:23, Geaaru wrote: |
5 |
> >> |
6 |
> >> In conclusion, it seems that is not accepted use of nodejs modules |
7 |
> >> ebuild inside portage. It is right? |
8 |
> >> |
9 |
> >> |
10 |
> > There used to be a CoffeeScript ebuild if you search back. I do not |
11 |
> > remember how it worked but IIRC I think it was basically just creating a |
12 |
> > fake root for itself. The distfile itself was just that node_modules/ |
13 |
> > directory in a tarball. No direction on how those dependencies could be |
14 |
> > shared, so it is no longer in the tree. |
15 |
> > |
16 |
> |
17 |
> I really needed it for one program, so I'm maintaining coffee-script in |
18 |
> the tree now as dev-lang/coffee-script. I have an eclass and some |
19 |
> ebuilds using it at https://github.com/orlitzky/npm but I didn't want to |
20 |
> wind up in charge of a NodeJS project and nobody else did either, so I'm |
21 |
> no longer working on it. The current coffee-script ebuild copy/pastes |
22 |
> some of the stuff that would have been handled by the eclass. |
23 |
> |
24 |
> Only misery lies down this path. |
25 |
|
26 |
Couldn't have said it better. Many of us have tried: |
27 |
https://github.com/neurogeek/g-npm |
28 |
https://github.com/neurogeek/gentoo-overlay/tree/master/dev-nodejs |
29 |
|
30 |
npm just doesn't care about "global" installs, so it is broken by design |
31 |
for any centralized package manager: |
32 |
https://github.com/gruntjs/grunt/issues/438 |
33 |
|
34 |
Just use npm. |
35 |
|
36 |
|
37 |
> Every upstream project is a mess and |
38 |
> nobody cares, because implicitly, their roadmaps all involve realizing |
39 |
> that javascript is awful and abandoning the project. To get this stuff |
40 |
> in the tree, we would need a full-time devoted developer who just loves |
41 |
> javascript and is sexually aroused by having his time wasted. |
42 |
> |
43 |
> |
44 |
> |
45 |
|
46 |
|
47 |
-- |
48 |
Jesus Rivero (Neurogeek) |
49 |
Gentoo Developer |