diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-05 05:29:57 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-05 05:29:57 +0100 |
commit | 4e777c0133d093c9c8b992c92e0f244e2055bf71 (patch) | |
tree | d6fbeed2e9eb1b486babf5d6f4886da4bdba4dbc /net-libs | |
parent | 6f57e716c7968def6387f9db258e883125bab84f (diff) |
gentoo auto-resync : 05:05:2023 - 05:29:57
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/Manifest.gz | bin | 32470 -> 32470 bytes | |||
-rw-r--r-- | net-libs/libnetconf2/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libnetconf2/libnetconf2-2.1.31.ebuild | 2 | ||||
-rw-r--r-- | net-libs/libyang/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libyang/libyang-2.1.55.ebuild | 2 | ||||
-rw-r--r-- | net-libs/nodejs/Manifest | 2 | ||||
-rw-r--r-- | net-libs/nodejs/nodejs-20.1.0.ebuild | 252 |
7 files changed, 258 insertions, 4 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz Binary files differindex 1466e4fee79d..607e94a2daba 100644 --- a/net-libs/Manifest.gz +++ b/net-libs/Manifest.gz diff --git a/net-libs/libnetconf2/Manifest b/net-libs/libnetconf2/Manifest index 72ee3e6d4dad..d9e0afc2d25f 100644 --- a/net-libs/libnetconf2/Manifest +++ b/net-libs/libnetconf2/Manifest @@ -2,6 +2,6 @@ DIST libnetconf2-2.1.11.tar.gz 302413 BLAKE2B c5a1316b61c1d36a57d65bb556f9f3c72d DIST libnetconf2-2.1.31.tar.gz 323423 BLAKE2B 8a6a3e4e7eaf94ce2afba688555956159fb48ad83e802f187acc222dc3e3c62ab718758dfaa39abc81417895098c75cb0ee490ac64412634e88cef7389556ecb SHA512 f174aee332aa775308d8fbd7aff450af9531c94dfe76279a87acd3554f07957c468a1ef2d2c2c6a63748f87920790616426839cb9c3e0c50ec2c88c98273d8aa DIST libnetconf2-2.1.7.tar.gz 302011 BLAKE2B b83faebb8d04d9ecaa0bc3aa1fed1bc3b94388d1a6dbc8d3e8c2ff2bb73dc57a460eaf9cc7bf2d07a8e09ef612826417990d8c70bab9c58f9cb71b53766b035b SHA512 fd46a3c31a062324e6c9f2d66006ba8cd852ccb389bf8749d1d0d085b880409e1e373d1d1f2d79c1d88f5eaa72d56195889c07863d0eab1607da89484e21b86f EBUILD libnetconf2-2.1.11.ebuild 899 BLAKE2B 71e421249cde80f2e0e7894380b79657d17e392e65375c6b0e405c001ebedd91caf06ede41b7ba2a651ee1222042b5d560b0d05b843f1e6fb2ead8fc48bb78b6 SHA512 0dffcd5a2134c7955b90b3d6f1447fa9502d33d3b20615ab15210b2dc286e53eecb36a4e553990df02095b1030cf686e04027ff4bf1e8ee4be175b88389e295f -EBUILD libnetconf2-2.1.31.ebuild 900 BLAKE2B 32fd5a419ab10c7ae5d1f9fe4e420349eadda0d96f0eb5bb2ecbeb9e42446433102c40f5a1be01fc50a4dd5edff7cb623db5b48e9a74733e4f6594928df17e0a SHA512 05666c48fb53de3c48cf30b5342cd0a92d20f518d86ff7b5c688286f2ac7bbd91127bfb5c3284a979cb12a4d577702ef25e5bbe39f949fc6018b5cfa7922bec9 +EBUILD libnetconf2-2.1.31.ebuild 899 BLAKE2B cffde936ee509d861968eead570b5fc975231cdc2ca891fc5eef8cf66dabfe7b09ae468fe90c3061c2e333416fdd771e19ca7b2632d9487c30a72bc8679bbdbe SHA512 2d8e85433d0bdf7c5d32699301d26eb877da87e9de6b25e4c0b31dab16e0ffd66c0a6ddfd549835c17ec08c6eaa9026a49add12e150a9fb1cf42e3a6cc554392 EBUILD libnetconf2-2.1.7.ebuild 899 BLAKE2B cf01499bf3d24a41dc06bda655a31ec2a31b1c0197006284eac60778e4fd380100ef0688d6cfa050ca0cbac85429b7a4f52e36259350e168ef85a83fe92202d2 SHA512 13952d8764b3ed0b316ca5e7f5b0358eddd829132d33f4a0bf6cfed804e29551345afe280b24f902e26702105126fc7e0c441176f14d2681fce937abb5fb9b48 MISC metadata.xml 331 BLAKE2B cdf31d4cc5f23689277be613336e351a92be7cc1ac1aeafb1e52fa88985f1fcb9d6b71de3ee149b0b0269f9660ec357d83d7ae4b18355a1121bf3d38b957f7e9 SHA512 33da7a046f20febb4e756f73dad37dd66ba07b7da865f07ee72b08026be7f81a026960ec7d4abe558a33ffd162806456454da89733944d974cc7132555176b16 diff --git a/net-libs/libnetconf2/libnetconf2-2.1.31.ebuild b/net-libs/libnetconf2/libnetconf2-2.1.31.ebuild index c4fd71dd523d..9d6b457d97b9 100644 --- a/net-libs/libnetconf2/libnetconf2-2.1.31.ebuild +++ b/net-libs/libnetconf2/libnetconf2-2.1.31.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/CESNET/libnetconf2/archive/v${PV}.tar.gz -> ${P}.tar LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="doc test" RESTRICT="!test? ( test )" diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest index 6b8e126972d4..a7998bc5b98c 100644 --- a/net-libs/libyang/Manifest +++ b/net-libs/libyang/Manifest @@ -1,5 +1,5 @@ DIST libyang-2.0.194.tar.gz 1150705 BLAKE2B aa323b39752ac426f35e1ef17ca4a61d726c48916b740511ed03b06b8132747207dd4620842f9730ff1d05f216086310bc1634f393163067c119f5eec0aa91b1 SHA512 33d043ff696fc59c1cf5265a463b85a17459086162a03c56b1894cc524b7325ded2e14a71fce55ee70d02ea1119eef523190708c5f7b22438ab8ffd014fccefb DIST libyang-2.1.55.tar.gz 1201664 BLAKE2B b23d886163b1082c8895d1450113f364288eb6f77c4c73f7da1576877c35312b5558dbaf90e43268e18dd9348b024547c8cc4ee3a7ddabfb3762ffe67c47dc17 SHA512 dd0b58aec7e2d84f62636c62c9e7f67f0b4819e8d5ce9236874a3531607aa6fb58ccdcf537534eae8bfa700c37b8e3524be659929f4e7e03f8f67968bc352cb4 EBUILD libyang-2.0.194-r1.ebuild 803 BLAKE2B de09c48bf684fb9f7af8c46a84e7ac896e4dc91d386f69051209026ea02d745b9c8a44202eccce6f44f16d5dec7b9831ac73d067cc615a8ec0ac90cbb4623205 SHA512 ccbfa21e011b26c04b12f80765a2b6bc561c04d89c9f7987086a0aaad0ca242c2eabcbcf5a1aab889db1fb281e93b4ae34be610e58284ef48c6674e1ffd20f8b -EBUILD libyang-2.1.55.ebuild 805 BLAKE2B cd15f8c1d942beca2d24cd95e2d7408185cf18db7837ffe3c57cd75ec5c063fcf2fba852d539acb2b66b643e85ca2e48e9f5c8773e7b92e20a724234ad2cff37 SHA512 5a7ba4b3979c81f9a17fd96e392e673d2fea5e43b0b78b4ff94943a36fdb5174369fa7657a131afdd64daec4d4abbdcc3a2d16c3804910d3a45c8c9f77502b72 +EBUILD libyang-2.1.55.ebuild 804 BLAKE2B 07b3e55536898b232b880033d71e764db6fa2f33b4c40fa8fa853c35a7ab25e6f12171e70523f6b0e47b63c57a53129e4768e93b15e7759098364f6d6e1941d7 SHA512 88f6e74fe4c7c279ffdb427fd5c4d6d39e351787b589baf5c306476ea22f6bb85f3fb4b07f23df1bf1901ee3905439b35644a2b6d27763fe47cabe28b9200f4e MISC metadata.xml 327 BLAKE2B ea8b33be859f8dd94b8aeff9bec39e90b9b0c2984c7df56de4ff7b0c39006723b721119b6fde6fe120f9d423559e8450ecbee3dbe1a65705f9c3e55c34eba1e3 SHA512 14c3ef2d8d242a8bcf7786419afe8b723455603bf187dad10f619b67c9c30bc0e0ab681974b294a4c73f0a32ca68366a1b7b2a730f6d3362af348765c0da1e31 diff --git a/net-libs/libyang/libyang-2.1.55.ebuild b/net-libs/libyang/libyang-2.1.55.ebuild index 76927273f0fa..e49292e8b77c 100644 --- a/net-libs/libyang/libyang-2.1.55.ebuild +++ b/net-libs/libyang/libyang-2.1.55.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/CESNET/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" IUSE="doc test" RESTRICT="!test? ( test )" diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest index 16102a6e79bb..db2946bfc0f1 100644 --- a/net-libs/nodejs/Manifest +++ b/net-libs/nodejs/Manifest @@ -9,9 +9,11 @@ DIST node-v14.21.3.tar.xz 34508116 BLAKE2B 6fa001be10499ff2dfc920690dda9df25423f DIST node-v16.20.0.tar.xz 35546884 BLAKE2B 5bdb1fb7365e07f13d0a58a8d052d11efaadcf1b0792af0517b78b1ecf01e50eabe26e31588ae410ee63b7494a4eb9d23f70d4dd157a452d0bbf8bd548865255 SHA512 b155acdff0244307afcc334844f113b5c321f7764ebb69326d60a6a79d0e0d38d55257a38b815f5933aa4071e6a788e01c466476ef012cec648c84d74adda406 DIST node-v18.16.0.tar.xz 40467860 BLAKE2B b16749c0212f3aa196ec9fc0f999a023adeb9031b3332939330ba5a3edb5bc2ed6dc21bf861509696e19ed0cc5d5c54bb882018f0e54eb1ad8e9b0ba3bb64bff SHA512 608ce5db97ce2d851f381c7991f635c5e0927ae79037649b482c7e197479341b7c6560644e25f4d65ece8aa80c5763a0e044349a5be210fa33fbbf97a96462bd DIST node-v20.0.0.tar.xz 41279796 BLAKE2B 1df8785ca22dea15c6c1f19ec2d3b3d704f9cda6cf13d6e8e8fbbf853515871f18a11a4bbe5ed765434f6f5606975c5254e1826f2e506165ff937ef16d326262 SHA512 cda981227398c1a9023a2212c0d5351eadfedd19d58776dcc470e3ba0213a178b626c37d48fa52548ddd5a70d26a18b66c266856321a0af9ada2b1eac7ee9fd8 +DIST node-v20.1.0.tar.xz 41501496 BLAKE2B 03731915e734f0fd5cfb94fd05f4bd88ca015c5d5a91666d091499daa1a1b3193a3b4667ccec99ce1442ef6b402838705c42e785275dd327bf72adaae9487f50 SHA512 06b88a3ab3f1c089f0d38fb504083bed9a2d27b1b07633dbd40b02bcb3c0a22f6d04ab70abc394fdfb14ac978e974d97656bffeb27e0e47b0c95e672b925067c EBUILD nodejs-14.21.3.ebuild 7089 BLAKE2B 5a039629b268d5b88ecb324d1a39415c9ebd810264aaae3c699a8a28333d2330fa904d7ba6295f53db6beb8941f7568415d5af576c7c289a2837f7f53596a4c2 SHA512 c51e35fd2936f3397e14dfab0aea7ac0db20734f4358d2cf804bfaa3173683ed58e47feb71f1c647467e1f69a1be5cf88893899263af0192c9613038c3ae55e1 EBUILD nodejs-16.20.0.ebuild 6528 BLAKE2B b82dcfd7a92a82a581fafb9e02e3690523aaf939032727d5f96b0e1f16c450e1eda2d5f9397c4d7a8d2c0d7cf4a31333f3bbd0a4831a5e631b7e89b85290605d SHA512 a2352ef380bb83582e8852e7245e599971fab5e3cd13a66c1e9f43018d43e31a128b6e6ac1a2b7db3aa03c6c27a65caa5c80b62605602c308c9dd1b572c6d6d1 EBUILD nodejs-18.16.0.ebuild 7339 BLAKE2B 3e302299fd5da5dac7adca2ec0ee315cf9eb19dfd1c1385b54e00ce15fefdd345f6240d933abb14852ac7dd5f2c319137db368b44f9419685b8ee9c49f0f1619 SHA512 405eda8e1e52d0ed09f415eba79da91b46b66e6de882267dc8cbf8eb4a65fd94d5e838a9fd47fe9a14a5c74db078b94c46bc698bd924f507f020f6a7536594ba EBUILD nodejs-20.0.0.ebuild 7275 BLAKE2B cf845e10bda6b1b0e51cee80d31bd88b96b4288acd04ec29e0b8c4ddbad0627ae6bd4dc2146eff3be6c7c0f6f016c9b7240fb4ad992bb069281ad31564ff2d8a SHA512 9726f7a3c93f9a9db42e0478d9fb30532b236296f2818b55aa449e15abf7f0276922deee46da95f7e86fd489d2de7ab7de23e5a17c5acb06781b775ef8bf9592 +EBUILD nodejs-20.1.0.ebuild 7266 BLAKE2B 67f8cc61e1bd863a12cd8f54e2342390d17a6a538dd55268483968cc4c80ac02af892c6816162026dd42d626817a3318615b038229fa6ef286ac1c79ccb87967 SHA512 f374449c601f3df6b6821c3b64a42e305b982fd95bdee4abb13bf9597c58a058822b170c505f3df763cb4df3e7200959f08c3deb548acaeaefb105680a7a67c4 EBUILD nodejs-99999999.ebuild 7215 BLAKE2B 979eb0315c6acd1c93842d09752ac793d5386197c67991158f52918620ac0b7ac3e98a3e8cd087918a43bdd94251f5851bcc8cb7757dda08193e912748c9bd34 SHA512 9f804d7707910731176e2f04850af52092158a9d732cc5e82df278d5323536ca86bc401dd3527886f08c19821ddc2c76e446ccb05b7352b07460b8003529d08e MISC metadata.xml 898 BLAKE2B a67e85ea95c272b8d18746254894b058433267a74b5bad66bac7d78c7db4cec297e06bc87fad3ee836fc91749aaee2c11c88b48b6ba033c36fa79132552faa81 SHA512 d498b288058e7282c5e9a28d4ba192a2ac5ef796eb1edf644aea41cab2d0eb6036426b188dd9af7eeb2eaf04b84011460cb3c3695ca8dde5667add21d9963c97 diff --git a/net-libs/nodejs/nodejs-20.1.0.ebuild b/net-libs/nodejs/nodejs-20.1.0.ebuild new file mode 100644 index 000000000000..a0749b8aad06 --- /dev/null +++ b/net-libs/nodejs/nodejs-20.1.0.ebuild @@ -0,0 +1,252 @@ +# Copyright 1999-2023 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 ninja-utils 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="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 )" + +RESTRICT="!test? ( test )" + +RDEPEND=">=app-arch/brotli-1.0.9:= + >=dev-libs/libuv-1.44.0:= + >=net-dns/c-ares-1.17.2:= + >=net-libs/nghttp2-1.41.0:= + sys-libs/zlib + system-icu? ( >=dev-libs/icu-67:= ) + system-ssl? ( >=dev-libs/openssl-1.1.1:0= ) + sys-devel/gcc:*" +BDEPEND="${PYTHON_DEPS} +${NINJA_DEPEND} + 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() { + (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-flags '-flto*' + # 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 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() { + eninja -C out/${BUILDTYPE} +} + +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 + + 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 "${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 +} |