diff --git a/app-containers/devcontainer/Manifest b/app-containers/devcontainer/Manifest index 011de8270377..aa2000a281b1 100644 --- a/app-containers/devcontainer/Manifest +++ b/app-containers/devcontainer/Manifest @@ -1 +1,2 @@ DIST devcontainer-0.80.1.tgz 612511 BLAKE2B f01d08d658aaa07ca7bae0ddf21c2baa936fc2d95d6b02d44ac68bb3f4c9ed16e7663c1515a7022747e534787bafa189b5654daa4ff281a0626b09e3e5cd5e50 SHA512 143eb0abc91ad9f56ac9b5a8a16fbed14553aa8e3a4f3c476e5c138bdcb9f13a8fdd0771ea2c0cb7f8738237dcb3ceb906d477ebec0483ea913dc2b0c63ce304 +DIST devcontainer-0.80.2.npm.tgz 612655 BLAKE2B 7b3f8982c9b2f1bc5acc68a85dc79c7e87f1aa7a07720b76ccb5178b44392682a101218fda7b483e52ac7d7a339df54338d16d7f3d71ea622e3176630824c3a3 SHA512 9413eb8303b0659968fd8a64d54e75336a11fb35a0fe2425a889c816d1a69f4952839a8b218d9f370dcbd0c8457de313146f36ba9cd6f1f5e8ee36002d862adf diff --git a/app-containers/devcontainer/devcontainer-0.80.2.ebuild b/app-containers/devcontainer/devcontainer-0.80.2.ebuild new file mode 100644 index 000000000000..95b8578100e2 --- /dev/null +++ b/app-containers/devcontainer/devcontainer-0.80.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Reference implementation of the Development Containers specification" +HOMEPAGE="https://containers.dev/ + https://github.com/devcontainers/cli/" + +SRC_URI="https://registry.npmjs.org/@devcontainers/cli/-/cli-${PV}.tgz + -> ${P}.npm.tgz" +S="${WORKDIR}/package" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + net-libs/nodejs +" +BDEPEND=" + >=net-libs/nodejs-16[npm] +" + +DOCS=( CHANGELOG.md README.md ) + +src_compile() { + # Skip, nothing to compile here. + : +} + +src_install() { + local -a my_npm_opts=( + --audit false + --color false + --foreground-scripts + --global + --offline + --omit dev + --prefix "${ED}/usr" + --progress false + --verbose + ) + npm "${my_npm_opts[@]}" install "${DISTDIR}/${P}.npm.tgz" || die "npm install failed" + + einstalldocs +}