commit: cf997312d6c7b20c704e30412ed369530b5faa8a Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Sat May 3 12:49:53 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Sat May 3 14:33:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf997312
app-containers/devcontainer: bump to 0.76.0 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-containers/devcontainer/Manifest | 1 + .../devcontainer/devcontainer-0.76.0.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/app-containers/devcontainer/Manifest b/app-containers/devcontainer/Manifest index 0a1309292180..6a03c95aa4b6 100644 --- a/app-containers/devcontainer/Manifest +++ b/app-containers/devcontainer/Manifest @@ -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 diff --git a/app-containers/devcontainer/devcontainer-0.76.0.ebuild b/app-containers/devcontainer/devcontainer-0.76.0.ebuild new file mode 100644 index 000000000000..7c2b19d5ebf0 --- /dev/null +++ b/app-containers/devcontainer/devcontainer-0.76.0.ebuild @@ -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 +}
