Skip to content

Commit

Permalink
eclass/nodejs-r1: Removed npm requirement
Browse files Browse the repository at this point in the history
Issue: #109

Signed-off-by: Tomas Fabrizio Orsi <[email protected]>
  • Loading branch information
lima-limon-inc authored and leycec committed Oct 9, 2023
1 parent fe48ce6 commit 4597cc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eclass/nodejs-r1.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ unset -f _nodejs-r1_set_globals
# version.

if [[ -z ${NODEJS_MIN_VERSION} ]]; then
BDEPEND="net-libs/nodejs[npm]"
BDEPEND="net-libs/nodejs"
RDEPEND="net-libs/nodejs"
else
BDEPEND=">=net-libs/nodejs-${NODEJS_MIN_VERSION}[npm]"
BDEPEND=">=net-libs/nodejs-${NODEJS_MIN_VERSION}"
RDEPEND=">=net-libs/nodejs-${NODEJS_MIN_VERSION}"
fi

Expand Down Expand Up @@ -155,7 +155,7 @@ nodejs-r1_src_install() {
# # * Installs one symlink from each runnable Node.js script bundled with this
# # Node.js package into /usr/bin.
# # * Runs the "install" command defined by the "package.json" file bundled
# # with this Node.js package (if any).
# # with this Node.js package (if any).
# npm \
# --audit false \
# --color false \
Expand Down

0 comments on commit 4597cc5

Please sign in to comment.