app-containers/devcontainer: bump to 0.76.0

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-05-03 14:49:53 +02:00
parent 90976fcbeb
commit cf997312d6
2 changed files with 47 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST devcontainer-0.75.0.tgz 612016 BLAKE2B 1f526eb70dda05faceeac7b83448f732222c4170f736ce187f201c9495b811b575f3983282a35c3f4fa01be432e4b1ca4da010d8a7daefc1e991ab74bd7f18b5 SHA512 7d870064c5f5463846f5b22192206b40c70ac27a06a7cd3c3d64e802f5b236a4a0f00798f019b60a55d5ac54249e73cb4730fe1843652eb971f96a48eb07ae50
DIST devcontainer-0.76.0.tgz 612117 BLAKE2B 5259b39da32b45a64e428c1db6e4fe79af5ec5cb0c722b2f1221e0e3d2ca77e997af558bc847ec6995e69d4e14374c8daa127f274bb4cf12ec589f2437009161 SHA512 2de5c099db8f7e9af7746a7b03ae77e9af5daea50ec6be6a27de9e17f6e75607891daa4514f3f400199c66517f802347c004c8876f41d1fdeb19926980b546fe

View File

@@ -0,0 +1,46 @@
# 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}.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}.tgz" || die "npm install failed"
einstalldocs
}