commit:     02f02180c053b0b19a07cac98b5e74f9aa2e0491
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon May 27 04:57:11 2024 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon May 27 04:57:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02f02180

net-libs/nodejs: drop 18.17.1, 18.19.0, 20.6.1, 20.11.0

Bug: https://bugs.gentoo.org/928532
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 net-libs/nodejs/Manifest              |   4 -
 net-libs/nodejs/nodejs-18.17.1.ebuild | 258 ---------------------------------
 net-libs/nodejs/nodejs-18.19.0.ebuild | 259 ---------------------------------
 net-libs/nodejs/nodejs-20.11.0.ebuild | 261 ---------------------------------
 net-libs/nodejs/nodejs-20.6.1.ebuild  | 262 ----------------------------------
 5 files changed, 1044 deletions(-)

diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest
index 66965aebf760..ec33349fe0a6 100644
--- a/net-libs/nodejs/Manifest
+++ b/net-libs/nodejs/Manifest
@@ -1,12 +1,8 @@
-DIST node-v18.17.1.tar.xz 40788836 BLAKE2B 
50e0dc0eecd68620ffa7457319e71124bbba302f6acff79286a30cf97442fb09a96cf8781456bafd5c2e497ba88cf392c141f0e221683da421b87f653b1ad7ca
 SHA512 
fd6f586447ecd44ac6738da1cf7d54e74bd33ffd1ee1acc2e0e1bdaf0031bcaef85751d3dd590bb278eb502daf9c77f0763b5a181a30ee4cf537aef254629622
-DIST node-v18.19.0.tar.xz 41248748 BLAKE2B 
24f9c99737a6d455ad83a7c55d0c668190570b5947bb3a6b2f321a25ff1e30b2913a4e144821ddf794a975cd9765582426252933235ce033623ccf3ecce816a4
 SHA512 
db2f1342f028e5cd2ab0a3719b4c822e22439aa097b59df768fb7f6aa581394f81af6f51f7764b99d119ea2c849b55c02897af8caafab7c0f9d0112608a8867f
 DIST node-v18.20.1.tar.xz 40434200 BLAKE2B 
560e04d5da8c2f3f4ef82e67b483f2c5d9a59b0646108a1dfc0bd80b410b60b15ee517be7d720834232fc49ed5d94785ebd64282c9abd3c10bdcb883a6960a38
 SHA512 
08864a164cfde08e369653abd17f6fe549db014697bd36abd07233d5ae746417ef18ea80e3d3f3630503a21110bb5e0ebd0073b4f2885b00c2d46e6f31c386a3
 DIST node-v18.20.2.tar.xz 40550044 BLAKE2B 
119e1c0a1817b982940704c3fb92bca8fa09d6d26921ffa01aa1240103704d2e2779774a759246f9b00372bcd991e8cff035f3c5ad0bf92e0fde9f640721904a
 SHA512 
b613e1cf5c87535fc3db908cd258359813aae7636ab0e2fdd00ffe813f99e33050926f10016280d8fac4905fb933d1f20315b919fbf3b0b37cd7a9936ae415e3
-DIST node-v20.11.0.tar.xz 42162348 BLAKE2B 
c090a3b118c9f3b497450ea2572b08a7a0df0834f280b212d6f068e5fb75a0a095cc41fe5d530c51dd7c2ae4815cedce1c52642fdc5aa07345fb546c2ea3b396
 SHA512 
405cbd53f75d94b9c31536a638c6508215b34a77505471319c46f66eb87ac907cb6796b25efa27162da53cb6a013aaf9ad1a5690eb7ed793969055a648d1d53c
 DIST node-v20.12.1.tar.xz 41743360 BLAKE2B 
1e2819724051720321a429bb18967a12608e8f93ef1760c520a40c9130e6138f95ab4e87f1acbaa72142bdd801ec3050bc42d7e4fae8d6a62192c3511b922e0a
 SHA512 
c51c4aa37cc80f3fe34381f2cdf431053124ec6b83fc8490573502adfab48601c382448132c9962ab135bebaffc257a9d5b63334ba8ff480db57b5706bbfed67
 DIST node-v20.12.2.tar.xz 41634476 BLAKE2B 
4a402cd4d2a3d59e249581b8dafbd09802f1fc6c1173810a7198ebf73bbe9ccbe085226c1889461d6faa2654138f21a2636594dca1a02847af9fd64ef80293e5
 SHA512 
2ff2873f3e1a15d529d07a74af601194c9dc7c24e566b989c96fadda8636d7ea1c97787642e9483a00db320cf1cf0817b43c4ba3ad45b15a241997c9f0c6c288
 DIST node-v20.13.1.tar.xz 41770976 BLAKE2B 
1ee95ed15aecbc5d611abdba305f97adf2769e769db8ecccce1609aec5ed8e746ce4531d7a809bacec1da304f2dea44e98167ee01c57da0250c6a8b54cafa984
 SHA512 
646ac044e5699ba4740d3d4caa262b1c39b0a590c333fdb05bd35f4cb1bc52695b31169fb94264417dd553f46706e6dfea5b31eb336ba865d05397df67ba3b15
-DIST node-v20.6.1.tar.xz 41791920 BLAKE2B 
c131aa9dd2a155eb24dda80e4997895aab7d935e46d1f21e9e176aa15021aa68be41f49cc43557f0b2c962baf3b2da4ea0ba044efd5016ea58bf2dc0b76c4edd
 SHA512 
8a6d998ae9b52872ff8cdcd44261f644161f31bcb565329ae05e68945c8da939eabcb76d2e0f628c8eb634de37d7b16334823f64122e4483c390117d8aa511bf
 DIST node-v22.1.0.tar.xz 44377532 BLAKE2B 
