net-libs/nodejs-25.2.1 : Removed deprecated keyword ~amd64-linux && added dev-cpp/ada and dev-cpp/simdutf dependencies && filtered some noisy warnings

This commit is contained in:
saundersp
2026-01-09 03:37:52 +01:00
parent 7cd55ba23c
commit 6d0ddd29fc
3 changed files with 36 additions and 30 deletions

View File

@@ -1,17 +1,17 @@
BDEPEND=|| ( dev-lang/python:3.14[threads(+)] dev-lang/python:3.13[threads(+)] ) app-alternatives/ninja sys-apps/coreutils virtual/pkgconfig test? ( net-misc/curl ) pax-kernel? ( sys-apps/elfix ) BDEPEND=|| ( dev-lang/python:3.14[threads(+)] dev-lang/python:3.13[threads(+)] dev-lang/python:3.12[threads(+)] dev-lang/python:3.11[threads(+)] ) app-alternatives/ninja sys-apps/coreutils virtual/pkgconfig test? ( net-misc/curl ) pax-kernel? ( sys-apps/elfix )
DEFINED_PHASES=compile configure install postinst prepare pretend setup test DEFINED_PHASES=compile configure install postinst prepare pretend setup test
DEPEND=>=app-arch/brotli-1.1.0:= dev-db/sqlite:3 >=dev-libs/libuv-1.51.0:= >=dev-libs/simdjson-3.10.1:= >=net-dns/c-ares-1.34.4:= >=net-libs/nghttp2-1.64.0:= >=net-libs/nghttp3-1.7.0:= system-icu? ( >=dev-libs/icu-73:= ) system-ssl? ( >=net-libs/ngtcp2-1.9.1:= >=dev-libs/openssl-1.1.1:0= ) !system-ssl? ( >=net-libs/ngtcp2-1.9.1:=[-gnutls] ) sys-devel/gcc:* DEPEND=>=app-arch/brotli-1.1.0:= dev-db/sqlite:3 >=dev-cpp/ada-3.3.0:= >=dev-cpp/simdutf-7.3.4:= >=dev-libs/libuv-1.51.0:= >=dev-libs/simdjson-4.0.7:= >=net-dns/c-ares-1.34.5:= >=net-libs/nghttp2-1.66.0:= >=net-libs/nghttp3-1.7.0:= system-icu? ( >=dev-libs/icu-73:= ) system-ssl? ( >=net-libs/ngtcp2-1.11.0:= >=dev-libs/openssl-3.5.4:0= ) !system-ssl? ( >=net-libs/ngtcp2-1.11.0:=[-gnutls] ) || ( sys-devel/gcc:* llvm-runtimes/libatomic-stub )
DESCRIPTION=A JavaScript runtime built on Chrome's V8 JavaScript engine DESCRIPTION=A JavaScript runtime built on Chrome's V8 JavaScript engine
EAPI=8 EAPI=8
HOMEPAGE=https://nodejs.org/ HOMEPAGE=https://nodejs.org/
INHERIT=bash-completion-r1 check-reqs flag-o-matic linux-info ninja-utils pax-utils python-any-r1 toolchain-funcs xdg-utils INHERIT=bash-completion-r1 check-reqs flag-o-matic linux-info ninja-utils pax-utils python-any-r1 toolchain-funcs xdg-utils
IUSE=cpu_flags_x86_sse2 debug doc +icu inspector lto npm pax-kernel +snapshot +ssl +system-icu +system-ssl test IUSE=cpu_flags_x86_sse2 debug doc +icu inspector lto npm pax-kernel +snapshot +ssl +system-icu +system-ssl test
KEYWORDS=~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos KEYWORDS=~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~x64-macos
LICENSE=Apache-1.1 Apache-2.0 BSD BSD-2 MIT npm? ( Artistic-2 ) LICENSE=Apache-1.1 Apache-2.0 BSD BSD-2 MIT npm? ( Artistic-2 )
RDEPEND=>=app-arch/brotli-1.1.0:= dev-db/sqlite:3 >=dev-libs/libuv-1.51.0:= >=dev-libs/simdjson-3.10.1:= >=net-dns/c-ares-1.34.4:= >=net-libs/nghttp2-1.64.0:= >=net-libs/nghttp3-1.7.0:= system-icu? ( >=dev-libs/icu-73:= ) system-ssl? ( >=net-libs/ngtcp2-1.9.1:= >=dev-libs/openssl-1.1.1:0= ) !system-ssl? ( >=net-libs/ngtcp2-1.9.1:=[-gnutls] ) sys-devel/gcc:* RDEPEND=>=app-arch/brotli-1.1.0:= dev-db/sqlite:3 >=dev-cpp/ada-3.3.0:= >=dev-cpp/simdutf-7.3.4:= >=dev-libs/libuv-1.51.0:= >=dev-libs/simdjson-4.0.7:= >=net-dns/c-ares-1.34.5:= >=net-libs/nghttp2-1.66.0:= >=net-libs/nghttp3-1.7.0:= system-icu? ( >=dev-libs/icu-73:= ) system-ssl? ( >=net-libs/ngtcp2-1.11.0:= >=dev-libs/openssl-3.5.4:0= ) !system-ssl? ( >=net-libs/ngtcp2-1.11.0:=[-gnutls] ) || ( sys-devel/gcc:* llvm-runtimes/libatomic-stub )
REQUIRED_USE=inspector? ( icu ssl ) npm? ( ssl ) system-icu? ( icu ) system-ssl? ( ssl ) x86? ( cpu_flags_x86_sse2 ) REQUIRED_USE=inspector? ( icu ssl ) npm? ( ssl ) system-icu? ( icu ) system-ssl? ( ssl ) x86? ( cpu_flags_x86_sse2 )
RESTRICT=!test? ( test ) RESTRICT=!test? ( test )
SLOT=0/25 SLOT=0/25
SRC_URI=https://nodejs.org/dist/v25.2.1/node-v25.2.1.tar.xz SRC_URI=https://nodejs.org/dist/v25.2.1/node-v25.2.1.tar.xz
_eclasses_=toolchain-funcs 30214924c0c3b92ec7dbf24fc70d60d3 bash-completion-r1 767861f3744f589ee5291c1698b1c082 check-reqs 12ab9d3fc16bfe1f87c6fb652324b57c flag-o-matic a7afe42e95fb46ce9691605acfb24672 linux-info efd923656513c879204fec6638eadee5 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 3a59a39e97af0f7c03f49cf3c22f262b pax-utils 5555f2e75744739fe100ee62c22d28fe python-utils-r1 dbb8c4d794033ad7e7221eaf567a6c90 python-any-r1 891415dfe39ad9b41b461f2b86354af0 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 _eclasses_=toolchain-funcs 30214924c0c3b92ec7dbf24fc70d60d3 bash-completion-r1 767861f3744f589ee5291c1698b1c082 check-reqs 12ab9d3fc16bfe1f87c6fb652324b57c flag-o-matic a7afe42e95fb46ce9691605acfb24672 linux-info efd923656513c879204fec6638eadee5 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 3a59a39e97af0f7c03f49cf3c22f262b pax-utils 5555f2e75744739fe100ee62c22d28fe python-utils-r1 dbb8c4d794033ad7e7221eaf567a6c90 python-any-r1 891415dfe39ad9b41b461f2b86354af0 xdg-utils 42869b3c8d86a70ef3cf75165a395e09
_md5_=f8693d62fac8fb3667e65331695de833 _md5_=82e37ffed9907d401a210c4456bef300

