Code: Select all
init=/sbin/openrc-init
-systemd -logind -elogind seatdI am NaN! I am a man!
It's a web server (not a framework, it serves a web application) and I'd like to make it less annoying to install from GitHub.logrusx wrote:Npm is very messy and I guess that's why there isn't an eleclass for it. I'm not an expert and JS and node.js are far away from me but I think we're not likely to see an eclass for that. Moreover I think if something needs npm package it must be npm itself and can be managed on a per-user basis.
In fact, Leyvi, are you sure you need that thing avaliable system-wide or you need it only for your regular user? I mean writing ebuilds is a good thing but not all things need ebuilds.
Best Regards,
Georgi
Adding to what logrusx said: npm feels very un-gentoo to me. Everyone here likes sh, perl, lisp, or python. JavaScript fits in with those languages about as well as AmongOS fits in with RHEL and Amazon Linux.Zucca wrote:Seems like we miss npm.eclass.
I only checked ::gentoo and ::guru.
logrusx wrote:If there are Deb or rpm packages already, you can write an ebuild that merges them. It would be very similar to what -bin ebuilds do. There are eclassrs for that as well (I think...)
I'd like to make an ebuild for it, then maybe also package it for other package managers, if possible. I don't want to have to learn about other package managers though, I'd like it to be automatic.leyvi wrote:This thing I'm making an ebuild for is GPL-3, but isn't distributed anywhere.
Code: Select all
init=/sbin/openrc-init
-systemd -logind -elogind seatdI am NaN! I am a man!
Should I write a bug report? (No eclass for building npm packages.)Zucca wrote:It seems like every language which provides its own package manager and repository is a problem that needs to be circumvented.
The first problem is that the package configuring, compilation and installation (among other phases) happens in sandboxed networkless environment.
Then there are several other problems, to which I won't go into here.
There were no existing bugs, so I made a feature request.logrusx wrote:You can. Whether you should is up to you. Either way search the tracker.
Best Regards,
Georgi
That is a pipe dream unfortunately. While you could convert a binary Gentoo package into an rpm or deb package technically, the result wouldn't be very useful, due to significant differences in the underlying systems.leyvi wrote:I'd like to make an ebuild for it, then maybe also package it for other package managers, if possible. I don't want to have to learn about other package managers though, I'd like it to be automatic.