161618a71d8f2c5f828e29e45f5eb410fb2c6695012ca7559bddbe3884e578d643414ebf59c1b3292dbe93bf115de43c4145f6ff24e11fb9e87a32cf4eff1859
 SHA512 
d991fe069e43cfab587f06e81df71b56b82fbdd7042cdbe46136fc9ccad654d6f8bd39ec9fd3a5c00fe73a82732b12e13632c26602c6f8d67c628938c2a55688
 DIST node-v22.2.0.tar.xz 44334460 BLAKE2B 
ab81534f1bc97ed66aaa60b07876605315ffdbffba97d2e2823ca570ca2ffe9f413e0dc7ab34ca45db06f7494003a79e583964c5c8f14787b34b60bed98a8a6f
 SHA512 
c75c4907eaabc042c75f2c2aede8e23b2f204b70f4a777405132b3548ae35e58413f80147e3d7fadefc8048bcae175fc3064eda0138718e6f38e1dbf39ca8050
 DIST nodejs-22.1.0-deps-import-simdjson-3.9.1-for-GCC-14.patch.xz 192248 
BLAKE2B 
8acd447cea7ce7d68750c89a1778f0b43279ecd3b7fdbc4db36b9d0f97974efc6769266fbde2934b80e96db5a11f2550098b92d74ef72708d6e2cf542ebf0060
 SHA512 
7fe3f057b8785ff944cee5ad185a8708ee114f86344b9199f03443d149bc26bd2434c1ad32b8eb388f982f90632643b28aeff60177403c4851d3e7897b0272a6