View File

@@ -1,4 +1,4 @@
AUX nodejs-24.1.0-paxmarking.patch 3496 BLAKE2B 128a05fb3bc040edfd53221d5744a0626a0f64b7ba46dac94dc0df0d57631017f2da839e06ce769194a8519dcb7feebbede7cef9743323fded5044694a8eb4cc SHA512 3fae2c3bb0f90bd84e147a7fb740f12fab93843ef8f3a2ecf07359582222f86e9793b49b624894fa244f4d9159ac897e1b32d014a6fffbd0d687a1c0996e4240 AUX nodejs-24.1.0-paxmarking.patch 3496 BLAKE2B 128a05fb3bc040edfd53221d5744a0626a0f64b7ba46dac94dc0df0d57631017f2da839e06ce769194a8519dcb7feebbede7cef9743323fded5044694a8eb4cc SHA512 3fae2c3bb0f90bd84e147a7fb740f12fab93843ef8f3a2ecf07359582222f86e9793b49b624894fa244f4d9159ac897e1b32d014a6fffbd0d687a1c0996e4240
DIST node-v25.2.1.tar.xz 53279312 BLAKE2B a21ced7ca2c42c172f431f805904ff00812adb3b094d74b15364b4d4147867ef224b8386750d5676a13312331ca6c3435bf2cad928a2fd63737c10de90861c28 SHA512 a189eb01a8dece7bf789ddac4d8f6a1b948418e943a0d64fdbea33944f12d2a8be9fb4e2acb9a5cc6057c79c5363936c3a95bdbb9151b784725e9fb90724b8cb DIST node-v25.2.1.tar.xz 53279312 BLAKE2B a21ced7ca2c42c172f431f805904ff00812adb3b094d74b15364b4d4147867ef224b8386750d5676a13312331ca6c3435bf2cad928a2fd63737c10de90861c28 SHA512 a189eb01a8dece7bf789ddac4d8f6a1b948418e943a0d64fdbea33944f12d2a8be9fb4e2acb9a5cc6057c79c5363936c3a95bdbb9151b784725e9fb90724b8cb
EBUILD nodejs-25.2.1.ebuild 8044 BLAKE2B 00171d4aeed909975a4ef571ffbf56c09b5e6edf0742780c28a0d1fabe5bf12b9870056b93a985ddf2e6b852d2b42bb8b65c87bc40745ac27dddc577493a9bdb SHA512 19204010bbecec3b2c35adc8d2a200dfe7057a1f2197893741ea5d9a5e99a8e4d6cc159ecf34596701f7ebb798a6d8271efc07713051ae15b7bf577ce9ef4ddc EBUILD nodejs-25.2.1.ebuild 8153 BLAKE2B cc77a624686a09e61157a90be8301aa813e5a6c4cfb3e8c40be49c4ed246a59f6bbb9787919deb2c96f0f998c18be2444b32cfecfa6630ebddf7f46000ecb1a5 SHA512 550c1db9a6f1a47b7482aee361a77a9a3948512eb522ce2a83893c693fded8706d666ccef199993f22fcf4941fa1f03a29421857108a883a25b2814c98184b5f
MISC metadata.xml 831 BLAKE2B 4287b5f13da7f0c62751c74ed7f60f8ac083bc41e9aecafcded470498151f0ccdd50c9546d1717f5bf19aad7711664f80d8609ac7458bdc4dcd6b71f6fd7d295 SHA512 798957ac5be1a56fd2270c19cfc4fc12b9f4aa7291de3bfd0abc574a86b7d286e3421bf66027817186c1dacd9a64da322b2cc555184a5e0bafbb526fcea9942a MISC metadata.xml 831 BLAKE2B 4287b5f13da7f0c62751c74ed7f60f8ac083bc41e9aecafcded470498151f0ccdd50c9546d1717f5bf19aad7711664f80d8609ac7458bdc4dcd6b71f6fd7d295 SHA512 798957ac5be1a56fd2270c19cfc4fc12b9f4aa7291de3bfd0abc574a86b7d286e3421bf66027817186c1dacd9a64da322b2cc555184a5e0bafbb526fcea9942a

