Gentoo Archives: gentoo-dev

From: Ralph Seichter <gentoo@××××××××.de>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Upstream build uses "npm install", how to handle this in an ebuild?
Date: Sat, 08 Dec 2018 18:27:45
Message-Id: 87lg4z7u23.fsf@ra.horus-it.com
1 I am trying to add NodeJS support to www-servers/nginx-unit, but the
2 upstream build relies on a working network connection to download
3 dependencies and execute "npm install ..." during the build process.
4
5 How can this scenario be handled properly in an ebuild? I don't see
6 obvious existing ebuilds that I could use as a guide. Electron seems to
7 perform some npm wizardry, but I don't know what to make of it.
8
9 -Ralph

Replies