diff --git a/net-libs/nodejs/nodejs-18.17.1.ebuild 
b/net-libs/nodejs/nodejs-18.17.1.ebuild
deleted file mode 100644
index 393119c2658e..000000000000
--- a/net-libs/nodejs/nodejs-18.17.1.ebuild
+++ /dev/null
@@ -1,258 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CONFIG_CHECK="~ADVISE_SYSCALLS"
-PYTHON_COMPAT=( python3_{10..11} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit bash-completion-r1 check-reqs flag-o-matic linux-info pax-utils 
python-any-r1 toolchain-funcs xdg-utils
-
-DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
-HOMEPAGE="https://nodejs.org/";
-LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT"
-
-if [[ ${PV} == *9999 ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/nodejs/node";
-       SLOT="0"
-else
-       SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz";
-       SLOT="0/$(ver_cut 1)"
-       KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86 ~amd64-linux 
~x64-macos"
-       S="${WORKDIR}/node-v${PV}"
-fi
-
-IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel 
+snapshot +ssl +system-icu +system-ssl systemtap test"
-REQUIRED_USE="corepack? ( !npm )
-       inspector? ( icu ssl )
-       npm? ( ssl )
-       system-icu? ( icu )
-       system-ssl? ( ssl )"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=app-arch/brotli-1.0.9:=
-       >=dev-libs/libuv-1.44.0:=
-       >=net-dns/c-ares-1.18.1:=
-       >=net-libs/nghttp2-1.41.0:=
-       sys-libs/zlib
-       corepack? ( !sys-apps/yarn )
-       system-icu? ( >=dev-libs/icu-67:= )
-       system-ssl? ( >=dev-libs/openssl-1.1.1:0= )
-       sys-devel/gcc:*"
-BDEPEND="${PYTHON_DEPS}
-       sys-apps/coreutils
-       virtual/pkgconfig
-       systemtap? ( dev-debug/systemtap )
-       test? ( net-misc/curl )
-       pax-kernel? ( sys-apps/elfix )"
-DEPEND="${RDEPEND}"
-
-# These are measured on a loong machine with -ggdb on, and only checked
-# if debugging flags are present in CFLAGS.
-#
-# The final link consumed a little more than 7GiB alone, so 8GiB is the lower
-# limit for memory usage. Disk usage was 19.1GiB for the build directory and
-# 1.2GiB for the installed image, so we leave some room for architectures with
-# fatter binaries and set the disk requirement to 22GiB.
-CHECKREQS_MEMORY="8G"
-CHECKREQS_DISK_BUILD="22G"
-
-pkg_pretend() {
-       (use x86 && ! use cpu_flags_x86_sse2) && \
-               die "Your CPU doesn't support the required SSE2 instruction."
-
-       if [[ ${MERGE_TYPE} != "binary" ]]; then
-               if is-flagq "-g*" && ! is-flagq "-g*0" ; then
-                       einfo "Checking for sufficient disk space and memory to 
build ${PN} with debugging CFLAGS"
-                       check-reqs_pkg_pretend
-               fi
-       fi
-}
-
-pkg_setup() {
-       python-any-r1_pkg_setup
-       linux-info_pkg_setup
-}
-
-src_prepare() {
-       tc-export AR CC CXX PKG_CONFIG
-       export V=1
-       export BUILDTYPE=Release
-
-       # fix compilation on Darwin
-       # https://code.google.com/p/gyp/issues/detail?id=260
-       sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || 
die
-
-       # less verbose install output (stating the same as portage, basically)
-       sed -i -e "/print/d" tools/install.py || die
-
-       # proper libdir, hat tip @ryanpcmcquen 
https://github.com/iojs/io.js/issues/504
-       local LIBDIR=$(get_libdir)
-       sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die
-       sed -i -e "s/'lib'/'${LIBDIR}'/" deps/npm/lib/npm.js || die
-
-       # Avoid writing a depfile, not useful
-       sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die
-
-       sed -i -e "/'-O3'/d" common.gypi node.gypi || die
-
-       # debug builds. change install path, remove optimisations and override 
buildtype
-       if use debug; then
-               sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die
-               BUILDTYPE=Debug
-       fi
-
-       # We need to disable mprotect on two files when it builds Bug 694100.
-       use pax-kernel && PATCHES+=( 
"${FILESDIR}"/${PN}-18.16.0-paxmarking.patch )
-
-       default
-}
-
-src_configure() {
-       xdg_environment_reset
-
-       # LTO compiler flags are handled by configure.py itself
-       filter-lto
-       # nodejs unconditionally links to libatomic #869992
-       # specifically it requires __atomic_is_lock_free which
-       # is not yet implemented by sys-libs/compiler-rt (see
-       # https://reviews.llvm.org/D85044?id=287068), therefore
-       # we depend on gcc and force using libgcc as the support lib
-       tc-is-clang && append-ldflags "--rtlib=libgcc --unwindlib=libgcc"
-
-       local myconf=(
-               --shared-brotli
-               --shared-cares
-               --shared-libuv
-               --shared-nghttp2
-               --shared-zlib
-       )
-       use debug && myconf+=( --debug )
-       use lto && myconf+=( --enable-lto )
-       if use system-icu; then
-               myconf+=( --with-intl=system-icu )
-       elif use icu; then
-               myconf+=( --with-intl=full-icu )
-       else
-               myconf+=( --with-intl=none )
-       fi
-       use corepack || myconf+=( --without-corepack )
-       use inspector || myconf+=( --without-inspector )
-       use npm || myconf+=( --without-npm )
-       use snapshot || myconf+=( --without-node-snapshot )
-       if use ssl; then
-               use system-ssl && myconf+=( --shared-openssl 
--openssl-use-def-ca-store )
-       else
-               myconf+=( --without-ssl )
-       fi
-
-       local myarch=""
-       case "${ARCH}:${ABI}" in
-               *:amd64) myarch="x64";;
-               *:arm) myarch="arm";;
-               *:arm64) myarch="arm64";;
-               loong:lp64*) myarch="loong64";;
-               riscv:lp64*) myarch="riscv64";;
-               *:ppc64) myarch="ppc64";;
-               *:x32) myarch="x32";;
-               *:x86) myarch="ia32";;
-               *) myarch="${ABI}";;
-       esac
-
-       GYP_DEFINES="linux_use_gold_flags=0
-               linux_use_bundled_binutils=0
-               linux_use_bundled_gold=0" \
-       "${EPYTHON}" configure.py \
-               --prefix="${EPREFIX}"/usr \
-               --dest-cpu=${myarch} \
-               $(use_with systemtap dtrace) \
-               "${myconf[@]}" || die
-}
-
-src_compile() {
-       emake -C out -Onone
-}
-
-src_install() {
-       local LIBDIR="${ED}/usr/$(get_libdir)"
-       default
-
-       pax-mark -m "${ED}"/usr/bin/node
-
-       # set up a symlink structure that node-gyp expects..
-       dodir /usr/include/node/deps/{v8,uv}
-       dosym . /usr/include/node/src
-       for var in deps/{uv,v8}/include; do
-               dosym ../.. /usr/include/node/${var}
-       done
-
-       if use doc; then
-               docinto html
-               dodoc -r "${S}"/doc/*
-       fi
-
-       if use npm; then
-               keepdir /etc/npm
-               echo "NPM_CONFIG_GLOBALCONFIG=${EPREFIX}/etc/npm/npmrc" > 
"${T}"/50npm
-               doenvd "${T}"/50npm
-
-               # Install bash completion for `npm`
-               local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t 
npm.XXXXXXXXXX)"
-               "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}"
-               newbashcomp "${tmp_npm_completion_file}" npm
-
-               # Move man pages
-               doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/*
-
-               # Clean up
-               rm -f 
"${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile}
-               rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man}
-
-               local find_exp="-or -name"
-               local find_name=()
-               for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \
-                       ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \
-                       "*.md" "*.markdown" "*.bat" "*.cmd"; do
-                       find_name+=( ${find_exp} "${match}" )
-               done
-
-               # Remove various development and/or inappropriate files and
-               # useless docs of dependend packages.
-               find "${LIBDIR}"/node_modules \
-                       \( -type d -name examples \) -or \( -type f \( \
-                               -iname "LICEN?E*" \
-                               "${find_name[@]}" \
-                       \) \) -exec rm -rf "{}" \;
-       fi
-
-       use corepack &&
-               "${D}"/usr/bin/corepack enable --install-directory 
"${D}"/usr/bin
-
-       mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die
-}
-
-src_test() {
-       local drop_tests=(
-               test/parallel/test-dns-setserver-when-querying.js
-               test/parallel/test-fs-mkdir.js
-               test/parallel/test-fs-utimes-y2K38.js
-               test/parallel/test-release-npm.js
-               test/parallel/test-socket-write-after-fin-error.js
-               test/parallel/test-strace-openat-openssl.js
-               test/sequential/test-util-debug.js
-       )
-       rm -f "${drop_tests[@]}" || die "disabling tests failed"
-
-       out/${BUILDTYPE}/cctest || die
-       "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare 
-J message parallel sequential || die
-}
-
-pkg_postinst() {
-       if use npm; then
-               ewarn "remember to run: source /etc/profile if you plan to use 
nodejs"
-               ewarn " in your current shell"
-       fi
-}

diff --git a/net-libs/nodejs/nodejs-18.19.0.ebuild 
b/net-libs/nodejs/nodejs-18.19.0.ebuild
deleted file mode 100644
index d3efbaec84e1..000000000000
--- a/net-libs/nodejs/nodejs-18.19.0.ebuild
+++ /dev/null
@@ -1,259 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CONFIG_CHECK="~ADVISE_SYSCALLS"
-PYTHON_COMPAT=( python3_{10..11} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit bash-completion-r1 check-reqs flag-o-matic linux-info pax-utils 
python-any-r1 toolchain-funcs xdg-utils
-
-DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
-HOMEPAGE="https://nodejs.org/";
-LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT"
-
-if [[ ${PV} == *9999 ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/nodejs/node";
-       SLOT="0"
-else
-       SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz";
-       SLOT="0/$(ver_cut 1)"
-       KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux 
~x64-macos"
-       S="${WORKDIR}/node-v${PV}"
-fi
-
-IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel 
+snapshot +ssl +system-icu +system-ssl systemtap test"
-REQUIRED_USE="inspector? ( icu ssl )
-       npm? ( ssl )
-       system-icu? ( icu )
-       system-ssl? ( ssl )"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=app-arch/brotli-1.0.9:=
-       >=dev-libs/libuv-1.44.0:=
-       >=net-dns/c-ares-1.18.1:=
-       >=net-libs/nghttp2-1.41.0:=
-       sys-libs/zlib
-       corepack? ( !sys-apps/yarn )
-       system-icu? ( >=dev-libs/icu-67:= )
-       system-ssl? ( >=dev-libs/openssl-1.1.1:0= )
-       sys-devel/gcc:*"
-BDEPEND="${PYTHON_DEPS}
-       sys-apps/coreutils
-       virtual/pkgconfig
-       systemtap? ( dev-debug/systemtap )
-       test? ( net-misc/curl )
-       pax-kernel? ( sys-apps/elfix )"
-DEPEND="${RDEPEND}"
-
-# These are measured on a loong machine with -ggdb on, and only checked
-# if debugging flags are present in CFLAGS.
-#
-# The final link consumed a little more than 7GiB alone, so 8GiB is the lower
-# limit for memory usage. Disk usage was 19.1GiB for the build directory and
-# 1.2GiB for the installed image, so we leave some room for architectures with
-# fatter binaries and set the disk requirement to 22GiB.
-CHECKREQS_MEMORY="8G"
-CHECKREQS_DISK_BUILD="22G"
-
-pkg_pretend() {
-       (use x86 && ! use cpu_flags_x86_sse2) && \
-               die "Your CPU doesn't support the required SSE2 instruction."
-
-       if [[ ${MERGE_TYPE} != "binary" ]]; then
-               if is-flagq "-g*" && ! is-flagq "-g*0" ; then
-                       einfo "Checking for sufficient disk space and memory to 
build ${PN} with debugging CFLAGS"
-                       check-reqs_pkg_pretend
-               fi
-       fi
-}
-
-pkg_setup() {
-       python-any-r1_pkg_setup
-       linux-info_pkg_setup
-}
-
-src_prepare() {
-       tc-export AR CC CXX PKG_CONFIG
-       export V=1
-       export BUILDTYPE=Release
-
-       # fix compilation on Darwin
-       # https://code.google.com/p/gyp/issues/detail?id=260
-       sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || 
die
-
-       # less verbose install output (stating the same as portage, basically)
-       sed -i -e "/print/d" tools/install.py || die
-
-       # proper libdir, hat tip @ryanpcmcquen 
https://github.com/iojs/io.js/issues/504
-       local LIBDIR=$(get_libdir)
-       sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die
-       sed -i -e "s/'lib'/'${LIBDIR}'/" deps/npm/lib/npm.js || die
-
-       # Avoid writing a depfile, not useful
-       sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die
-
-       sed -i -e "/'-O3'/d" common.gypi node.gypi || die
-
-       # debug builds. change install path, remove optimisations and override 
buildtype
-       if use debug; then
-               sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die
-               BUILDTYPE=Debug
-       fi
-
-       # We need to disable mprotect on two files when it builds Bug 694100.
-       use pax-kernel && PATCHES+=( 
"${FILESDIR}"/${PN}-18.16.0-paxmarking.patch )
-
-       default
-}
-
-src_configure() {
-       xdg_environment_reset
-
-       # LTO compiler flags are handled by configure.py itself
-       filter-lto
-       # nodejs unconditionally links to libatomic #869992
-       # specifically it requires __atomic_is_lock_free which
-       # is not yet implemented by sys-libs/compiler-rt (see
-       # https://reviews.llvm.org/D85044?id=287068), therefore
-       # we depend on gcc and force using libgcc as the support lib
-       tc-is-clang && append-ldflags "--rtlib=libgcc --unwindlib=libgcc"
-
-       local myconf=(
-               --shared-brotli
-               --shared-cares
-               --shared-libuv
-               --shared-nghttp2
-               --shared-zlib
-       )
-       use debug && myconf+=( --debug )
-       use lto && myconf+=( --enable-lto )
-       if use system-icu; then
-               myconf+=( --with-intl=system-icu )
-       elif use icu; then
-               myconf+=( --with-intl=full-icu )
-       else
-               myconf+=( --with-intl=none )
-       fi
-       use corepack || myconf+=( --without-corepack )
-       use inspector || myconf+=( --without-inspector )
-       use npm || myconf+=( --without-npm )
-       use snapshot || myconf+=( --without-node-snapshot )
-       if use ssl; then
-               use system-ssl && myconf+=( --shared-openssl 
--openssl-use-def-ca-store )
-       else
-               myconf+=( --without-ssl )
-       fi
-
-       local myarch=""
-       case "${ARCH}:${ABI}" in
-               *:amd64) myarch="x64";;
-               *:arm) myarch="arm";;
-               *:arm64) myarch="arm64";;
-               loong:lp64*) myarch="loong64";;
-               riscv:lp64*) myarch="riscv64";;
-               *:ppc64) myarch="ppc64";;
-               *:x32) myarch="x32";;
-               *:x86) myarch="ia32";;
-               *) myarch="${ABI}";;
-       esac
-
-       GYP_DEFINES="linux_use_gold_flags=0
-               linux_use_bundled_binutils=0
-               linux_use_bundled_gold=0" \
-       "${EPYTHON}" configure.py \
-               --prefix="${EPREFIX}"/usr \
-               --dest-cpu=${myarch} \
-               $(use_with systemtap dtrace) \
-               "${myconf[@]}" || die
-}
-
-src_compile() {
-       emake -C out -Onone
-}
-
-src_install() {
-       local LIBDIR="${ED}/usr/$(get_libdir)"
-       default
-
-       pax-mark -m "${ED}"/usr/bin/node
-
-       # set up a symlink structure that node-gyp expects..
-       dodir /usr/include/node/deps/{v8,uv}
-       dosym . /usr/include/node/src
-       for var in deps/{uv,v8}/include; do
-               dosym ../.. /usr/include/node/${var}
-       done
-
-       if use doc; then
-               docinto html
-               dodoc -r "${S}"/doc/*
-       fi
-
-       if use npm; then
-               keepdir /etc/npm
-               echo "NPM_CONFIG_GLOBALCONFIG=${EPREFIX}/etc/npm/npmrc" > 
"${T}"/50npm
-               doenvd "${T}"/50npm
-
-               # Install bash completion for `npm`
-               local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t 
npm.XXXXXXXXXX)"
-               "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}"
-               newbashcomp "${tmp_npm_completion_file}" npm
-
-               # Move man pages
-               doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/*
-
-               # Clean up
-               rm -f 
"${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile}
-               rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man}
-
-               local find_exp="-or -name"
-               local find_name=()
-               for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \
-                       ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \
-                       "*.md" "*.markdown" "*.bat" "*.cmd"; do
-                       find_name+=( ${find_exp} "${match}" )
-               done
-
-               # Remove various development and/or inappropriate files and
-               # useless docs of dependend packages.
-               find "${LIBDIR}"/node_modules \
-                       \( -type d -name examples \) -or \( -type f \( \
-                               -iname "LICEN?E*" \
-                               "${find_name[@]}" \
-                       \) \) -exec rm -rf "{}" \;
-       fi
-
-       use corepack &&
-               "${D}"/usr/bin/corepack enable --install-directory 
"${D}"/usr/bin
-
-       mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die
-}
-
-src_test() {
-       local drop_tests=(
-               test/parallel/test-dns-resolveany.js
-               test/parallel/test-dns-resolveany-bad-ancount.js
-               test/parallel/test-dns-setserver-when-querying.js
-               test/parallel/test-fs-mkdir.js
-               test/parallel/test-fs-utimes-y2K38.js
-               test/parallel/test-release-npm.js
-               test/parallel/test-socket-write-after-fin-error.js
-               test/parallel/test-strace-openat-openssl.js
-               test/sequential/test-util-debug.js
-       )
-       rm -f "${drop_tests[@]}" || die "disabling tests failed"
-
-       out/${BUILDTYPE}/cctest || die
-       "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare 
-J message parallel sequential || die
-}
-
-pkg_postinst() {
-       if use npm; then
-               ewarn "remember to run: source /etc/profile if you plan to use 
nodejs"
-               ewarn " in your current shell"
-       fi
-}

diff --git a/net-libs/nodejs/nodejs-20.11.0.ebuild 
b/net-libs/nodejs/nodejs-20.11.0.ebuild
deleted file mode 100644
index a1f833f49275..000000000000
--- a/net-libs/nodejs/nodejs-20.11.0.ebuild
+++ /dev/null
@@ -1,261 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CONFIG_CHECK="~ADVISE_SYSCALLS"
-PYTHON_COMPAT=( python3_{9..11} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit bash-completion-r1 check-reqs flag-o-matic linux-info pax-utils 
python-any-r1 toolchain-funcs xdg-utils
-
-DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
-HOMEPAGE="https://nodejs.org/";
-LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT"
-
-if [[ ${PV} == *9999 ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/nodejs/node";
-       SLOT="0"
-else
-       SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz";
-       SLOT="0/$(ver_cut 1)"
-       KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux 
~x64-macos"
-       S="${WORKDIR}/node-v${PV}"
-fi
-
-IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel 
+snapshot +ssl +system-icu +system-ssl test"
-REQUIRED_USE="inspector? ( icu ssl )
-       npm? ( ssl )
-       system-icu? ( icu )
-       system-ssl? ( ssl )
-       x86? ( cpu_flags_x86_sse2 )"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=app-arch/brotli-1.0.9:=
-       >=dev-libs/libuv-1.46.0:=
-       >=net-dns/c-ares-1.18.1:=
-       >=net-libs/nghttp2-1.41.0:=
-       sys-libs/zlib
-       corepack? ( !sys-apps/yarn )
-       system-icu? ( >=dev-libs/icu-71:= )
-       system-ssl? ( >=dev-libs/openssl-1.1.1:0= )
-       sys-devel/gcc:*"
-BDEPEND="${PYTHON_DEPS}
-       app-alternatives/ninja
-       sys-apps/coreutils
-       virtual/pkgconfig
-       test? ( net-misc/curl )
-       pax-kernel? ( sys-apps/elfix )"
-DEPEND="${RDEPEND}"
-
-# These are measured on a loong machine with -ggdb on, and only checked
-# if debugging flags are present in CFLAGS.
-#
-# The final link consumed a little more than 7GiB alone, so 8GiB is the lower
-# limit for memory usage. Disk usage was 19.1GiB for the build directory and
-# 1.2GiB for the installed image, so we leave some room for architectures with
-# fatter binaries and set the disk requirement to 22GiB.
-CHECKREQS_MEMORY="8G"
-CHECKREQS_DISK_BUILD="22G"
-
-pkg_pretend() {
-       if [[ ${MERGE_TYPE} != "binary" ]]; then
-               if is-flagq "-g*" && ! is-flagq "-g*0" ; then
-                       einfo "Checking for sufficient disk space and memory to 
build ${PN} with debugging CFLAGS"
-                       check-reqs_pkg_pretend
-               fi
-       fi
-}
-
-pkg_setup() {
-       python-any-r1_pkg_setup
-       linux-info_pkg_setup
-}
-
-src_prepare() {
-       tc-export AR CC CXX PKG_CONFIG
-       export V=1
-       export BUILDTYPE=Release
-
-       # fix compilation on Darwin
-       # https://code.google.com/p/gyp/issues/detail?id=260
-       sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || 
die
-
-       # less verbose install output (stating the same as portage, basically)
-       sed -i -e "/print/d" tools/install.py || die
-
-       # proper libdir, hat tip @ryanpcmcquen 
https://github.com/iojs/io.js/issues/504
-       local LIBDIR=$(get_libdir)
-       sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die
-       sed -i -e "s/'lib'/'${LIBDIR}'/" deps/npm/lib/npm.js || die
-
-       # Avoid writing a depfile, not useful
-       sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die
-
-       sed -i -e "/'-O3'/d" common.gypi node.gypi || die
-
-       # debug builds. change install path, remove optimisations and override 
buildtype
-       if use debug; then
-               sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die
-               BUILDTYPE=Debug
-       fi
-
-       # We need to disable mprotect on two files when it builds Bug 694100.
-       use pax-kernel && PATCHES+=( 
"${FILESDIR}"/${PN}-20.6.0-paxmarking.patch )
-
-       # bug 922725
-       use riscv && PATCHES+=( "${FILESDIR}"/${P}-riscv.patch )
-
-       default
-}
-
-src_configure() {
-       xdg_environment_reset
-
-       # LTO compiler flags are handled by configure.py itself
-       filter-lto
-       # nodejs unconditionally links to libatomic #869992
-       # specifically it requires __atomic_is_lock_free which
-       # is not yet implemented by sys-libs/compiler-rt (see
-       # https://reviews.llvm.org/D85044?id=287068), therefore
-       # we depend on gcc and force using libgcc as the support lib
-       tc-is-clang && append-ldflags "--rtlib=libgcc --unwindlib=libgcc"
-
-       local myconf=(
-               --ninja
-               --shared-brotli
-               --shared-cares
-               --shared-libuv
-               --shared-nghttp2
-               --shared-zlib
-       )
-       use debug && myconf+=( --debug )
-       use lto && myconf+=( --enable-lto )
-       if use system-icu; then
-               myconf+=( --with-intl=system-icu )
-       elif use icu; then
-               myconf+=( --with-intl=full-icu )
-       else
-               myconf+=( --with-intl=none )
-       fi
-       use corepack || myconf+=( --without-corepack )
-       use inspector || myconf+=( --without-inspector )
-       use npm || myconf+=( --without-npm )
-       use snapshot || myconf+=( --without-node-snapshot )
-       if use ssl; then
-               use system-ssl && myconf+=( --shared-openssl 
--openssl-use-def-ca-store )
-       else
-               myconf+=( --without-ssl )
-       fi
-
-       local myarch=""
-       case "${ARCH}:${ABI}" in
-               *:amd64) myarch="x64";;
-               *:arm) myarch="arm";;
-               *:arm64) myarch="arm64";;
-               loong:lp64*) myarch="loong64";;
-               riscv:lp64*) myarch="riscv64";;
-               *:ppc64) myarch="ppc64";;
-               *:x32) myarch="x32";;
-               *:x86) myarch="ia32";;
-               *) myarch="${ABI}";;
-       esac
-
-       GYP_DEFINES="linux_use_gold_flags=0
-               linux_use_bundled_binutils=0
-               linux_use_bundled_gold=0" \
-       "${EPYTHON}" configure.py \
-               --prefix="${EPREFIX}"/usr \
-               --dest-cpu=${myarch} \
-               "${myconf[@]}" || die
-}
-
-src_compile() {
-       emake -Onone
-}
-
-src_install() {
-       local LIBDIR="${ED}/usr/$(get_libdir)"
-       default
-
-       pax-mark -m "${ED}"/usr/bin/node
-
-       # set up a symlink structure that node-gyp expects..
-       dodir /usr/include/node/deps/{v8,uv}
-       dosym . /usr/include/node/src
-       for var in deps/{uv,v8}/include; do
-               dosym ../.. /usr/include/node/${var}
-       done
-
-       if use doc; then
-               docinto html
-               dodoc -r "${S}"/doc/*
-       fi
-
-       if use npm; then
-               keepdir /etc/npm
-               echo "NPM_CONFIG_GLOBALCONFIG=${EPREFIX}/etc/npm/npmrc" > 
"${T}"/50npm
-               doenvd "${T}"/50npm
-
-               # Install bash completion for `npm`
-               local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t 
npm.XXXXXXXXXX)"
-               "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}"
-               newbashcomp "${tmp_npm_completion_file}" npm
-
-               # Move man pages
-               doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/*
-
-               # Clean up
-               rm -f 
"${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile}
-               rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man}
-
-               local find_exp="-or -name"
-               local find_name=()
-               for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \
-                       ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \
-                       "*.md" "*.markdown" "*.bat" "*.cmd"; do
-                       find_name+=( ${find_exp} "${match}" )
-               done
-
-               # Remove various development and/or inappropriate files and
-               # useless docs of dependend packages.
-               find "${LIBDIR}"/node_modules \
-                       \( -type d -name examples \) -or \( -type f \( \
-                               -iname "LICEN?E*" \
-                               "${find_name[@]}" \
-                       \) \) -exec rm -rf "{}" \;
-       fi
-
-       use corepack &&
-               "${D}"/usr/bin/corepack enable --install-directory 
"${D}"/usr/bin
-
-       mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die
-}
-
-src_test() {
-       local drop_tests=(
-       test/parallel/test-dns-resolveany-bad-ancount.js
-               test/parallel/test-fs-read-stream.js
-               test/parallel/test-dns-setserver-when-querying.js
-               test/parallel/test-fs-mkdir.js
-               test/parallel/test-fs-utimes-y2K38.js
-               test/parallel/test-fs-watch-recursive-add-file.js
-               test/parallel/test-release-npm.js
-               test/parallel/test-socket-write-after-fin-error.js
-               test/parallel/test-strace-openat-openssl.js
-               test/sequential/test-util-debug.js
-       )
-       rm -f "${drop_tests[@]}" || die "disabling tests failed"
-
-       out/${BUILDTYPE}/cctest || die
-       "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare 
-J message parallel sequential || die
-}
-
-pkg_postinst() {
-       if use npm; then
-               ewarn "remember to run: source /etc/profile if you plan to use 
nodejs"
-               ewarn " in your current shell"
-       fi
-}

diff --git a/net-libs/nodejs/nodejs-20.6.1.ebuild 
b/net-libs/nodejs/nodejs-20.6.1.ebuild
deleted file mode 100644
index 1255419a47d8..000000000000
--- a/net-libs/nodejs/nodejs-20.6.1.ebuild
+++ /dev/null
@@ -1,262 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CONFIG_CHECK="~ADVISE_SYSCALLS"
-PYTHON_COMPAT=( python3_{9..11} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit bash-completion-r1 check-reqs flag-o-matic linux-info pax-utils 
python-any-r1 toolchain-funcs xdg-utils
-
-DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
-HOMEPAGE="https://nodejs.org/";
-LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT"
-
-if [[ ${PV} == *9999 ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/nodejs/node";
-       SLOT="0"
-else
-       SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz";
-       SLOT="0/$(ver_cut 1)"
-       KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86 ~amd64-linux 
~x64-macos"
-       S="${WORKDIR}/node-v${PV}"
-fi
-
-IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel 
+snapshot +ssl +system-icu +system-ssl test"
-REQUIRED_USE="corepack? ( !npm )
-       inspector? ( icu ssl )
-       npm? ( ssl )
-       system-icu? ( icu )
-       system-ssl? ( ssl )
-       x86? ( cpu_flags_x86_sse2 )"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=app-arch/brotli-1.0.9:=
-       >=dev-libs/libuv-1.44.0:=
-       >=net-dns/c-ares-1.18.1:=
-       >=net-libs/nghttp2-1.41.0:=
-       sys-libs/zlib
-       corepack? ( !sys-apps/yarn )
-       system-icu? ( >=dev-libs/icu-71:= )
-       system-ssl? ( >=dev-libs/openssl-1.1.1:0= )
-       sys-devel/gcc:*"
-BDEPEND="${PYTHON_DEPS}
-       app-alternatives/ninja
-       sys-apps/coreutils
-       virtual/pkgconfig
-       test? ( net-misc/curl )
-       pax-kernel? ( sys-apps/elfix )"
-DEPEND="${RDEPEND}"
-
-# These are measured on a loong machine with -ggdb on, and only checked
-# if debugging flags are present in CFLAGS.
-#
-# The final link consumed a little more than 7GiB alone, so 8GiB is the lower
-# limit for memory usage. Disk usage was 19.1GiB for the build directory and
-# 1.2GiB for the installed image, so we leave some room for architectures with
-# fatter binaries and set the disk requirement to 22GiB.
-CHECKREQS_MEMORY="8G"
-CHECKREQS_DISK_BUILD="22G"
-
-PATCHES=(
-       "${FILESDIR}"/"${PN}"-20.3.0-gcc14.patch
-       )
-
-pkg_pretend() {
-       if [[ ${MERGE_TYPE} != "binary" ]]; then
-               if is-flagq "-g*" && ! is-flagq "-g*0" ; then
-                       einfo "Checking for sufficient disk space and memory to 
build ${PN} with debugging CFLAGS"
-                       check-reqs_pkg_pretend
-               fi
-       fi
-}
-
-pkg_setup() {
-       python-any-r1_pkg_setup
-       linux-info_pkg_setup
-}
-
-src_prepare() {
-       tc-export AR CC CXX PKG_CONFIG
-       export V=1
-       export BUILDTYPE=Release
-
-       # fix compilation on Darwin
-       # https://code.google.com/p/gyp/issues/detail?id=260
-       sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || 
die
-
-       # less verbose install output (stating the same as portage, basically)
-       sed -i -e "/print/d" tools/install.py || die
-
-       # proper libdir, hat tip @ryanpcmcquen 
https://github.com/iojs/io.js/issues/504
-       local LIBDIR=$(get_libdir)
-       sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die
-       sed -i -e "s/'lib'/'${LIBDIR}'/" deps/npm/lib/npm.js || die
-
-       # Avoid writing a depfile, not useful
-       sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die
-
-       sed -i -e "/'-O3'/d" common.gypi node.gypi || die
-
-       # debug builds. change install path, remove optimisations and override 
buildtype
-       if use debug; then
-               sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die
-               BUILDTYPE=Debug
-       fi
-
-       # We need to disable mprotect on two files when it builds Bug 694100.
-       use pax-kernel && PATCHES+=( 
"${FILESDIR}"/${PN}-20.6.0-paxmarking.patch )
-
-       default
-}
-
-src_configure() {
-       xdg_environment_reset
-
-       # LTO compiler flags are handled by configure.py itself
-       filter-lto
-       # nodejs unconditionally links to libatomic #869992
-       # specifically it requires __atomic_is_lock_free which
-       # is not yet implemented by sys-libs/compiler-rt (see
-       # https://reviews.llvm.org/D85044?id=287068), therefore
-       # we depend on gcc and force using libgcc as the support lib
-       tc-is-clang && append-ldflags "--rtlib=libgcc --unwindlib=libgcc"
-
-       local myconf=(
-               --ninja
-               --shared-brotli
-               --shared-cares
-               --shared-libuv
-               --shared-nghttp2
-               --shared-zlib
-       )
-       use debug && myconf+=( --debug )
-       use lto && myconf+=( --enable-lto )
-       if use system-icu; then
-               myconf+=( --with-intl=system-icu )
-       elif use icu; then
-               myconf+=( --with-intl=full-icu )
-       else
-               myconf+=( --with-intl=none )
-       fi
-       use corepack || myconf+=( --without-corepack )
-       use inspector || myconf+=( --without-inspector )
-       use npm || myconf+=( --without-npm )
-       use snapshot || myconf+=( --without-node-snapshot )
-       if use ssl; then
-               use system-ssl && myconf+=( --shared-openssl 
--openssl-use-def-ca-store )
-       else
-               myconf+=( --without-ssl )
-       fi
-
-       local myarch=""
-       case "${ARCH}:${ABI}" in
-               *:amd64) myarch="x64";;
-               *:arm) myarch="arm";;
-               *:arm64) myarch="arm64";;
-               loong:lp64*) myarch="loong64";;
-               riscv:lp64*) myarch="riscv64";;
-               *:ppc64) myarch="ppc64";;
-               *:x32) myarch="x32";;
-               *:x86) myarch="ia32";;
-               *) myarch="${ABI}";;
-       esac
-
-       GYP_DEFINES="linux_use_gold_flags=0
-               linux_use_bundled_binutils=0
-               linux_use_bundled_gold=0" \
-       "${EPYTHON}" configure.py \
-               --prefix="${EPREFIX}"/usr \
-               --dest-cpu=${myarch} \
-               "${myconf[@]}" || die
-}
-
-src_compile() {
-       emake -Onone
-}
-
-src_install() {
-       local LIBDIR="${ED}/usr/$(get_libdir)"
-       default
-
-       pax-mark -m "${ED}"/usr/bin/node
-
-       # set up a symlink structure that node-gyp expects..
-       dodir /usr/include/node/deps/{v8,uv}
-       dosym . /usr/include/node/src
-       for var in deps/{uv,v8}/include; do
-               dosym ../.. /usr/include/node/${var}
-       done
-
-       if use doc; then
-               docinto html
-               dodoc -r "${S}"/doc/*
-       fi
-
-       if use npm; then
-               keepdir /etc/npm
-               echo "NPM_CONFIG_GLOBALCONFIG=${EPREFIX}/etc/npm/npmrc" > 
"${T}"/50npm
-               doenvd "${T}"/50npm
-
-               # Install bash completion for `npm`
-               local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t 
npm.XXXXXXXXXX)"
-               "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}"
-               newbashcomp "${tmp_npm_completion_file}" npm
-
-               # Move man pages
-               doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/*
-
-               # Clean up
-               rm -f 
"${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile}
-               rm -rf "${LIBDIR}"/node_modules/npm/{doc,html,man}
-
-               local find_exp="-or -name"
-               local find_name=()
-               for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \
-                       ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \
-                       "*.md" "*.markdown" "*.bat" "*.cmd"; do
-                       find_name+=( ${find_exp} "${match}" )
-               done
-
-               # Remove various development and/or inappropriate files and
-               # useless docs of dependend packages.
-               find "${LIBDIR}"/node_modules \
-                       \( -type d -name examples \) -or \( -type f \( \
-                               -iname "LICEN?E*" \
-                               "${find_name[@]}" \
-                       \) \) -exec rm -rf "{}" \;
-       fi
-
-       use corepack &&
-               "${D}"/usr/bin/corepack enable --install-directory 
"${D}"/usr/bin
-
-       mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die
-}
-
-src_test() {
-       local drop_tests=(
-               test/parallel/test-fs-read-stream.js
-               test/parallel/test-dns-setserver-when-querying.js
-               test/parallel/test-fs-mkdir.js
-               test/parallel/test-fs-utimes-y2K38.js
-               test/parallel/test-fs-watch-recursive-add-file.js
-               test/parallel/test-release-npm.js
-               test/parallel/test-socket-write-after-fin-error.js
-               test/parallel/test-strace-openat-openssl.js
-               test/sequential/test-util-debug.js
-       )
-       rm -f "${drop_tests[@]}" || die "disabling tests failed"
-
-       out/${BUILDTYPE}/cctest || die
-       "${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare 
-J message parallel sequential || die
-}
-
-pkg_postinst() {
-       if use npm; then
-               ewarn "remember to run: source /etc/profile if you plan to use 
nodejs"
-               ewarn " in your current shell"
-       fi
-}


Reply via email to