View File

@@ -4,10 +4,11 @@
EAPI=8 EAPI=8
CONFIG_CHECK="~ADVISE_SYSCALLS" CONFIG_CHECK="~ADVISE_SYSCALLS"
PYTHON_COMPAT=( python3_{13..14} ) PYTHON_COMPAT=( python3_{11..14} )
PYTHON_REQ_USE="threads(+)" PYTHON_REQ_USE="threads(+)"
inherit bash-completion-r1 check-reqs flag-o-matic linux-info ninja-utils pax-utils python-any-r1 toolchain-funcs xdg-utils inherit bash-completion-r1 check-reqs flag-o-matic linux-info ninja-utils
inherit pax-utils python-any-r1 toolchain-funcs xdg-utils
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine" DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
HOMEPAGE="https://nodejs.org/" HOMEPAGE="https://nodejs.org/"
@@ -20,11 +21,11 @@ if [[ ${PV} == *9999 ]]; then
else else
SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz" SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz"
SLOT="0/$(ver_cut 1)" SLOT="0/$(ver_cut 1)"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~x64-macos"
S="${WORKDIR}/node-v${PV}" S="${WORKDIR}/node-v${PV}"
fi fi
IUSE="cpu_flags_x86_sse2 debug doc +icu inspector lto npm pax-kernel +snapshot +ssl +system-icu +system-ssl test" IUSE="cpu_flags_x86_sse2 debug doc +icu +inspector lto npm pax-kernel +snapshot +ssl +system-icu +system-ssl test"
REQUIRED_USE="inspector? ( icu ssl ) REQUIRED_USE="inspector? ( icu ssl )
npm? ( ssl ) npm? ( ssl )
system-icu? ( icu ) system-icu? ( icu )
@@ -33,27 +34,33 @@ REQUIRED_USE="inspector? ( icu ssl )
RESTRICT="!test? ( test )" RESTRICT="!test? ( test )"
RDEPEND=">=app-arch/brotli-1.1.0:= COMMON_DEPEND=">=app-arch/brotli-1.1.0:=
dev-db/sqlite:3 dev-db/sqlite:3
>=dev-cpp/ada-3.3.0:=
>=dev-cpp/simdutf-7.3.4:=
>=dev-libs/libuv-1.51.0:= >=dev-libs/libuv-1.51.0:=
>=dev-libs/simdjson-3.10.1:= >=dev-libs/simdjson-4.0.7:=
>=net-dns/c-ares-1.34.4:= >=net-dns/c-ares-1.34.5:=
>=net-libs/nghttp2-1.64.0:= >=net-libs/nghttp2-1.66.0:=
>=net-libs/nghttp3-1.7.0:= >=net-libs/nghttp3-1.7.0:=
system-icu? ( >=dev-libs/icu-73:= ) system-icu? ( >=dev-libs/icu-73:= )
system-ssl? ( system-ssl? (
>=net-libs/ngtcp2-1.9.1:= >=net-libs/ngtcp2-1.11.0:=
>=dev-libs/openssl-1.1.1:0= >=dev-libs/openssl-3.5.4:0=
) )
!system-ssl? ( >=net-libs/ngtcp2-1.9.1:=[-gnutls] ) !system-ssl? ( >=net-libs/ngtcp2-1.11.0:=[-gnutls] )
sys-devel/gcc:*" || (
sys-devel/gcc:*
llvm-runtimes/libatomic-stub
)"
BDEPEND="${PYTHON_DEPS} BDEPEND="${PYTHON_DEPS}
app-alternatives/ninja app-alternatives/ninja
sys-apps/coreutils sys-apps/coreutils
virtual/pkgconfig virtual/pkgconfig
test? ( net-misc/curl ) test? ( net-misc/curl )
pax-kernel? ( sys-apps/elfix )" pax-kernel? ( sys-apps/elfix )"
DEPEND="${RDEPEND}" DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
# These are measured on a loong machine with -ggdb on, and only checked # These are measured on a loong machine with -ggdb on, and only checked
# if debugging flags are present in CFLAGS. # if debugging flags are present in CFLAGS.
@@ -105,7 +112,8 @@ src_prepare() {
fi fi
# We need to disable mprotect on two files when it builds Bug 694100. # We need to disable mprotect on two files when it builds Bug 694100.
use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-24.1.0-paxmarking.patch ) use pax-kernel &&
PATCHES+=( "${FILESDIR}"/${PN}-24.1.0-paxmarking.patch )
default default
} }
@@ -115,12 +123,14 @@ src_configure() {
# LTO compiler flags are handled by configure.py itself # LTO compiler flags are handled by configure.py itself
filter-lto filter-lto
# The warnings are *so* noisy and make build.logs massive
append-cxxflags $(test-flags-CXX -Wno-template-id-cdtor)
# https://bugs.gentoo.org/931514
use arm64 && append-flags $(test-flags-CXX -mbranch-protection=none)
local myconf=( local myconf=(
--ninja --ninja
# ada is not packaged yet --shared-ada
# https://github.com/ada-url/ada
# --shared-ada
--shared-brotli --shared-brotli
--shared-cares --shared-cares
--shared-libuv --shared-libuv
@@ -128,9 +138,7 @@ src_configure() {
--shared-nghttp3 --shared-nghttp3
--shared-ngtcp2 --shared-ngtcp2
--shared-simdjson --shared-simdjson
# sindutf is not packaged yet --shared-simdutf
# https://github.com/simdutf/simdutf
# --shared-simdutf
--shared-sqlite --shared-sqlite
--shared-zlib --shared-zlib
) )
@@ -175,8 +183,7 @@ src_configure() {
} }
src_compile() { src_compile() {
export NINJA_ARGS=" $(get_NINJAOPTS)" eninja -C out/Release
emake -Onone
} }
src_install() { src_install() {
@@ -212,13 +219,12 @@ src_install() {
# Clean up # Clean up
rm -f "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile} 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_exp="-or -name"
local find_name=() local find_name=()
for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \ for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \
".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \ ".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \
"*.md" "*.markdown" "*.bat" "*.cmd"; do "*.bat" "*.cmd"; do
find_name+=( ${find_exp} "${match}" ) find_name+=( ${find_exp} "${match}" )
done done